Merge "Add ENGINE_COOLANT_TEMP property for the emulator" into tm-qpr-dev

This commit is contained in:
Sean Hong
2022-06-13 17:23:16 +00:00
committed by Android (Google) Code Review

View File

@@ -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),