microsoft / AirSim

Open source simulator for autonomous vehicles built on Unreal Engine / Unity, from Microsoft AI & Research
https://microsoft.github.io/AirSim/
Other
16.47k stars 4.59k forks source link

the specific expression of orientation update #3824

Open weigangwen opened 3 years ago

weigangwen commented 3 years ago

Question

What's your question?

When using Python API to control cars, I set car controls.steering = - 1, and then set car control. steering = 1, why does the car still keep turning left after setting steering = 1?

Include context on what you are trying to achieve

I want to know how to update the orientation, and the specific expression to compute the steering angle.

Context details

Include details of what you already did to find answers

I've found the section on orientation update in this paper--AirSim: High-Fidelity Visual and Physical Simulation for Autonomous Vehicles. But I want to get more details. image

rajat2004 commented 3 years ago

Please provide more details regarding the exact version, platform, etc. such as Linux or Windows, built from source or release binary, Unity or UE4. Also, did you call client.setCarControls(car_control) after updating the steering? A simple Pyhton script to reproduce would be helpful as well