microsoft / AirSim

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

Info: Is tire force, rack torque or slip angle available? #1095

Open NextSim opened 6 years ago

NextSim commented 6 years ago

I know there are some physics variables available, but does anyone know specifically if tire force, rack torque or slip angle is available?

If there isn't an API for it I can certainly add it if the data is available internally.

Looks like the kinematicsState has some info like linear velocity and angular acceleration, so I could add the info there.

sytelus commented 6 years ago

Currently AirSim uses WheeledVehicle class from Unreal engine to simulate car. That in turn uses PhysX. So you might want to look in to this class and PhysX to see if these quantities are available.

Unreal doc: http://api.unrealengine.com/INT/API/Plugins/PhysXVehicles/AWheeledVehicle/index.html https://docs.unrealengine.com/en-US/Engine/Physics/Vehicles/VehicleUserGuide

PhysX doc: https://docs.nvidia.com/gameworks/content/gameworkslibrary/physx/guide/Manual/Vehicles.html