Skip to content

wheel_data

Gombaris edited this page Oct 17, 2023 · 2 revisions

wheel data structure

These are run-time wheel data, which can user get by using wheel() function (returns object with these parameters).

property description
ssteer, csteer sine/cosine of the steering angle
saxle, caxle swing-type suspension: sine/cosine of the axle angle
linear suspension: caxle contains the height above or below the rest position, saxle is 0
rotation rotation angle [rad]
rpm revolutions per minute
contact true if the wheel has a contact with ground
blocked true if the wheel isn't spinning
axle_inverted true if axle rotation is inverted
material ID of material, on which the wheel is currently located