mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Add TURN_SIGNAL_STATE to enum VehicleProperty
While we have defined values for turn signal state, we were missing a property id to allow it to be reported by the vehicle. Test: local build Change-Id: Ib741c717f62df8edaa187413e9114411c55b0420
This commit is contained in:
@@ -295,6 +295,20 @@ enum VehicleProperty: int32_t {
|
||||
| VehiclePropertyType:BOOLEAN
|
||||
| VehicleArea:GLOBAL),
|
||||
|
||||
/*
|
||||
* State of the vehicles turn signals
|
||||
*
|
||||
* Values from VehicleTurnSignal
|
||||
*
|
||||
* @change_mode VehiclePropertyChangeMode:ON_CHANGE
|
||||
* @access VehiclePropertyAccess:READ
|
||||
*/
|
||||
TURN_SIGNAL_STATE = (
|
||||
0x0408
|
||||
| VehiclePropertyGroup:SYSTEM
|
||||
| VehiclePropertyType:INT32
|
||||
| VehicleArea:GLOBAL),
|
||||
|
||||
/*
|
||||
* Fan speed setting
|
||||
*
|
||||
@@ -2420,8 +2434,9 @@ enum SubscribeFlags {
|
||||
UNDEFINED = 0x0,
|
||||
|
||||
/*
|
||||
* Subscribe to event that was originated in vehicle HAL (most luckly this
|
||||
* event came from vehicle itself). */
|
||||
* Subscribe to event that was originated in vehicle HAL
|
||||
* (most likely this event came from the vehicle itself).
|
||||
*/
|
||||
HAL_EVENT = 0x1,
|
||||
|
||||
/*
|
||||
@@ -2457,9 +2472,7 @@ struct SubscribeOptions {
|
||||
*/
|
||||
float sampleRate;
|
||||
|
||||
/*
|
||||
* Flags that indicates what kind of events listen to.
|
||||
*/
|
||||
/* Flags that indicate what kind of events listen to. */
|
||||
SubscribeFlags flags;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user