Skip to content

Commit

Permalink
Clarify when lanes should share a reference line
Browse files Browse the repository at this point in the history
Also fix a Doxygen error.

Signed-off-by: Thomas Bleher <thomas.tb.bleher@bmw.de>
  • Loading branch information
tbleher authored and Stefan Cyliax committed Mar 31, 2022
1 parent f08bda3 commit e8e7030
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions osi_logicallane.proto
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,11 @@ message LogicalLaneBoundary
// - The red area is the area where \c l1 overlaps \c l2. This is recorded in
// #overlapping_lane of \c l1.
//
// Note: all these relations are also defined outside of intersections.
// As can be seen in the images, the two highlighted lanes are neighbours for
// part of their length, but it makes no sense for them to have the same
// reference line, since they diverge significantly.
//
// Note: all the relations shown above are also defined outside of intersections.
//
message LogicalLane
{
Expand Down Expand Up @@ -398,8 +402,9 @@ message LogicalLane
// not required that the reference line has the same direction as the
// driving direction of the lane.
//
// Neighbouring lanes are strongly encouraged to use the same
// reference_line, so that vehicles that are next to each other on
// Neighbouring lanes (i.e. lanes that are neighbours and whose directions
// do not diverge significantly) are strongly encouraged to reference the
// same ReferenceLine, so that vehicles that are next to each other on
// neighbouring lanes have comparable S positions.
//
// The S coordinate of the reference line makes it easy to find e.g. which
Expand Down
2 changes: 1 addition & 1 deletion osi_referenceline.proto
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ message ReferenceLine
// dotted line). Following the rules above, the one with the smallest S
// value is chosen (the red dotted line).
// - \c P3 has a unique "nearest point" on the polyline. However, multiple
// points map to the same ST coordinate as that of \c P3, e.g. \C P4
// points map to the same ST coordinate as that of \c P3, e.g. \c P4
// (drawn in grey).
// - Finally, \c P5 shows how the reference line is extended infinitely for
// points that are "outside" the reference line.
Expand Down

0 comments on commit e8e7030

Please sign in to comment.