Skip to content

Commit e0566a5

Browse files
author
Habedank Clemens
committed
added MovingObjectClassification and put assigend_lane_id and assigned_lane_percentage there to allow for filling those fields for non-vehicle moving objects
1 parent 348c57d commit e0566a5

File tree

2 files changed

+28
-21
lines changed

2 files changed

+28
-21
lines changed

osi_detectedobject.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ message DetectedMovingObject
188188
//
189189
// Percentage value of the object width in the corresponding lane.
190190
//
191-
// \note DEPRECATED: Use assigned_lane_percentage in VehicleClassification
191+
// \note DEPRECATED: Use assigned_lane_percentage in MovingObjectClassification
192192
// instead.
193193
//
194194
// \rules
@@ -202,7 +202,7 @@ message DetectedMovingObject
202202
//
203203
// Percentage value of the object width in the corresponding lane.
204204
//
205-
// \note DEPRECATED: Use assigned_lane_percentage in VehicleClassification
205+
// \note DEPRECATED: Use assigned_lane_percentage in MovingObjectClassification
206206
// instead.
207207
//
208208
// \rules

osi_object.proto

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)