Skip to content

Commit 317025f

Browse files
thomassedlmayerpmai
authored andcommitted
Add dash property to boundary points
Signed-off-by: Thomas Sedlmayer <tsedlmayer@pmsfit.de>
1 parent 7d52b71 commit 317025f

File tree

1 file changed

+32
-3
lines changed

1 file changed

+32
-3
lines changed

osi_lane.proto

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -728,8 +728,7 @@ message LaneBoundary
728728
// another at the end of each dashed line segment. The first
729729
// \c BoundaryPoint defines the beginning of the first dashed lane marking.
730730
// The last \c BoundaryPoint defines the end of the last dashed lane
731-
// marking. For example, the area between the second and third
732-
// \c BoundaryPoint has no lane marking, and so on.
731+
// marking.
733732
// \note For Botts' dots lines, one \c BoundaryPoint position has to define
734733
// each Botts' dot.
735734
//
@@ -817,6 +816,36 @@ message LaneBoundary
817816
// See \c LaneBoundary .
818817
//
819818
optional double height = 3;
819+
820+
// Alternation of dashes in case of a dashed lane boundary. In
821+
// context, this field gives information about the location of
822+
// dashes on the boundary line.
823+
//
824+
optional Dash dash = 4;
825+
826+
// This enum describes the alternation of dashes in case of a
827+
// dashed lane boundary.
828+
//
829+
// \note The enum descriptions adhere to the definition direction
830+
// of the lane boundary points, meaning that start or end of a dash
831+
// are understood with respect to the direction in which the points
832+
// of the boundary line are defined.
833+
//
834+
enum Dash
835+
{
836+
// The current \c BoundaryPoint indicates the start of a dash.
837+
//
838+
DASH_START = 0;
839+
840+
// The current \c BoundaryPoint is located on a dash of a dashed
841+
// line. This enables a dash to continue across multiple points.
842+
//
843+
DASH_CONTINUE = 1;
844+
845+
// The current \c BoundaryPoint indicates the end of a dash.
846+
//
847+
DASH_END = 2;
848+
}
820849
}
821850

822851
//
@@ -947,7 +976,7 @@ message LaneBoundary
947976
//
948977
TYPE_OTHER = 1;
949978

950-
// An invisible lane boundary (e.g. unmarked part of a dashed line).
979+
// An invisible lane boundary.
951980
//
952981
TYPE_NO_LINE = 2;
953982

0 commit comments

Comments
 (0)