Skip to content

Commit f3db096

Browse files
authored
Merge pull request #567 from thomassedlmayer/bug/ha/dashed-lines
Add dash property to boundary points
2 parents 7d52b71 + 261ce44 commit f3db096

File tree

1 file changed

+41
-3
lines changed

1 file changed

+41
-3
lines changed

osi_lane.proto

Lines changed: 41 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,45 @@ 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. This means that start or end of a
831+
// dash are understood with respect to the direction in which the
832+
// points of the boundary line are defined.
833+
//
834+
enum Dash
835+
{
836+
// The current state of the dash alternation is not known (must
837+
// not be used in ground truth).
838+
//
839+
DASH_UNKNOWN = 0;
840+
841+
// Other (unspecified but known) type of dash alternation state.
842+
//
843+
DASH_OTHER = 1;
844+
845+
// The current \c BoundaryPoint indicates the start of a dash.
846+
//
847+
DASH_START = 2;
848+
849+
// The current \c BoundaryPoint is located on a dash of a dashed
850+
// line. This enables a dash to continue across multiple points.
851+
//
852+
DASH_CONTINUE = 3;
853+
854+
// The current \c BoundaryPoint indicates the end of a dash.
855+
//
856+
DASH_END = 4;
857+
}
820858
}
821859

822860
//
@@ -947,7 +985,7 @@ message LaneBoundary
947985
//
948986
TYPE_OTHER = 1;
949987

950-
// An invisible lane boundary (e.g. unmarked part of a dashed line).
988+
// An invisible lane boundary.
951989
//
952990
TYPE_NO_LINE = 2;
953991

0 commit comments

Comments
 (0)