Skip to content

Commit 9c5852d

Browse files
committed
External References added to TrafficSign, TrafficLight and Road Marking
Signed-off-by: Georg Seifert <georg.seifert@carissma.eu>
1 parent 82d71eb commit 9c5852d

File tree

3 files changed

+78
-0
lines changed

3 files changed

+78
-0
lines changed

osi_roadmarking.proto

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,35 @@ message RoadMarking
5555
//
5656
optional Classification classification = 3;
5757

58+
// External Reference to the Roadmarking Source
59+
//
60+
// The ExternalReference point to the source of the surface marking, if it
61+
// is derived from one or more objects or external references. An example
62+
// here is the reference to the signal defined in a OpenDRIVE map.
63+
//
64+
// For OpenDRIVE 1.6 the items should be set as following:
65+
// * reference = URI to map, can remain empty if identical with definiton
66+
// in \c GroundTruth::map_reference
67+
// * type = "OpenDRIVE 1.6"
68+
// * identifier[0] = id of t_road_signals_signal
69+
//
70+
// \note In OpenDRIVE 1.6 there is also the possibility to define surface
71+
// markings as an object. In this case, the associated object is
72+
// usually referenced within OpenDRIVE using the reference
73+
// t_road_signals_signal_reference, which allows it to be
74+
// identifiable.
75+
// An additional reference to the object is therefore not necessary.
76+
//
77+
// \note For non-ASAM Standards, it is implementation-specific how
78+
// source_reference is resolved.
79+
//
80+
// \note The value has to be repeated, as it cannot guarantee, that one
81+
// Lane-Segment is derived from only one origin segment. It is also
82+
// possible, that multiple sources (map, sensor) should be added as
83+
// reference.
84+
//
85+
repeated ExternalReference source_reference = 4;
86+
5887
//
5988
// \brief \c Classification data for a road surface marking.
6089
//

osi_trafficlight.proto

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,28 @@ message TrafficLight
4242
//
4343
optional string model_reference = 4;
4444

45+
// External Reference to the Traffic Light Source
46+
//
47+
// The ExternalReference point to the source of the traffic light, if it is
48+
// derived from one or more objects or external references. An example here
49+
// is the reference to the signal defined in a OpenDRIVE map.
50+
//
51+
// For OpenDRIVE 1.6 the items should be set as following:
52+
// * reference = URI to map, can remain empty if identical with definiton
53+
// in \c GroundTruth::map_reference
54+
// * type = "OpenDRIVE 1.6"
55+
// * identifier[0] = id of t_road_signals_signal
56+
//
57+
// \note For non-ASAM Standards, it is implementation-specific how
58+
// source_reference is resolved.
59+
//
60+
// \note The value has to be repeated, as it cannot guarantee, that one
61+
// Lane-Segment is derived from only one origin segment. It is also
62+
// possible, that multiple sources (map, sensor) should be added as
63+
// reference.
64+
//
65+
repeated ExternalReference source_reference = 5;
66+
4567
//
4668
// \brief \c Classification data for a traffic light.
4769
//

osi_trafficsign.proto

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,33 @@ message TrafficSign
156156
//
157157
repeated SupplementarySign supplementary_sign = 3;
158158

159+
160+
// External Reference to the Traffic Sign Source
161+
//
162+
// The ExternalReference point to the source of the traffic sign, if it is
163+
// derived from one or more objects or external references. An example here
164+
// is the reference to the signal defined in a OpenDRIVE map.
165+
//
166+
// For OpenDRIVE 1.6 the items should be set as following:
167+
// * reference = URI to map, can remain empty if identical with definiton
168+
// in \c GroundTruth::map_reference
169+
// * type = "OpenDRIVE 1.6"
170+
// * identifier[0] = id of t_road_signals_signal
171+
//
172+
// \note For non-ASAM Standards, it is implementation-specific how
173+
// source_reference is resolved.
174+
//
175+
// \note If an individual identification of MainSign and SupplementarySign
176+
// is be necessary, this sould be defined via multiple individual
177+
// entries of this source_reference.
178+
//
179+
// \note The value has to be repeated, as it cannot guarantee, that one
180+
// Lane-Segment is derived from only one origin segment. It is also
181+
// possible, that multiple sources (map, sensor) should be added as
182+
// reference.
183+
//
184+
repeated ExternalReference source_reference = 4;
185+
159186
//
160187
// \brief Main sign of the traffic sign.
161188
//

0 commit comments

Comments
 (0)