Skip to content

Commit 3b48a48

Browse files
ThomasNaderBMWpmai
authored andcommitted
Introducing Operating States
The operating state of the vehicle. Signed-off-by: Thomas Nader <Thomas.Nader@bmw.de>
1 parent b658b02 commit 3b48a48

File tree

1 file changed

+33
-2
lines changed

1 file changed

+33
-2
lines changed

osi_hostvehicledata.proto

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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,37 @@ message HostVehicleData
100100
// Paragraph 42 of the German Road Traffic Admission Regulations (StVZO).
101101
//
102102
optional double curb_weight = 1;
103+
104+
// The operating status of the vehicle.
105+
//
106+
optional OperatingStatus operating_status = 2;
107+
108+
// Possible operating stati of the vehicle.
109+
//
110+
enum OperatingStatus
111+
{
112+
// The operating status is unknown.
113+
//
114+
OPERATING_STATUS_UNKNOWN = 0;
115+
116+
// The operating status is another one.
117+
//
118+
OPERATING_STATUS_OTHER = 1;
119+
120+
// The minimum electrical state the vehicle reaches after a while.
121+
// Usually the driver has left the car a few hours ago.
122+
//
123+
OPERATING_STATUS_OFF = 2;
124+
125+
// Some electrical consumers are operating e.g. interior lights or radio.
126+
// Usually the driver sits in the car before or after a drive.
127+
//
128+
OPERATING_STATUS_READY = 3;
129+
130+
// The electrical state that is necessary to drive the vehicle.
131+
//
132+
OPERATING_STATUS_ON = 4;
133+
}
103134
}
104135

105136
//

0 commit comments

Comments
 (0)