Skip to content

Commit bdcaeae

Browse files
ThomasNaderBMWpmai
authored andcommitted
Extension of possible states
Extension of possible states. Signed-off-by: Thomas Nader <[email protected]>
1 parent 59c99bd commit bdcaeae

File tree

1 file changed

+25
-8
lines changed

1 file changed

+25
-8
lines changed

osi_hostvehicledata.proto

Lines changed: 25 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@ message HostVehicleData
101101
//
102102
optional double curb_weight = 1;
103103

104-
// The operating state of the vehicle.
104+
// The operating state of the vehicle from an user's perspective.
105105
//
106106
optional OperatingState operating_state = 2;
107107

108-
// Possible operating states of the vehicle.
108+
// Possible operating states of the vehicle from an user's perspective.
109109
//
110110
enum OperatingState
111111
{
@@ -117,19 +117,36 @@ message HostVehicleData
117117
//
118118
OPERATING_STATE_OTHER = 1;
119119

120-
// The minimum electrical state the vehicle reaches after a while.
121-
// Usually the driver has left the car a few hours ago.
120+
// The minimum electrical state of the vehicle (and its ECUs).
121+
// Usually the driver has left the car a while ago.
122122
//
123-
OPERATING_STATE_OFF = 2;
123+
OPERATING_STATE_SLEEP = 2;
124124

125-
// Some electrical consumers are operating e.g. interior lights or radio.
125+
// Cabin lights and entertainment are off. The vehicle can not be driven.
126+
// Some ECUs are still operating and not in their minimum electrical sate.
127+
// Usually the driver has left the car recently.
128+
//
129+
OPERATING_STATE_OFF = 3;
130+
131+
// Some features of the vehicle are available e.g. cabin lights.
132+
// Entertainment is off and the vehicle can not be driven.
133+
// Usually the driver wants to enter or leave the car.
134+
//
135+
OPERATING_STATE_BOARDING = 4;
136+
137+
// Entertainment, navigation or similiar systems can be used by the driver.
138+
// The vehicle can not be driven.
126139
// Usually the driver sits in the car before or after a drive.
127140
//
128-
OPERATING_STATE_READY = 3;
141+
OPERATING_STATE_ENTERTAINMENT = 5;
129142

130143
// The electrical state that is necessary to drive the vehicle.
131144
//
132-
OPERATING_STATE_ON = 4;
145+
OPERATING_STATE_DRIVING = 6;
146+
147+
// The electrical state that is necessary for analysis and diagnostics.
148+
//
149+
OPERATING_STATE_DIAGNOSTIC = 7;
133150
}
134151
}
135152

0 commit comments

Comments
 (0)