Skip to content

Commit e8e7030

Browse files
tbleherStefan Cyliax
authored andcommitted
Clarify when lanes should share a reference line
Also fix a Doxygen error. Signed-off-by: Thomas Bleher <thomas.tb.bleher@bmw.de>
1 parent f08bda3 commit e8e7030

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

osi_logicallane.proto

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,11 @@ message LogicalLaneBoundary
303303
// - The red area is the area where \c l1 overlaps \c l2. This is recorded in
304304
// #overlapping_lane of \c l1.
305305
//
306-
// Note: all these relations are also defined outside of intersections.
306+
// As can be seen in the images, the two highlighted lanes are neighbours for
307+
// part of their length, but it makes no sense for them to have the same
308+
// reference line, since they diverge significantly.
309+
//
310+
// Note: all the relations shown above are also defined outside of intersections.
307311
//
308312
message LogicalLane
309313
{
@@ -398,8 +402,9 @@ message LogicalLane
398402
// not required that the reference line has the same direction as the
399403
// driving direction of the lane.
400404
//
401-
// Neighbouring lanes are strongly encouraged to use the same
402-
// reference_line, so that vehicles that are next to each other on
405+
// Neighbouring lanes (i.e. lanes that are neighbours and whose directions
406+
// do not diverge significantly) are strongly encouraged to reference the
407+
// same ReferenceLine, so that vehicles that are next to each other on
403408
// neighbouring lanes have comparable S positions.
404409
//
405410
// The S coordinate of the reference line makes it easy to find e.g. which

osi_referenceline.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ message ReferenceLine
134134
// dotted line). Following the rules above, the one with the smallest S
135135
// value is chosen (the red dotted line).
136136
// - \c P3 has a unique "nearest point" on the polyline. However, multiple
137-
// points map to the same ST coordinate as that of \c P3, e.g. \C P4
137+
// points map to the same ST coordinate as that of \c P3, e.g. \c P4
138138
// (drawn in grey).
139139
// - Finally, \c P5 shows how the reference line is extended infinitely for
140140
// points that are "outside" the reference line.

0 commit comments

Comments
 (0)