Skip to content

Commit ba1f0c9

Browse files
Add dash property to boundary points
Signed-off-by: Thomas Sedlmayer <tsedlmayer@pmsfit.de>
1 parent 3ad5c67 commit ba1f0c9

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
//
@@ -809,6 +808,36 @@ message LaneBoundary
809808
// See \c LaneBoundary .
810809
//
811810
optional double height = 3;
811+
812+
// Alternation of dashes in case of a dashed lane boundary. In
813+
// context, this field gives information about the location of
814+
// dashes on the boundary line.
815+
//
816+
optional Dash dash = 4;
817+
818+
// This enum describes the alternation of dashes in case of a
819+
// dashed lane boundary.
820+
//
821+
// \note The enum descriptions adhere to the definition direction
822+
// of the lane boundary points, meaning that start or end of a dash
823+
// are understood with respect to the direction in which the points
824+
// of the boundary line are defined.
825+
//
826+
enum Dash
827+
{
828+
// The current \c BoundaryPoint indicates the start of a dash.
829+
//
830+
DASH_START = 0;
831+
832+
// The current \c BoundaryPoint is located on a dash of a dashed
833+
// line. This enables a dash to continue across multiple points.
834+
//
835+
DASH_CONTINUE = 1;
836+
837+
// The current \c BoundaryPoint indicates the end of a dash.
838+
//
839+
DASH_END = 2;
840+
}
812841
}
813842

814843
//
@@ -936,7 +965,7 @@ message LaneBoundary
936965
//
937966
TYPE_OTHER = 1;
938967

939-
// An invisible lane boundary (e.g. unmarked part of a dashed line).
968+
// An invisible lane boundary.
940969
//
941970
TYPE_NO_LINE = 2;
942971

0 commit comments

Comments
 (0)