Skip to main content

drive status

This topic is unavailable for Lexus vehicles.

Description

Provides details on throttle, brake and steering on a vehicle ride.

FielddatatypeDescription
utimestringBest estimate of when this message is from, host clock in UTC
throttleValidboolTrue if valid 'throttle' was ever received
throttleUtimestringtime of 'throttle' (microsec)
throttledoubleforward is positive and reverse is negative [-1, 1]. Reports the last known state. Throttle does not exist when brake is applied, in which case 'brake' value is available in place of throttle.
brakeValidboolTrue if valid 'brake' was ever received
brakeUtimestringtime of 'brake' (microsec)
steerValidboolTrue if valid 'steer' was ever received
steerUtimestringtime of 'steer' (microsec)
steerdoublewheel angle, left is positive and right is negative. Reports the last known state.
shiftValidboolTrue if valid 'shift' was ever received
shiftUtimestringTrue if valid 'shift' was ever received
shiftint32see below for SHIFT types. Reports the last known state.
modeValidboolTrue if valid 'mode' was ever received
modeUtimestringtime of 'mode' (microsec)
modeint32see below for MODE types. Reports the last known state.
vehiclestringunique vehicle name the data is associated to.
topicstringtype of telemetry data (eg: In this case DRIVE STATUS).

Shift Types

    UNKNOWN = 0;
PARK = 1;
REVERSE = 2;
NEUTRAL = 3;
DRIVE = 4;

Mode Types

    UNAVAILABLE = 0;
MANUAL = 1;
DRIVE BY WIRE = 2;

Topic/channel string

For Realtime API

Pass the comma seperated topic name as a query param.

/.vehicle.{vehiclename}.DRIVE_STATUS

For Batch API - TBD

To access the Batch API, you need to include the vehicle name and topic name as path parameters in the URL.

/vehicles/{vehiclename}/topics/DRIVE_STATUS

JSON Output

Order of fields might differ

{
"brake": 0.00009999999747378752,
"brakeUtime": "1683642289633069",
"brakeValid": true,
"mode": 1,
"modeUtime": "1683642289306016",
"modeValid": true,
"shift": 1,
"shiftUtime": "1683642289640148",
"shiftValid": true,
"steer": 0.5892319083213806,
"steerUtime": "1683642289635678",
"steerValid": true,
"throttleUtime": "1683642289633069",
"throttleValid": true,
"topic": "DRIVE_STATUS",
"utime": "1683642289646659",
"vehicle": "vehiclename"
}