Actuatable values
These values can also be read.
Name |
Description |
Range |
gas |
How much the vehicle should accelerate. A value of 1 is full throttle. Negative values can be used as a simplified way to go reverse. |
[-0.5 ; 1] |
steering |
Desired wheel orientation (not steering wheel). Negative is to the right. |
[-30 deg ; +30 deg] |
braking |
How much the vehicle should brake. A value of 1 is full braking force. |
[0 ; 1] |
Readable values
Name |
Description |
Unit |
true_position |
Perfect read (unrealistic) of the car's position (at the center of mass). Directly copied from the car's internal rigidbody. |
[m,m,m] |
true_velocity |
Perfect read (unrealistic) of the car's velocity. Directly copied from the car's internal rigidbody. |
km/h |
true_compass |
Perfect read (unrealistic) of the car's orientation (on the XY plane, with 0 -> +X axis, counterclockwise). Directly copied from the car's internal rigidbody. |
deg |
battery_level |
For Electric power trains: Charge level of the battery. |
% (0-100) |