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

Launch Airsim simulation running in Unity from Python/bash script #4919

Open
sandilyasg opened this issue Jan 28, 2024 · 0 comments
Open

Launch Airsim simulation running in Unity from Python/bash script #4919

sandilyasg opened this issue Jan 28, 2024 · 0 comments

Comments

@sandilyasg
Copy link

Question

How to launch Airsim simulation running in Unity from Python/bash script without manually clicking the "Play" button in Unity each time?

Include context on what you are trying to achieve

I have a custom Airsim simulation environment set up in Unity. I am using my ROS wrapper with this Airsim-Unity setup and I would like to sequentially run multiple experiments without having to click play in the Unity editor manually and shut it down once the experiment is over. How do I do this with a bash/python script?

Context details

OS: Linux Ubuntu 18.04, latest Airsim commit 6688d27, Python 3.6.9, Unity version 2022.3.13f1

Include details of what you already did to find answers

I found Unity Standalone Player command line arguments and Command-line arguments but I am unsure how to use this with my Airsim setup.

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

1 participant