mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Merge "Add STEERING_ANGLE property"
This commit is contained in:
committed by
Android (Google) Code Review
commit
cc7dc2f54d
@@ -321,6 +321,21 @@ enum VehicleProperty : int32_t {
|
||||
| VehiclePropertyType:FLOAT
|
||||
| VehicleArea:GLOBAL),
|
||||
|
||||
/**
|
||||
* Steering angle of the vehicle
|
||||
*
|
||||
* Angle is in degrees. Left is negative.
|
||||
*
|
||||
* @change_mode VehiclePropertyChangeMode:CONTINUOUS
|
||||
* @access VehiclePropertyAccess:READ
|
||||
* @unit VehicleUnit:DEGREES
|
||||
*/
|
||||
PERF_STEERING_ANGLE = (
|
||||
0x0209
|
||||
| VehiclePropertyGroup:SYSTEM
|
||||
| VehiclePropertyType:FLOAT
|
||||
| VehicleArea:GLOBAL),
|
||||
|
||||
/**
|
||||
* Temperature of engine coolant
|
||||
*
|
||||
@@ -2421,13 +2436,15 @@ enum VehicleUnit : int32_t {
|
||||
NANO_SECS = 0x50,
|
||||
SECS = 0x53,
|
||||
YEAR = 0x59,
|
||||
KILOPASCAL = 0x70,
|
||||
|
||||
// Electrical Units
|
||||
WATT_HOUR = 0x60,
|
||||
MILLIAMPERE = 0x61,
|
||||
MILLIVOLT = 0x62,
|
||||
MILLIWATTS = 0x63,
|
||||
|
||||
KILOPASCAL = 0x70,
|
||||
DEGREES = 0x80,
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user