The GForces sensor reports linear acceleration components acting on the vehicle, in the vehicle frame. Raw and smoothed variants are available.
Components use the vehicle coordinate system (+X left, +Y backward, +Z up).
The sensor is available to use from
Python API
. It has no extensions.tech_sensors.create* / get*Readings Lua API.
This sensor does not use extensions.tech_sensors.create*. Request it through a tech client (BeamNGpy, ROS, or similar) with a vehicle SensorRequest containing {type = 'GForces'}.
{type = 'GForces'}
Args:
None.
Returns: response(table):
Was this article helpful?