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

Car in UnityDemo Project does not move using PythonClient scripts #2631

Closed
sebastian-ruiz opened this issue Apr 28, 2020 · 4 comments · Fixed by #2937
Closed

Car in UnityDemo Project does not move using PythonClient scripts #2631

sebastian-ruiz opened this issue Apr 28, 2020 · 4 comments · Fixed by #2937

Comments

@sebastian-ruiz
Copy link

I am running PR #2328 to avoid the Unity CarDemo project from crashing on startup.

On Windows10 , running Unity 2019.2.17f1.
I am running the UnityDemo project.
I get 100s of logs in the unity console log:

Control Mode:  Keyboard Vehicle=PhysXCar
UnityEngine.Debug:Log(Object)

None of the python scripts in the PythonClient/car folder make the car in the Unity demo project move. I can however move the car using the WASD keys and the arrow keys.

When running a Python script, I get the following messages in Unity repeatedly:

Control Mode:  Keyboard Vehicle=PhysXCar
Control Mode:  API Vehicle=PhysXCar
Control Mode:  Keyboard Vehicle=PhysXCar
Control Mode:  API Vehicle=PhysXCar
...

When I try and run hello_car.py and running the Unity demo, the python script reports 'connected', however the car doesn't move. The same happens with the drive_straight.py script.

@higho51420
Copy link

i meet the same problem. do you solve it ?

@ruzicam
Copy link

ruzicam commented May 31, 2020

Did someone solved it?

@higho51420
Copy link

I didn't solve it. I don't use latest version, i use airsim 1.2.1,unity 2018.2.14. no problem. I have no idea to solve it.

@HackBrettHB
Copy link
Contributor

Any update?

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

Successfully merging a pull request may close this issue.

5 participants