Add ENGINE_COOLANT_TEMP property for the emulator
Test: atest CarPropertyManagerTest Bug: 231209215 Change-Id: Ic80ced50e9a59041d60da1968564a59ce5a2115f
This commit is contained in:
parent
d755652919
commit
551bc88864
1 changed files with 10 additions and 0 deletions
|
@ -713,6 +713,16 @@ const std::vector<ConfigDeclaration> kVehicleProperties = {
|
|||
},
|
||||
.initialValue = {.int32Values = {toInt(VehicleIgnitionState::ON)}}},
|
||||
|
||||
{.config =
|
||||
{
|
||||
.prop = toInt(VehicleProperty::ENGINE_COOLANT_TEMP),
|
||||
.access = VehiclePropertyAccess::READ,
|
||||
.changeMode = VehiclePropertyChangeMode::CONTINUOUS,
|
||||
.minSampleRate = 1.0f,
|
||||
.maxSampleRate = 10.0f,
|
||||
},
|
||||
.initialValue = {.floatValues = {75.0f}}},
|
||||
|
||||
{.config =
|
||||
{
|
||||
.prop = toInt(VehicleProperty::ENGINE_OIL_LEVEL),
|
||||
|
|
Loading…
Reference in a new issue