DO NOT MERGE Add missing CAR_MIRROR properties to DefaultConfig.h
Test: Built. Bug: 241161716 Change-Id: I53a6686fec62df205139d8e994237c56f0da8428
This commit is contained in:
parent
c9d82cd796
commit
16bf94da56
1 changed files with 70 additions and 0 deletions
|
@ -1072,6 +1072,76 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
|
|||
.areaId = DOOR_REAR, .minInt32Value = 0, .maxInt32Value = 1}}},
|
||||
.initialValue = {.int32Values = {0}}},
|
||||
|
||||
{.config = {.prop = toInt(VehicleProperty::MIRROR_Z_POS),
|
||||
.access = VehiclePropertyAccess::READ_WRITE,
|
||||
.changeMode = VehiclePropertyChangeMode::ON_CHANGE,
|
||||
.areaConfigs =
|
||||
{VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_LEFT),
|
||||
.minInt32Value = -3,
|
||||
.maxInt32Value = 3},
|
||||
VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_RIGHT),
|
||||
.minInt32Value = -3,
|
||||
.maxInt32Value = 3},
|
||||
VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_CENTER),
|
||||
.minInt32Value = -3,
|
||||
.maxInt32Value = 3}}},
|
||||
.initialValue = {.int32Values = {0}}},
|
||||
|
||||
{.config = {.prop = toInt(VehicleProperty::MIRROR_Z_MOVE),
|
||||
.access = VehiclePropertyAccess::READ_WRITE,
|
||||
.changeMode = VehiclePropertyChangeMode::ON_CHANGE,
|
||||
.areaConfigs =
|
||||
{VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_LEFT),
|
||||
.minInt32Value = -1,
|
||||
.maxInt32Value = 1},
|
||||
VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_RIGHT),
|
||||
.minInt32Value = -1,
|
||||
.maxInt32Value = 1},
|
||||
VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_CENTER),
|
||||
.minInt32Value = -1,
|
||||
.maxInt32Value = 1}}},
|
||||
.initialValue = {.int32Values = {0}}},
|
||||
|
||||
{.config = {.prop = toInt(VehicleProperty::MIRROR_Y_POS),
|
||||
.access = VehiclePropertyAccess::READ_WRITE,
|
||||
.changeMode = VehiclePropertyChangeMode::ON_CHANGE,
|
||||
.areaConfigs =
|
||||
{VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_LEFT),
|
||||
.minInt32Value = -3,
|
||||
.maxInt32Value = 3},
|
||||
VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_RIGHT),
|
||||
.minInt32Value = -3,
|
||||
.maxInt32Value = 3},
|
||||
VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_CENTER),
|
||||
.minInt32Value = -3,
|
||||
.maxInt32Value = 3}}},
|
||||
.initialValue = {.int32Values = {0}}},
|
||||
|
||||
{.config = {.prop = toInt(VehicleProperty::MIRROR_Y_MOVE),
|
||||
.access = VehiclePropertyAccess::READ_WRITE,
|
||||
.changeMode = VehiclePropertyChangeMode::ON_CHANGE,
|
||||
.areaConfigs =
|
||||
{VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_LEFT),
|
||||
.minInt32Value = -1,
|
||||
.maxInt32Value = 1},
|
||||
VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_RIGHT),
|
||||
.minInt32Value = -1,
|
||||
.maxInt32Value = 1},
|
||||
VehicleAreaConfig{.areaId = toInt(VehicleAreaMirror::DRIVER_CENTER),
|
||||
.minInt32Value = -1,
|
||||
.maxInt32Value = 1}}},
|
||||
.initialValue = {.int32Values = {0}}},
|
||||
|
||||
{.config = {.prop = toInt(VehicleProperty::MIRROR_LOCK),
|
||||
.access = VehiclePropertyAccess::READ_WRITE,
|
||||
.changeMode = VehiclePropertyChangeMode::ON_CHANGE},
|
||||
.initialValue = {.int32Values = {1}}},
|
||||
|
||||
{.config = {.prop = toInt(VehicleProperty::MIRROR_FOLD),
|
||||
.access = VehiclePropertyAccess::READ_WRITE,
|
||||
.changeMode = VehiclePropertyChangeMode::ON_CHANGE},
|
||||
.initialValue = {.int32Values = {1}}},
|
||||
|
||||
{.config = {.prop = toInt(VehicleProperty::WINDOW_LOCK),
|
||||
.access = VehiclePropertyAccess::READ_WRITE,
|
||||
.changeMode = VehiclePropertyChangeMode::ON_CHANGE,
|
||||
|
|
Loading…
Reference in a new issue