microsoft/AirSim-NeurIPS2019-Drone-Racing

How to run the simulator headless ?

yannbouteiller opened this issue · 4 comments

Hello, I have been looking at these issues:
#3
microsoft/AirSim#1224
But these didn't help. I need to use the simulator without the rendering window (and ideally without any rendering at all for tier 1), without using the docker or anything that requires sudo. How can we do this, please?

No it doesn't seem to have any effect, but setting DISPLAY='' instead seems to work in the sense that it doesn't pop a window.

This doesn't disable the rendering for tier 1 though.

yes, that is an option as well. $ DISPLAY= ./AirSimExe.sh -opengl4 is the oneliner you need.
To completely kill everything for tier 1, you can use ./AirSimExe.sh -nullrhi - not that if you call simGetImages with -nullrhi option, it would result in an error.

Ok thanks !