Skip to content

Commit d4eaae3

Browse files
committed
Add assigned_lane_percentage, add deprecations
Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
1 parent f679730 commit d4eaae3

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
@@ -190,6 +190,9 @@ message DetectedMovingObject
190190
//
191191
// Percentage value of the object width in the corresponding lane.
192192
//
193+
// \note DEPRECATED: Use assigned_lane_percentage in VehicleClassification
194+
// instead.
195+
//
193196
// \rules
194197
// is_greater_than_or_equal_to: 0
195198
// is_less_than_or_equal_to: 100
@@ -201,6 +204,9 @@ message DetectedMovingObject
201204
//
202205
// Percentage value of the object width in the corresponding lane.
203206
//
207+
// \note DEPRECATED: Use assigned_lane_percentage in VehicleClassification
208+
// instead.
209+
//
204210
// \rules
205211
// is_greater_than_or_equal_to: 0
206212
// is_less_than_or_equal_to: 100

osi_object.proto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,9 @@ message MovingObject
308308
//
309309
// \note OSI uses singular instead of plural for repeated field names.
310310
//
311+
// \note DEPRECATED: Use assigned_lane_id in VehicleClassification
312+
// instead.
313+
//
311314
repeated Identifier assigned_lane_id = 4;
312315

313316
// Specific information about the vehicle.
@@ -581,6 +584,15 @@ message MovingObject
581584
//
582585
repeated Identifier assigned_lane_id = 5;
583586

587+
// Percentage value of the object width in the corresponding lane.
588+
//
589+
// \note Might be multiple if the object is switching lanes or moving from
590+
// one lane into another following lane.
591+
//
592+
// \note OSI uses singular instead of plural for repeated field names.
593+
//
594+
repeated double assigned_lane_percentage = 6;
595+
584596
// Definition of vehicle types.
585597
//
586598
enum Type

0 commit comments

Comments
 (0)