mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "Add configArray for Gear_Selection in google VHAL" into rvc-qpr-dev
This commit is contained in:
@@ -688,6 +688,12 @@ const ConfigDeclaration kVehicleProperties[]{
|
||||
.prop = toInt(VehicleProperty::GEAR_SELECTION),
|
||||
.access = VehiclePropertyAccess::READ,
|
||||
.changeMode = VehiclePropertyChangeMode::ON_CHANGE,
|
||||
.configArray = {(int)VehicleGear::GEAR_PARK,
|
||||
(int)VehicleGear::GEAR_NEUTRAL,
|
||||
(int)VehicleGear::GEAR_REVERSE,
|
||||
(int)VehicleGear::GEAR_DRIVE, (int)VehicleGear::GEAR_1,
|
||||
(int)VehicleGear::GEAR_2, (int)VehicleGear::GEAR_3,
|
||||
(int)VehicleGear::GEAR_4, (int)VehicleGear::GEAR_5},
|
||||
},
|
||||
.initialValue = {.int32Values = {toInt(VehicleGear::GEAR_PARK)}}},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user