mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 21:37:44 +00:00
Merge "Add INFO_MODEL and INFO_MODEL_YEAR default values" into rvc-qpr-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
0e2072ce4b
@@ -264,6 +264,20 @@ const ConfigDeclaration kVehicleProperties[]{
|
||||
.changeMode = VehiclePropertyChangeMode::STATIC,
|
||||
},
|
||||
.initialValue = {.stringValue = "Toy Vehicle"}},
|
||||
{.config =
|
||||
{
|
||||
.prop = toInt(VehicleProperty::INFO_MODEL),
|
||||
.access = VehiclePropertyAccess::READ,
|
||||
.changeMode = VehiclePropertyChangeMode::STATIC,
|
||||
},
|
||||
.initialValue = {.stringValue = "Speedy Model"}},
|
||||
{.config =
|
||||
{
|
||||
.prop = toInt(VehicleProperty::INFO_MODEL_YEAR),
|
||||
.access = VehiclePropertyAccess::READ,
|
||||
.changeMode = VehiclePropertyChangeMode::STATIC,
|
||||
},
|
||||
.initialValue = {.int32Values = {2020}}},
|
||||
{.config =
|
||||
{
|
||||
.prop = toInt(VehicleProperty::INFO_EXTERIOR_DIMENSIONS),
|
||||
|
||||
Reference in New Issue
Block a user