drive status
This topic is unavailable for Lexus vehicles.
Description
Provides details on throttle, brake and steering on a vehicle ride.
| Field | datatype | Description |
|---|---|---|
| utime | string | Best estimate of when this message is from, host clock in UTC |
| throttleValid | bool | True if valid 'throttle' was ever received |
| throttleUtime | string | time of 'throttle' (microsec) |
| throttle | double | forward 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. |
| brakeValid | bool | True if valid 'brake' was ever received |
| brakeUtime | string | time of 'brake' (microsec) |
| steerValid | bool | True if valid 'steer' was ever received |
| steerUtime | string | time of 'steer' (microsec) |
| steer | double | wheel angle, left is positive and right is negative. Reports the last known state. |
| shiftValid | bool | True if valid 'shift' was ever received |
| shiftUtime | string | True if valid 'shift' was ever received |
| shift | int32 | see below for SHIFT types. Reports the last known state. |
| modeValid | bool | True if valid 'mode' was ever received |
| modeUtime | string | time of 'mode' (microsec) |
| mode | int32 | see below for MODE types. Reports the last known state. |
| vehicle | string | unique vehicle name the data is associated to. |
| topic | string | type 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"
}