Skip to content

Commit 8ef23fe

Browse files
committed
Add assigned_lane_percentage, add deprecations
1 parent 5692c07 commit 8ef23fe

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

osi_detectedobject.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,9 @@ message DetectedMovingObject
188188
//
189189
// Percentage value of the object width in the corresponding lane.
190190
//
191+
// \note DEPRECATED: Use assigned_lane_percentage in VehicleClassification
192+
// instead.
193+
//
191194
// \rules
192195
// is_greater_than_or_equal_to: 0
193196
// is_less_than_or_equal_to: 100
@@ -199,6 +202,9 @@ message DetectedMovingObject
199202
//
200203
// Percentage value of the object width in the corresponding lane.
201204
//
205+
// \note DEPRECATED: Use assigned_lane_percentage in VehicleClassification
206+
// instead.
207+
//
202208
// \rules
203209
// is_greater_than_or_equal_to: 0
204210
// is_less_than_or_equal_to: 100

osi_object.proto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,9 @@ 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
310+
// instead.
311+
//
309312
repeated Identifier assigned_lane_id = 4;
310313

311314
// Specific information about the vehicle.
@@ -476,6 +479,15 @@ message MovingObject
476479
//
477480
repeated Identifier assigned_lane_id = 5;
478481

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+
479491
// Definition of vehicle types.
480492
//
481493
enum Type

0 commit comments

Comments
 (0)