AirSim icon indicating copy to clipboard operation
AirSim copied to clipboard

Question: AirSim Car - Max steering angle?

Open dehavenm opened this issue 8 years ago • 2 comments

I'm working on a ROS node to interface a ROS path planning system with a car in AirSim. In order to precisely steer the car, I would need to convert the desired angular velocity (coming through the ROS topic for velocity commands) to a value for the AirSim steering command (scaled to a value between 1 and -1).

For that, I would need to know the maximum steering angle or minimum turn radius for the AirSim car model (which must have been set up in the code somewhere). Does anyone know where AirSim keeps those parameters? Thank you,

dehavenm avatar Sep 15 '18 18:09 dehavenm

As far as I know, the only way to change maximum wheel turning angle is in the wheel data for the vehicle: https://github.com/Microsoft/AirSim/tree/master/Unreal/Plugins/AirSim/Content/VehicleAdv/Vehicle/WheelData

I you're using a source build, you can modify the wheel data parameters in the UE4 editor.

TritonSailor avatar Sep 15 '18 18:09 TritonSailor

Thank you, now I just have to see if I can find out how to do anything with .uasset files.

dehavenm avatar Sep 15 '18 19:09 dehavenm