mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 22:04:26 +00:00
Merge "Add ENGINE_COOLANT_TEMP property for the emulator" into tm-qpr-dev
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user