Skip to content
lsl.devlsl.devLSL Dev

VehicleVectorParam

Constants in the VehicleVectorParam enum.

All constant groups

At a glance, from the LSL definitions
integer VEHICLE_ANGULAR_FRICTION_TIMESCALE = 17;  // Vehicle vector parameter specifying the timescales (range [0.07, infinity) seconds per axis) for the exponential decay of angular velocity about the vehicle's preferred axes (at, left, up).integer VEHICLE_ANGULAR_MOTOR_DIRECTION = 19;  // Vehicle vector parameter specifying the direction and magnitude of the angular velocity (in radians per second) that the vehicle's angular motor attempts to achieve.integer VEHICLE_LINEAR_FRICTION_TIMESCALE = 16;  // Vehicle vector parameter specifying the timescales (range [0.07, infinity) seconds per axis) for the exponential decay of linear velocity along the vehicle's preferred axes (at, left, up).integer VEHICLE_LINEAR_MOTOR_DIRECTION = 18;  // Vehicle vector parameter specifying the direction and magnitude of the linear velocity (range m/s) that the vehicle's linear motor attempts to achieve.integer VEHICLE_LINEAR_MOTOR_OFFSET = 20;  // Vehicle vector parameter specifying the offset from the vehicle's center of mass where the linear motor force is applied.

Constants

ConstantTypeValueDescription
VEHICLE_ANGULAR_FRICTION_TIMESCALEinteger17Vehicle vector parameter specifying the timescales (range [0.07, infinity) seconds per axis) for the exponential decay of angular velocity about the vehicle's preferred axes (at, left, up).
VEHICLE_ANGULAR_MOTOR_DIRECTIONinteger19Vehicle vector parameter specifying the direction and magnitude of the angular velocity (in radians per second) that the vehicle's angular motor attempts to achieve.
VEHICLE_LINEAR_FRICTION_TIMESCALEinteger16Vehicle vector parameter specifying the timescales (range [0.07, infinity) seconds per axis) for the exponential decay of linear velocity along the vehicle's preferred axes (at, left, up).
VEHICLE_LINEAR_MOTOR_DIRECTIONinteger18Vehicle vector parameter specifying the direction and magnitude of the linear velocity (range [0, 30] m/s) that the vehicle's linear motor attempts to achieve.
VEHICLE_LINEAR_MOTOR_OFFSETinteger20Vehicle vector parameter specifying the offset from the vehicle's center of mass where the linear motor force is applied.

Used by