Skip to content

Commit abd96e9

Browse files
committed
Move LogicalLaneAssignment to Classification
Signed-off-by: Thomas Bleher <[email protected]>
1 parent 7cbdaee commit abd96e9

File tree

4 files changed

+39
-26
lines changed

4 files changed

+39
-26
lines changed

osi_object.proto

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,6 @@ message StationaryObject
7979
//
8080
optional ColorDescription color_description = 6;
8181

82-
// Assignment of this object to logical lanes
83-
//
84-
repeated LogicalLaneAssignment logical_lane_assignment = 7;
85-
8682
//
8783
// \brief Classification data for a stationary object.
8884
//
@@ -128,6 +124,12 @@ message StationaryObject
128124
//
129125
repeated double assigned_lane_percentage = 7;
130126

127+
// Assignment of this object to logical lanes.
128+
//
129+
// \note OSI uses singular instead of plural for repeated field names.
130+
//
131+
repeated LogicalLaneAssignment logical_lane_assignment = 8;
132+
131133
// Definition of object types.
132134
//
133135
enum Type
@@ -487,10 +489,6 @@ message MovingObject
487489
//
488490
optional ColorDescription color_description = 11;
489491

490-
// Assignment of this object to logical lanes
491-
//
492-
repeated LogicalLaneAssignment logical_lane_assignment = 12;
493-
494492
// Definition of object types.
495493
//
496494
enum Type
@@ -704,8 +702,13 @@ message MovingObject
704702
//
705703
// \note OSI uses singular instead of plural for repeated field names.
706704
//
707-
repeated double assigned_lane_percentage = 2;
708-
705+
repeated double assigned_lane_percentage = 2;
706+
707+
// Assignment of this object to logical lanes.
708+
//
709+
// \note OSI uses singular instead of plural for repeated field names.
710+
//
711+
repeated LogicalLaneAssignment logical_lane_assignment = 3;
709712
}
710713

711714
//

osi_roadmarking.proto

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,10 +90,6 @@ message RoadMarking
9090
//
9191
optional ColorDescription color_description = 5;
9292

93-
// Assignment of this object to logical lanes
94-
//
95-
repeated LogicalLaneAssignment logical_lane_assignment = 6;
96-
9793
//
9894
// \brief \c Classification data for a road surface marking.
9995
//
@@ -260,6 +256,12 @@ message RoadMarking
260256
//
261257
optional string sub_code = 11;
262258

259+
// Assignment of this object to logical lanes.
260+
//
261+
// \note OSI uses singular instead of plural for repeated field names.
262+
//
263+
repeated LogicalLaneAssignment logical_lane_assignment = 12;
264+
263265
// Definition of road marking types.
264266
//
265267
enum Type

osi_trafficlight.proto

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,6 @@ message TrafficLight
7171
//
7272
optional ColorDescription color_description = 6;
7373

74-
// Assignment of this object to logical lanes
75-
//
76-
repeated LogicalLaneAssignment logical_lane_assignment = 7;
77-
7874
//
7975
// \brief \c Classification data for a traffic light.
8076
//
@@ -131,6 +127,12 @@ message TrafficLight
131127
//
132128
optional bool is_out_of_service = 6;
133129

130+
// Assignment of this object to logical lanes.
131+
//
132+
// \note OSI uses singular instead of plural for repeated field names.
133+
//
134+
repeated LogicalLaneAssignment logical_lane_assignment = 7;
135+
134136
// Definition of semantic colors for traffic lights.
135137
//
136138
// \note The color types represent the semantic classification of a traffic light

osi_trafficsign.proto

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -214,10 +214,6 @@ message TrafficSign
214214
//
215215
optional string model_reference = 3;
216216

217-
// Assignment of this object to logical lanes
218-
//
219-
repeated LogicalLaneAssignment logical_lane_assignment = 4;
220-
221217
//
222218
// \brief \c Classification data for a traffic sign.
223219
//
@@ -381,6 +377,13 @@ message TrafficSign
381377
//
382378
optional string sub_code = 11;
383379

380+
// Assignment of this object to logical lanes.
381+
//
382+
// \note OSI uses singular instead of plural for repeated field
383+
// names.
384+
//
385+
repeated LogicalLaneAssignment logical_lane_assignment = 12;
386+
384387
// Definition of traffic sign types.
385388
// Numbers are given according to German StVO.
386389
//
@@ -5573,10 +5576,6 @@ message TrafficSign
55735576
//
55745577
optional string model_reference = 3;
55755578

5576-
// Assignment of this object to logical lanes
5577-
//
5578-
repeated LogicalLaneAssignment logical_lane_assignment = 4;
5579-
55805579
//
55815580
// \brief \c Classification data for a supplementary traffic sign.
55825581
//
@@ -5706,6 +5705,13 @@ message TrafficSign
57065705
//
57075706
optional string sub_code = 11;
57085707

5708+
// Assignment of this object to logical lanes.
5709+
//
5710+
// \note OSI uses singular instead of plural for repeated field
5711+
// names.
5712+
//
5713+
repeated LogicalLaneAssignment logical_lane_assignment = 12;
5714+
57095715
// Definition of supplementary sign types.
57105716
//
57115717
// For general supplementary signs use \c #TYPE_TEXT.

0 commit comments

Comments
 (0)