Loading automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h +18 −1 Original line number Original line Diff line number Diff line Loading @@ -300,7 +300,24 @@ const ConfigDeclaration kVehicleProperties[]{ .maxSampleRate = 10.0f, .maxSampleRate = 10.0f, }, }, .initialValue = {.floatValues = {0.0f}}}, .initialValue = {.floatValues = {0.0f}}}, {.config = { .prop = toInt(VehicleProperty::PERF_STEERING_ANGLE), .access = VehiclePropertyAccess::READ, .changeMode = VehiclePropertyChangeMode::CONTINUOUS, .minSampleRate = 0.0f, .maxSampleRate = 10.0f, }, .initialValue = {.floatValues = {0.0f}}}, {.config = { .prop = toInt(VehicleProperty::PERF_REAR_STEERING_ANGLE), .access = VehiclePropertyAccess::READ, .changeMode = VehiclePropertyChangeMode::CONTINUOUS, .minSampleRate = 0.0f, .maxSampleRate = 10.0f, }, .initialValue = {.floatValues = {0.0f}}}, { { .config = .config = { { Loading automotive/vehicle/2.0/types.hal +16 −1 Original line number Original line Diff line number Diff line Loading @@ -362,7 +362,7 @@ enum VehicleProperty : int32_t { | VehicleArea:GLOBAL), | VehicleArea:GLOBAL), /** /** * Steering angle of the vehicle * Front bicycle model steering angle for vehicle * * * Angle is in degrees. Left is negative. * Angle is in degrees. Left is negative. * * Loading @@ -376,6 +376,21 @@ enum VehicleProperty : int32_t { | VehiclePropertyType:FLOAT | VehiclePropertyType:FLOAT | VehicleArea:GLOBAL), | VehicleArea:GLOBAL), /** * Rear bicycle model steering angle for vehicle * * Angle is in degrees. Left is negative. * * @change_mode VehiclePropertyChangeMode:CONTINUOUS * @access VehiclePropertyAccess:READ * @unit VehicleUnit:DEGREES */ PERF_REAR_STEERING_ANGLE = ( 0x0210 | VehiclePropertyGroup:SYSTEM | VehiclePropertyType:FLOAT | VehicleArea:GLOBAL), /** /** * Temperature of engine coolant * Temperature of engine coolant * * Loading Loading
automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h +18 −1 Original line number Original line Diff line number Diff line Loading @@ -300,7 +300,24 @@ const ConfigDeclaration kVehicleProperties[]{ .maxSampleRate = 10.0f, .maxSampleRate = 10.0f, }, }, .initialValue = {.floatValues = {0.0f}}}, .initialValue = {.floatValues = {0.0f}}}, {.config = { .prop = toInt(VehicleProperty::PERF_STEERING_ANGLE), .access = VehiclePropertyAccess::READ, .changeMode = VehiclePropertyChangeMode::CONTINUOUS, .minSampleRate = 0.0f, .maxSampleRate = 10.0f, }, .initialValue = {.floatValues = {0.0f}}}, {.config = { .prop = toInt(VehicleProperty::PERF_REAR_STEERING_ANGLE), .access = VehiclePropertyAccess::READ, .changeMode = VehiclePropertyChangeMode::CONTINUOUS, .minSampleRate = 0.0f, .maxSampleRate = 10.0f, }, .initialValue = {.floatValues = {0.0f}}}, { { .config = .config = { { Loading
automotive/vehicle/2.0/types.hal +16 −1 Original line number Original line Diff line number Diff line Loading @@ -362,7 +362,7 @@ enum VehicleProperty : int32_t { | VehicleArea:GLOBAL), | VehicleArea:GLOBAL), /** /** * Steering angle of the vehicle * Front bicycle model steering angle for vehicle * * * Angle is in degrees. Left is negative. * Angle is in degrees. Left is negative. * * Loading @@ -376,6 +376,21 @@ enum VehicleProperty : int32_t { | VehiclePropertyType:FLOAT | VehiclePropertyType:FLOAT | VehicleArea:GLOBAL), | VehicleArea:GLOBAL), /** * Rear bicycle model steering angle for vehicle * * Angle is in degrees. Left is negative. * * @change_mode VehiclePropertyChangeMode:CONTINUOUS * @access VehiclePropertyAccess:READ * @unit VehicleUnit:DEGREES */ PERF_REAR_STEERING_ANGLE = ( 0x0210 | VehiclePropertyGroup:SYSTEM | VehiclePropertyType:FLOAT | VehicleArea:GLOBAL), /** /** * Temperature of engine coolant * Temperature of engine coolant * * Loading