Skip to content

Commit 285dff9

Browse files
MaikolDrechslerpmai
authored andcommitted
Include reference to bbcenter_to_rear
According to discussion in CCB 2023-01-16: References to bbcenter_to_rear in description of VehicleMotion were included; Fields were reorder to match derivative structure; Comment were added to VehicleLocalization to indicate the reference point. Signed-off-by: Maikol Drechsler <maikol.drechsler@carissma.eu>
1 parent eca9ece commit 285dff9

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

osi_hostvehicledata.proto

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -323,10 +323,11 @@ message HostVehicleData
323323
// Because of this the values can differ from the "true" values calculated out of
324324
// GroundTruth::proj_string, GroundTruth::MovingObject::BaseMoving::position, GroundTruth::host_vehicle_id.
325325
//
326+
// This data uses the reference point coincident with the center (x,y,z) of the bounding box.
327+
//
326328
message VehicleLocalization
327329
{
328-
// Most accurate position information of the vehicle available in the on-board network.
329-
// The reference point for position, that is, the center (x,y,z) of the bounding box
330+
// Most accurate position information of the vehicle available in the on-board network
330331
// in context to the global coordinate system.
331332
//
332333
optional Vector3d position = 1;
@@ -349,10 +350,8 @@ message HostVehicleData
349350
// including vehicle dynamics and control related information available in the on-board network,
350351
// which can differ from the "true" values calculated out of the ground truth.
351352
//
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
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.
356355
//
357356
message VehicleMotion
358357
{
@@ -365,28 +364,28 @@ message HostVehicleData
365364
// measured on the vehicle coordinate system in context of the global inertial system.
366365
//
367366
optional Orientation3d orientation = 2;
368-
369-
// Most accurate curvature currently followed by vehicle and available in the on-board network
370-
//
371-
// Unit: m^-1
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.
372370
//
373-
optional double current_curvature = 3;
374-
371+
optional Vector3d velocity = 3;
372+
375373
// Most accurate orientation rate of the vehicle, available in the on-board network
376374
// measured on the vehicle coordinate system in context of the global inertial system.
377375
//
378376
optional Orientation3d orientation_rate = 4;
379-
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.
382-
//
383-
optional Vector3d velocity = 5;
384377

385378
// Most accurate acceleration information of the vehicle, available in the on-board network
386379
// measured on the vehicle coordinate system in context of the global inertial system.
387380
//
388-
optional Vector3d acceleration = 6;
389-
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+
390389
}
391390

392391
//

0 commit comments

Comments
 (0)