Skip to content

Commit 00fc1b0

Browse files
ThomasNaderBMWNader Thomas
authored andcommitted
Update osi_hostvehicledata.proto
Signed-off-by: Nader Thomas <a442105@europe.bmw.corp>
1 parent 89d3511 commit 00fc1b0

File tree

1 file changed

+58
-45
lines changed

1 file changed

+58
-45
lines changed

osi_hostvehicledata.proto

Lines changed: 58 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ package osi3;
1414

1515
// \image html OSI_HostVehicle.svg
1616
//
17-
// All coordinates and orientations are relative to the global ground truth
18-
// coordinate system.
17+
// All coordinates and orientations are relative to the global ground truth coordinate system.
1918
//
2019
message HostVehicleData
2120
{
@@ -73,7 +72,7 @@ message HostVehicleDataClass
7372

7473
// Interface regarding the navigation.
7574
//
76-
optional VehicleGEOPosition vehicle_geo_position = 6;
75+
optional VehicleLocalization vehicle_localization = 6;
7776

7877
//
7978
// \brief The absolute base parameters of the vehicle.
@@ -82,10 +81,10 @@ message HostVehicleDataClass
8281
{
8382
// The total mass of the vehicle (curb weight).
8483
//
85-
// Unit: [kg]
84+
// Unit: kg
8685
//
8786
// \par Reference:
88-
// Paragraph 42 of the StVZO (ger. Straßenverkehrs-Zulassungs-Ordnung; engl. Road Traffic Regulations)
87+
// Paragraph 42 of the German Road Traffic Admission Regulations (StVZO).
8988
//
9089
optional double curb_weight = 1;
9190
}
@@ -109,13 +108,13 @@ message HostVehicleDataClass
109108

110109
// Rounds per minute of the engine. RPM can be from E-Motor/ Engine.
111110
//
112-
// Unit: [1/min]
111+
// Unit: 1/min
113112
//
114113
optional double motor_rpm = 2;
115114

116115
// Torque in Nm. It can either be from Engine/E-Motor or combined Torque values.
117116
//
118-
// Unit: [N*m]
117+
// Unit: N*m
119118
//
120119
optional double motor_torque = 3;
121120

@@ -139,21 +138,20 @@ message HostVehicleDataClass
139138
//
140139
// \brief A description for the positions of the pedals.
141140
//
142-
//
143141
message Pedalry
144142
{
145143
// Position of the acceleration-pedal.
146-
// Unit: [0-1] (Unpressed - fully pressed)
144+
// Range: 0-1 (Unpressed - fully pressed)
147145
//
148146
optional double pedal_position_acceleration = 1;
149147

150148
// Position of the brake-pedal.
151-
// Unit: [0-1] (Unpressed - fully pressed)
149+
// Range: 0-1 (Unpressed - fully pressed)
152150
//
153151
optional double pedal_position_brake = 2;
154152

155153
// Position of the clutch-pedal.
156-
// Unit: [0-1] (Unpressed - fully pressed)
154+
// Range: 0-1 (Unpressed - fully pressed)
157155
//
158156
optional double pedal_position_clutch = 3;
159157
}
@@ -168,21 +166,21 @@ message HostVehicleDataClass
168166
// Angle of the steering wheel.
169167
// 0=Central (Straight); Left>0; 0>Right.
170168
//
171-
// Unit: [rad]
169+
// Unit: rad
172170
//
173171
optional double angle = 1;
174172

175173
// Angle-speed of the steering wheel.
176174
// 0=Central (Straight); Left>0; 0>Right.
177175
//
178-
// Unit: [rad/s]
176+
// Unit: rad/s
179177
//
180178
optional double angular_speed = 2;
181179

182180
// Torque of the steering wheel to the hand.
183181
// 0=Central (Straight); Left>0; 0>Right.
184182
//
185-
// Unit: [N*m]
183+
// Unit: N*m
186184
//
187185
optional double torque = 3;
188186
}
@@ -211,7 +209,7 @@ message HostVehicleDataClass
211209
// Ued here is the dry friction coefficient of the paired materials (see reference).
212210
// Dimensionless.
213211
//
214-
// Unit: []
212+
// Unit: -
215213
//
216214
// \par References:
217215
// - http://adaptivemap.ma.psu.edu/websites/6_friction/dry_friction/dryfriction.html
@@ -221,35 +219,35 @@ message HostVehicleDataClass
221219
// Contact point of the mid of the tire tread with the world.
222220
// Absolute coordinates (x, y, z).
223221
//
224-
// Unit: [m]
222+
// Unit: m
225223
//
226224
optional Vector3d contact_point = 3;
227225

