Skip to content

Commit 5786f9c

Browse files
ThomasNaderBMWpmai
authored andcommitted
Added VehicleBrakeSystem and changed to VehicleSteering
Changes done to be open for SetLevel4to5 Requirements. Signed-off-by: Thomas Nader <Thomas.Nader@bmw.de>
1 parent 0035b69 commit 5786f9c

File tree

1 file changed

+39
-8
lines changed

1 file changed

+39
-8
lines changed

osi_hostvehicledata.proto

Lines changed: 39 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,21 @@ message HostVehicleData
5555
//
5656
optional VehiclePowertrain vehicle_powertrain = 4;
5757

58-
// Interface regarding the steering wheel.
58+
// Interface regarding the brake system
5959
//
60-
optional VehicleSteeringWheel vehicle_steering_wheel = 5;
60+
optional VehicleBrakeSystem vehicle_brake_system = 5;
61+
62+
// Interface regarding the steering.
63+
//
64+
optional VehicleSteering vehicle_steering = 6;
6165

6266
// Interface regarding the wheels.
6367
//
64-
optional VehicleWheels vehicle_wheels = 6;
68+
optional VehicleWheels vehicle_wheels = 7;
6569

6670
// Interface regarding the localization.
6771
//
68-
optional VehicleLocalization vehicle_localization = 7;
72+
optional VehicleLocalization vehicle_localization = 8;
6973

7074
//
7175
// \brief The absolute base parameters of the vehicle.
@@ -87,9 +91,15 @@ message HostVehicleData
8791
//
8892
message VehiclePowertrain
8993
{
90-
// The positions of the pedals.
94+
// Position of the acceleration pedal.
95+
// Range: 0-1 (Unpressed - fully pressed)
96+
//
97+
optional double pedal_position_acceleration = 1;
98+
99+
// Position of the clutch pedal.
100+
// Range: 0-1 (Unpressed - fully pressed)
91101
//
92-
optional Pedalry pedalry = 1;
102+
optional double pedal_position_clutch = 2;
93103

94104
// The actual gear of the transmission.
95105
// For example, a gear lever can be on "D" and the transmission on "4", but not the
@@ -101,11 +111,11 @@ message HostVehicleData
101111
// - negative: reverse mode (generally -1, but few vehicles have more than 1
102112
// reverse mode gears)
103113
//
104-
optional int32 gear_transmission = 2;
114+
optional int32 gear_transmission = 3;
105115

106116
// Information about the motor(s).
107117
//
108-
repeated Motor motor = 3;
118+
repeated Motor motor = 4;
109119

110120
//
111121
// \brief A description of the motor states.
@@ -155,6 +165,27 @@ message HostVehicleData
155165
}
156166
}
157167

168+
//
169+
// \brief The focus here is on the description of the brake system.
170+
//
171+
message VehicleBrakeSystem
172+
{
173+
// Position of the brake pedal.
174+
// Range: 0-1 (Unpressed - fully pressed)
175+
//
176+
optional double pedal_position_brake = 1;
177+
}
178+
179+
//
180+
// \brief The focus here is on the description of the steering train.
181+
//
182+
message VehicleSteering
183+
{
184+
// Description of the steering wheel.
185+
//
186+
optional VehicleSteeringWheel vehicle_steering_wheel = 1;
187+
}
188+
158189
//
159190
// \brief The focus here is on the description of the wheels.
160191
//

0 commit comments

Comments
 (0)