Skip to content

Commit f4be538

Browse files
Create new VehicleMotion message
In order to have position and orientation in the same coordinate system as the velocity and the acceleration (rear axle) a new message (VehicleMotion) was included. Signed-off-by: Maikol Drechsler <maikol.drechsler@carissma.eu>
1 parent 4791864 commit f4be538

File tree

1 file changed

+44
-18
lines changed

1 file changed

+44
-18
lines changed

osi_hostvehicledata.proto

+44-18
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
//
@@ -311,10 +315,10 @@ message HostVehicleData
311315
}
312316

313317
//
314-
// \brief Current calculated and estimated location, velocity and acceleration that can be based on GNSS, IMU and related navigation sensors.
318+
// \brief Current calculated and estimated location that can be based on GNSS and related navigation sensors.
315319
// This message does not contain the individual sensor values of the sensor technology.
316320
//
317-
// This message contains the most accurate information the vehicle knows about its position, velocity and acceleration
321+
// This message contains the most accurate information the vehicle knows about its position
318322
// available in the on-board network.
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.
@@ -335,31 +339,53 @@ message HostVehicleData
335339
// Most accurate geodetic information of the vehicle available in the on-board network.
336340
//
337341
optional GeodeticPosition geodetic_position = 3;
342+
343+
}
344+
345+
//
346+
// \brief Current calculated and estimated motion related information.
347+
//
348+
// This message contains the most accurate information the vehicle knows about its motion
349+
// including vehicle dynamics and control related information available in the on-board network,
350+
// which can differ from the "true" values calculated out of the ground truth.
351+
//
352+
// This data uses the reference point coincident with the midpoint of rear axle, defined by the following coordinates:
353+
// x: Position of rear axle
354+
// y: Vehicle longitudinal centerline
355+
// z: Wheel center of rear axle
356+
//
357+
message VehicleMotion
358+
{
359+
// Most accurate position of the vehicle available in the on-board network
360+
// measured in the cartesian global coordinate system.
361+
//
362+
optional Vector3d position = 1;
363+
364+
// Most accurate orientation information of the vehicle available in the on-board network
365+
// measured on the vehicle coordinate system in context of the global inertial system.
366+
//
367+
optional Orientation3d orientation = 2;
338368

339-
// Most accurate curvature currently followed by vehicle and available in the on-board network,
340-
// measured from a localization system.
369+
// Most accurate curvature currently followed by vehicle and available in the on-board network
341370
//
342-
// Reference point: car body point coincident with the midpoint of rear axle in design configuration, defined by the following coordinates:
343-
// x: Position of rear axle
344-
// y: Vehicle longitudinal centerline
345-
// z: Wheel center of rear axle
371+
// Unit: m^-1
346372
//
347-
optional double current_curvature = 4;
373+
optional double current_curvature = 3;
348374

349-
// Most accurate orientation rate of the vehicle, available in the on-board network.
350-
// Measured along the vehicle orientation in context of the global inertial system.
375+
// Most accurate orientation rate of the vehicle, available in the on-board network
376+
// measured on the vehicle coordinate system in context of the global inertial system.
351377
//
352-
optional Orientation3d orientation_rate = 5;
378+
optional Orientation3d orientation_rate = 4;
353379

354-
// Most accurate velocity information of the vehicle, available in the on-board network.
355-
// Measured along the vehicle orientation in context of the global inertial system.
380+
// Most accurate velocity information of the vehicle, available in the on-board network
381+
// measured on the vehicle coordinate system in context of the global inertial system.
356382
//
357-
optional Vector3d velocity = 6;
383+
optional Vector3d velocity = 5;
358384

359-
// Most accurate acceleration information of the vehicle, available in the on-board network.
360-
// Measured along the vehicle orientation in context of the global inertial system.
385+
// Most accurate acceleration information of the vehicle, available in the on-board network
386+
// measured on the vehicle coordinate system in context of the global inertial system.
361387
//
362-
optional Vector3d acceleration = 7;
388+
optional Vector3d acceleration = 6;
363389

364390
}
365391

0 commit comments

Comments
 (0)