@@ -306,7 +306,7 @@ message MovingObject
306306 //
307307 // \note OSI uses singular instead of plural for repeated field names.
308308 //
309- // \note DEPRECATED: Use assigned_lane_id in VehicleClassification
309+ // \note DEPRECATED: Use assigned_lane_id in MovingObjectClassification
310310 // instead.
311311 //
312312 repeated Identifier assigned_lane_id = 4 ;
@@ -441,6 +441,31 @@ message MovingObject
441441 optional double ground_clearance = 6 ;
442442 }
443443
444+ //
445+ // \brief Information for the classification of moving objects regarding
446+ // \c MovingObject (host or other).
447+ //
448+ message MovingObjectClassification
449+ {
450+ // The IDs of the lanes that this object is assigned to.
451+ //
452+ // \note Might be multiple if the object is switching lanes or moving from
453+ // one lane into another following lane.
454+ //
455+ // \note OSI uses singular instead of plural for repeated field names.
456+ //
457+ repeated Identifier assigned_lane_id = 1 ;
458+
459+ // Percentage value of the object width in the corresponding lane.
460+ //
461+ // \note Might be multiple if the object is switching lanes or moving from
462+ // one lane into another following lane.
463+ //
464+ // \note OSI uses singular instead of plural for repeated field names.
465+ //
466+ repeated double assigned_lane_percentage = 2 ;
467+ }
468+
444469 //
445470 // \brief Information for the classification of vehicles regarding
446471 // \c MovingObject (host or other).
@@ -470,24 +495,6 @@ message MovingObject
470495 //
471496 optional Identifier trailer_id = 4 ;
472497
473- // The IDs of the lanes that this object is assigned to.
474- //
475- // \note Might be multiple if the object is switching lanes or moving from
476- // one lane into another following lane.
477- //
478- // \note OSI uses singular instead of plural for repeated field names.
479- //
480- repeated Identifier assigned_lane_id = 5 ;
481-
482- // Percentage value of the object width in the corresponding lane.
483- //
484- // \note Might be multiple if the object is switching lanes or moving from
485- // one lane into another following lane.
486- //
487- // \note OSI uses singular instead of plural for repeated field names.
488- //
489- repeated double assigned_lane_percentage = 6 ;
490-
491498 // Definition of vehicle types.
492499 //
493500 enum Type
0 commit comments