Skip to content

Commit 666ed62

Browse files
committed
Move assigned_lane_id in osi_object.proto to VehicleClassification
1 parent d8efb63 commit 666ed62

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

osi_object.proto

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -291,36 +291,27 @@ message MovingObject
291291
//
292292
optional Type type = 3;
293293

294-
// The IDs of the lanes that this object is assigned to.
295-
//
296-
// \note Might be multiple if the object is switching lanes or moving from
297-
// one lane into another following lane.
298-
//
299-
// \note OSI uses singular instead of plural for repeated field names.
300-
//
301-
repeated Identifier assigned_lane_id = 4;
302-
303294
// Specific information about the vehicle.
304295
//
305296
// \note This field is mandatory if the \c #type is
306297
// #TYPE_VEHICLE .
307298
//
308-
optional VehicleAttributes vehicle_attributes = 5;
299+
optional VehicleAttributes vehicle_attributes = 4;
309300

310301
// Specific information about the classification of the vehicle.
311302
//
312303
//
313304
// \note This field is mandatory if the \c #type is
314305
// #TYPE_VEHICLE .
315306
//
316-
optional VehicleClassification vehicle_classification = 6;
307+
optional VehicleClassification vehicle_classification = 5;
317308

318309
// Opaque reference of an associated 3D model of the moving object.
319310
//
320311
// \note It is implementation-specific how model_references are resolved to
321312
// 3d models.
322313
//
323-
optional string model_reference = 7;
314+
optional string model_reference = 6;
324315

325316
// Definition of object types.
326317
//
@@ -441,6 +432,15 @@ message MovingObject
441432
//
442433
optional Identifier trailer_id = 4;
443434

435+
// The IDs of the lanes that this object is assigned to.
436+
//
437+
// \note Might be multiple if the object is switching lanes or moving from
438+
// one lane into another following lane.
439+
//
440+
// \note OSI uses singular instead of plural for repeated field names.
441+
//
442+
repeated Identifier assigned_lane_id = 5;
443+
444444
// Definition of vehicle types.
445445
//
446446
enum Type

0 commit comments

Comments
 (0)