@@ -51,7 +51,7 @@ message HostVehicleData
5151 //
5252 optional BaseMoving location_rmse = 2 ;
5353
54- // The basic parameters of the vehicle.
54+ // The basic parameters and overall states of the vehicle.
5555 //
5656 optional VehicleBasics vehicle_basics = 3 ;
5757
@@ -88,7 +88,7 @@ message HostVehicleData
8888 repeated VehicleAutomatedDrivingFunction vehicle_automated_driving_function = 12 ;
8989
9090 //
91- // \brief The absolute base parameters of the vehicle.
91+ // \brief Base parameters and overall states of the vehicle.
9292 //
9393 message VehicleBasics
9494 {
@@ -100,6 +100,55 @@ message HostVehicleData
100100 // Paragraph 42 of the German Road Traffic Admission Regulations (StVZO).
101101 //
102102 optional double curb_weight = 1 ;
103+
104+ // The operating state of the vehicle.
105+ //
106+ optional OperatingState operating_state = 2 ;
107+
108+ // Possible operating states of the vehicle.
109+ // It is user specific which states are used and how their transitions work.
110+ //
111+ enum OperatingState
112+ {
113+ // The operating state is unknown.
114+ //
115+ OPERATING_STATE_UNKNOWN = 0 ;
116+
117+ // The operating state is another one.
118+ //
119+ OPERATING_STATE_OTHER = 1 ;
120+
121+ // The minimum electrical state of the vehicle (and its ECUs).
122+ // Usually the driver has left the vehicle a while ago.
123+ //
124+ OPERATING_STATE_SLEEP = 2 ;
125+
126+ // Cabin lights and entertainment are off. The vehicle can not be driven.
127+ // Some ECUs are still operating and not in their minimum electrical sate.
128+ // Usually the driver has left (and closed) the vehicle recently.
129+ //
130+ OPERATING_STATE_STANDBY = 3 ;
131+
132+ // Some features of the vehicle are available e.g. cabin lights.
133+ // Entertainment is off and the vehicle can not be driven.
134+ // Usually the driver wants to enter or leave the vehicle.
135+ //
136+ OPERATING_STATE_BOARDING = 4 ;
137+
138+ // Entertainment, navigation or similiar systems can be used by the driver.
139+ // The vehicle can not be driven.
140+ // Usually the driver sits in the vehicle before or after a drive.
141+ //
142+ OPERATING_STATE_ENTERTAINMENT = 5 ;
143+
144+ // The electrical state that is necessary to drive the vehicle.
145+ //
146+ OPERATING_STATE_DRIVING = 6 ;
147+
148+ // The electrical state that is necessary for analysis and diagnostics.
149+ //
150+ OPERATING_STATE_DIAGNOSTIC = 7 ;
151+ }
103152 }
104153
105154 //
0 commit comments