@@ -178,6 +178,12 @@ message Lane
178178 // the centerline of lane l4 (black line) is given by
179179 // (cl4_1, cl4_2, cl4_3, cl4_4, cl4_5).
180180 //
181+ // \attention The points desribing the center line must be set in the
182+ // same ordering (ascending or descending) as the points desribing the
183+ // lane boundaries. Example: If the points are deducted from a map format,
184+ // the order of points is recommended to be in line with the road coordinate
185+ // (e.g. s-coordinate in OpenDRIVE).
186+ //
181187 // \attention The points describing the center line might be set at
182188 // arbitrary distances. When the points are pairwise linearly connected,
183189 // the lateral distance to the real ideal line (as used by the
@@ -221,10 +227,10 @@ message Lane
221227 optional bool centerline_is_driving_direction = 4 ;
222228
223229 // List of IDs of all lane segments that are directly adjacent to the
224- // lane on the left side (w.r.t. intended driving direction). Note that
225- // lengths of lane segments are not synchronized and therefore there are
226- // multiple adjacent segments if there is a split/merge point in the
227- // adjacent lane.
230+ // lane on the left side (w.r.t. ascending order of centerline points
231+ // and lane boundary points). Note that lengths of lane segments are
232+ // not synchronized and therefore there are multiple adjacent segments
233+ // if there is a split/merge point in the adjacent lane.
228234 //
229235 // Example: The lane l3 is the only left adjacent lane for lane l4
230236 // in image \ref HighwayExit.
@@ -241,10 +247,10 @@ message Lane
241247 repeated Identifier left_adjacent_lane_id = 5 ;
242248
243249 // List of IDs of all lane segments that are directly adjacent to the
244- // lane on the right side (w.r.t. intended driving direction). Note that
245- // lengths of lane segments are not synchronized and therefore there are
246- // multiple adjacent segments if there is a split/merge point in the
247- // adjacent lane.
250+ // lane on the right side (w.r.t. ascending order of centerline points
251+ // and lane boundary points). Note that lengths of lane segments are
252+ // not synchronized and therefore there are multiple adjacent segments
253+ // if there is a split/merge point in the adjacent lane.
248254 //
249255 // Example: \c #right_adjacent_lane_id = (l5, l6)
250256 // for lane l4 in image \ref HighwayExit.
@@ -566,6 +572,12 @@ message LaneBoundary
566572 // Example: The boundary_line of the \c LaneBoundary with id lb2 is given by
567573 // (bp2_1, ..., bp2_{i-1}, bp2_{i}, bp2_{i+1}, ...).
568574 //
575+ // \attention The ordering of the points must be the same for all lane boundaries
576+ // on one road (also for roads with two-way traffic) and also the center line(s).
577+ // Example: If the points are deducted from a map format, the order of points
578+ // is recommended to be in line with the road coordinate (e.g. s-coordinate in
579+ // OpenDRIVE).
580+
569581 // \note For dashed lines, one \c BoundaryPoint has to be at the start and
570582 // another at the end of each dashed line segment. The first
571583 // \c BoundaryPoint defines the beginning of the first dashed lane marking.
0 commit comments