mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "Add vehicle curb weight property"
This commit is contained in:
committed by
Android (Google) Code Review
commit
afbb9baf07
@@ -205,4 +205,5 @@ enum VehicleProperty {
|
||||
EV_CHARGE_TIME_REMAINING = 289410883,
|
||||
EV_REGENERATIVE_BRAKING_STATE = 289410884,
|
||||
TRAILER_PRESENT = 289410885,
|
||||
VEHICLE_CURB_WEIGHT = 289410886,
|
||||
}
|
||||
|
||||
@@ -2815,4 +2815,29 @@ enum VehicleProperty {
|
||||
*/
|
||||
TRAILER_PRESENT = 0x0F45 + 0x10000000 + 0x01000000
|
||||
+ 0x00400000, // VehiclePropertyGroup:SYSTEM,VehicleArea:GLOBAL,VehiclePropertyType:INT32
|
||||
|
||||
/**
|
||||
* Vehicle’s curb weight
|
||||
*
|
||||
* Returns the vehicle's curb weight in kilograms. Curb weight is
|
||||
* the total weight of the vehicle with standard equipment and all
|
||||
* necessary operating consumables such as motor oil,transmission oil,
|
||||
* brake fluid, coolant, air conditioning refrigerant, and weight of
|
||||
* fuel at nominal tank capacity, while not loaded with either passengers
|
||||
* or cargo.
|
||||
*
|
||||
* configArray[0] is used to specify the vehicle’s gross weight in kilograms.
|
||||
* The vehicle’s gross weight is the maximum operating weight of the vehicle
|
||||
* as specified by the manufacturer including the vehicle's chassis, body, engine,
|
||||
* engine fluids, fuel, accessories, driver, passengers and cargo but excluding
|
||||
* that of any trailers.
|
||||
*
|
||||
* @change_mode VehiclePropertyChangeMode:STATIC
|
||||
* @access VehiclePropertyAccess:READ
|
||||
* @unit VehicleUnit:KILOGRAM
|
||||
*/
|
||||
|
||||
VEHICLE_CURB_WEIGHT = 0x0F46 + 0x10000000 + 0x01000000
|
||||
+ 0x00400000, // VehiclePropertyGroup:SYSTEM,VehicleArea:GLOBAL,VehiclePropertyType:INT32
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user