Skip to content

Commit f52aeb3

Browse files
authored
Merge pull request #679 from MaikolDrechsler/host_vehicle_kinematic_THI
Update host vehicle data with kinematics data
2 parents b13e49c + a79ff72 commit f52aeb3

File tree

1 file changed

+55
-4
lines changed

1 file changed

+55
-4
lines changed

osi_hostvehicledata.proto

Lines changed: 55 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,10 @@ message HostVehicleData
8787
//
8888
repeated VehicleAutomatedDrivingFunction vehicle_automated_driving_function = 12;
8989

90+
// Interface regarding the vehicle motion.
91+
//
92+
optional VehicleMotion vehicle_motion = 13;
93+
9094
//
9195
// \brief Base parameters and overall states of the vehicle.
9296
//
@@ -319,22 +323,69 @@ message HostVehicleData
319323
// Because of this the values can differ from the "true" values calculated out of
320324
// GroundTruth::proj_string, GroundTruth::MovingObject::BaseMoving::position, GroundTruth::host_vehicle_id.
321325
//
326+
// This data uses the reference point coincident with the center (x,y,z) of the bounding box.
327+
//
322328
message VehicleLocalization
323329
{
324-
// Most accurate position information of the vehicle available in the on-board network.
325-
// The reference point for position, that is, the center (x,y,z) of the bounding box
326-
// in context to the global coordinate system.
330+
// Most accurate position information of the vehicle available in the on-board network
331+
// measured in context to the global coordinate system.
327332
//
328333
optional Vector3d position = 1;
329334

330335
// Most accurate orientation information of the vehicle available in the on-board network
331-
// in context to the global coordinate system.
336+
// measured in context to the global coordinate system.
332337
//
333338
optional Orientation3d orientation = 2;
334339

335340
// Most accurate geodetic information of the vehicle available in the on-board network.
336341
//
337342
optional GeodeticPosition geodetic_position = 3;
343+
344+
}
345+
346+
//
347+
// \brief Current calculated and estimated motion related information.
348+
//
349+
// This message contains the most accurate information the vehicle knows about its motion
350+
// including vehicle dynamics and control related information available in the on-board network,
351+
// which can differ from the "true" values calculated out of the ground truth.
352+
//
353+
// This data uses the reference point coincident with the middle (in x, y and z) of rear axle
354+
// under neutral load conditions as defined in \c MovingObject::VehicleAttributes::bbcenter_to_rear.
355+
//
356+
message VehicleMotion
357+
{
358+
// Most accurate position of the vehicle available in the on-board network
359+
// measured in the cartesian global coordinate system.
360+
//
361+
optional Vector3d position = 1;
362+
363+
// Most accurate orientation information of the vehicle available in the on-board network
364+
// measured on the vehicle coordinate system in context of the global inertial system.
365+
//
366+
optional Orientation3d orientation = 2;
367+
368+
// Most accurate velocity information of the vehicle, available in the on-board network
369+
// measured on the vehicle coordinate system in context of the global inertial system.
370+
//
371+
optional Vector3d velocity = 3;
372+
373+
// Most accurate orientation rate of the vehicle, available in the on-board network
374+
// measured on the vehicle coordinate system in context of the global inertial system.
375+
//
376+
optional Orientation3d orientation_rate = 4;
377+
378+
// Most accurate acceleration information of the vehicle, available in the on-board network
379+
// measured on the vehicle coordinate system in context of the global inertial system.
380+
//
381+
optional Vector3d acceleration = 5;
382+
383+
// Most accurate curvature currently followed by vehicle and available in the on-board network
384+
//
385+
// Unit: m^-1
386+
//
387+
optional double current_curvature = 6;
388+
338389
}
339390

340391
//

0 commit comments

Comments
 (0)