228226
// Contains the rotational speed of each wheel per second.
229227
//
230-
// Unit: [rad/s]
228+
// Unit: rad/s
231229
//
232230
optional double rotational_speed = 4;
233231

234232
// Contains the steering angle of each wheel.
235233
// Right < 0; 0 = straight; 0 < left.
236234
//
237-
// Unit: [rad]
235+
// Unit: rad
238236
//
239237
optional double steering_angle = 5;
240238

241239
// Contains the relativ position of the center of the wheel to the center of the bounding-box.
242240
// Possibility to get the spring deflection and the camber (https://en.wikipedia.org/wiki/Camber_angle).
243241
//
244-
// Unit: [m]
242+
// Unit: m
245243
//
246244
optional MountingPosition position = 6;
247245

248246
// Contains the longitudinal slip of the tire.
249247
// \par References:
250248
// - https://www.kfz-tech.de/Biblio/Formelsammlung/Schlupf.htm
251249
//
252-
// Unit: [%]
250+
// Unit: %
253251
//
254252
optional double slip = 7;
255253

@@ -288,40 +286,55 @@ message HostVehicleDataClass
288286
//
289287
// \brief This message contains all the necessary information of the localization solution.
290288
//
291-
message VehicleGEOPosition
289+
message VehicleLocalization
292290
{
293-
// Longitude in decimal degrees.
294291
//
295-
// Unit: [degree]
292+
// \brief This message contains information about the vehicle's knowledge about its own cartesian position.
296293
//
297-
optional double longitude = 1;
294+
message CartesianPosition
295+
{
296+
// To be discussed.
297+
}
298298

299-
// Latitude in decimal degrees.
300299
//
301-
// Unit: [degree]
300+
// \brief This message contains information about the vehicle's georeferenced positioning solution component.
302301
//
303-
optional double latitude = 2;
302+
message GeoreferencedPosition
303+
{
304+
// Longitude in decimal degrees regarding WGS84.
305+
//
306+
// Unit: Degree
307+
//
308+
optional double longitude = 1;
304309

305-
// Altitude in meters.
306-
//
307-
// Unit: [m]
308-
//
309-
optional double altitude = 3;
310+
// Latitude in decimal degrees regarding WGS84.
311+
//
312+
// Unit: Degree
313+
//
314+
optional double latitude = 2;
310315

311-
// Heading in degrees.
312-
//
313-
// Unit: [degree]
314-
//
315-
optional double heading = 4;
316+
// Height above sea level regarding EGM96.
317+
//
318+
// Unit: m
319+
//
320+
optional double altitude = 3;
316321

317-
// Accuracy of localization measurement measured in percentage of the units
318-
//
319-
// Unit: [%]
320-
//
321-
optional double localization_accuracy = 5;
322+
// To be discussed:
323+
// Heading in decimal degrees.
324+
//
325+
// Unit: Degree
326+
//
327+
// optional double heading = 4;
322328

323-
// Number of satellites
324-
//
325-
optional int32 number_of_satellites = 6;
329+
// Accuracy of localization measurement in percentage of the units.
330+
//
331+
// Unit: %
332+
//
333+
// optional double localization_accuracy = 5;
334+
335+
// Number of satellites.
336+
//
337+
// optional int32 number_of_satellites = 6;
338+
}
326339
}
327340
}

0 commit comments

Comments
 (0)