Loading automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h +7 −0 Original line number Diff line number Diff line Loading @@ -253,6 +253,13 @@ const ConfigDeclaration kVehicleProperties[]{ .changeMode = VehiclePropertyChangeMode::STATIC, }, .initialValue = {.stringValue = "Toy Vehicle"}}, {.config = { .prop = toInt(VehicleProperty::INFO_EXTERIOR_DIMENSIONS), .access = VehiclePropertyAccess::READ, .changeMode = VehiclePropertyChangeMode::STATIC, }, .initialValue = {.floatValues = {1776, 4950, 2008, 2140, 2984, 1665, 1667, 11800}}}, {.config = { .prop = toInt(VehicleProperty::PERF_VEHICLE_SPEED), Loading automotive/vehicle/2.0/types.hal +22 −0 Original line number Diff line number Diff line Loading @@ -297,6 +297,28 @@ enum VehicleProperty : int32_t { | VehiclePropertyType:INT32 | VehicleArea:SEAT), /** * Exterior dimensions of vehicle. * * int32Values[0] = height * int32Values[1] = length * int32Values[2] = width * int32Values[3] = width including mirrors * int32Values[4] = wheel base * int32Values[5] = track width front * int32Values[6] = track width rear * int32Values[7] = curb to curb turning radius * * @change_mode VehiclePropertyChangeMode:STATIC * @access VehiclePropertyAccess:READ * @unit VehicleUnit:MILLIMETER */ INFO_EXTERIOR_DIMENSIONS = ( 0x010B | VehiclePropertyGroup:SYSTEM | VehiclePropertyType:INT32_VEC | VehicleArea:GLOBAL), /** * Current odometer value of the vehicle * Loading Loading
automotive/vehicle/2.0/default/impl/vhal_v2_0/DefaultConfig.h +7 −0 Original line number Diff line number Diff line Loading @@ -253,6 +253,13 @@ const ConfigDeclaration kVehicleProperties[]{ .changeMode = VehiclePropertyChangeMode::STATIC, }, .initialValue = {.stringValue = "Toy Vehicle"}}, {.config = { .prop = toInt(VehicleProperty::INFO_EXTERIOR_DIMENSIONS), .access = VehiclePropertyAccess::READ, .changeMode = VehiclePropertyChangeMode::STATIC, }, .initialValue = {.floatValues = {1776, 4950, 2008, 2140, 2984, 1665, 1667, 11800}}}, {.config = { .prop = toInt(VehicleProperty::PERF_VEHICLE_SPEED), Loading
automotive/vehicle/2.0/types.hal +22 −0 Original line number Diff line number Diff line Loading @@ -297,6 +297,28 @@ enum VehicleProperty : int32_t { | VehiclePropertyType:INT32 | VehicleArea:SEAT), /** * Exterior dimensions of vehicle. * * int32Values[0] = height * int32Values[1] = length * int32Values[2] = width * int32Values[3] = width including mirrors * int32Values[4] = wheel base * int32Values[5] = track width front * int32Values[6] = track width rear * int32Values[7] = curb to curb turning radius * * @change_mode VehiclePropertyChangeMode:STATIC * @access VehiclePropertyAccess:READ * @unit VehicleUnit:MILLIMETER */ INFO_EXTERIOR_DIMENSIONS = ( 0x010B | VehiclePropertyGroup:SYSTEM | VehiclePropertyType:INT32_VEC | VehicleArea:GLOBAL), /** * Current odometer value of the vehicle * Loading