Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run the simulator headless ? #112

Closed
yannbouteiller opened this issue Nov 5, 2019 · 4 comments
Closed

How to run the simulator headless ? #112

yannbouteiller opened this issue Nov 5, 2019 · 4 comments

Comments

@yannbouteiller
Copy link

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?

@madratman
Copy link
Contributor

@yannbouteiller
Copy link
Author

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.

@madratman
Copy link
Contributor

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.

@yannbouteiller
Copy link
Author

Ok thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants