@@ -55,17 +55,21 @@ message HostVehicleData
55
55
//
56
56
optional VehiclePowertrain vehicle_powertrain = 4 ;
57
57
58
- // Interface regarding the steering wheel.
58
+ // Interface regarding the brake system
59
59
//
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 ;
61
65
62
66
// Interface regarding the wheels.
63
67
//
64
- optional VehicleWheels vehicle_wheels = 6 ;
68
+ optional VehicleWheels vehicle_wheels = 7 ;
65
69
66
70
// Interface regarding the localization.
67
71
//
68
- optional VehicleLocalization vehicle_localization = 7 ;
72
+ optional VehicleLocalization vehicle_localization = 8 ;
69
73
70
74
//
71
75
// \brief The absolute base parameters of the vehicle.
@@ -87,9 +91,15 @@ message HostVehicleData
87
91
//
88
92
message VehiclePowertrain
89
93
{
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)
91
101
//
92
- optional Pedalry pedalry = 1 ;
102
+ optional double pedal_position_clutch = 2 ;
93
103
94
104
// The actual gear of the transmission.
95
105
// For example, a gear lever can be on "D" and the transmission on "4", but not the
@@ -101,11 +111,11 @@ message HostVehicleData
101
111
// - negative: reverse mode (generally -1, but few vehicles have more than 1
102
112
// reverse mode gears)
103
113
//
104
- optional int32 gear_transmission = 2 ;
114
+ optional int32 gear_transmission = 3 ;
105
115
106
116
// Information about the motor(s).
107
117
//
108
- repeated Motor motor = 3 ;
118
+ repeated Motor motor = 4 ;
109
119
110
120
//
111
121
// \brief A description of the motor states.
@@ -155,6 +165,27 @@ message HostVehicleData
155
165
}
156
166
}
157
167
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
+
158
189
//
159
190
// \brief The focus here is on the description of the wheels.
160
191
//
0 commit comments