Skip to content

Commit 694dc25

Browse files
committed
Classification split for Lane/DetectedLane
1 parent 1c6213a commit 694dc25

File tree

2 files changed

+399
-365
lines changed

2 files changed

+399
-365
lines changed

osi_detectedlane.proto

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ message DetectedLane
3838
//
3939
optional double probability = 1;
4040

41-
// The definition of one lane that defines this candidate.
41+
// The classification of one lane that defines this candidate.
4242
//
4343
// \note IDs, which are referenced in this message, usually
4444
// reference to \c DetectedXXX::tracking_id IDs.
4545
//
46-
optional Lane lane = 2;
46+
optional Lane.Classification classification = 2;
4747
}
4848
}
4949

@@ -63,20 +63,36 @@ message DetectedLaneBoundary
6363
//
6464
repeated CandidateLaneBoundary candidate = 2;
6565

66+
// The list of individual points defining the location of the lane boundary
67+
// (as a list of segments).
68+
//
69+
// Since a \c BoundaryPoint is part of a sequence, only the position
70+
// attribute has to be set for each instance. All other values will be
71+
// reused from the previous \c BoundaryPoint in the sequence or set to
72+
// default values if there is none or it was never set. For dashed lines,
73+
// one \c BoundaryPoint has to be at the start and another at the end
74+
// of each dashed line segment. For Botts' dots lines, one
75+
// \c BoundaryPoint position has to define each Botts' dot.
76+
//
77+
// \attention For \c BoundaryPoint the same rules regarding maximum
78+
// distance and approximation error apply as for \c Lane::centerline.
79+
//
80+
repeated LaneBoundary.BoundaryPoint boundary_line = 3;
81+
6682
// The root mean squared error of the \c LaneBoundary.BoundaryPoint
6783
// information from a \c LaneBoundary.
6884
// For each \c #lane_boundary \c LaneBoundary::boundary_line point exact
6985
// one \c #boundary_line_rmse rmse information exist.
7086
//
71-
repeated LaneBoundary.BoundaryPoint boundary_line_rmse = 3;
87+
repeated LaneBoundary.BoundaryPoint boundary_line_rmse = 4;
7288

7389
// Confidence of the segments of the \c LaneBoundary.BoundaryPoint
7490
// information from a \c LaneBoundary.
7591
// For each \c #lane_boundary \c LaneBoundary::boundary_line point exact
7692
// one \c #boundary_line_confidences confidence value is
7793
// specified.
7894
//
79-
repeated double boundary_line_confidences = 4;
95+
repeated double boundary_line_confidences = 5;
8096

8197
//
8298
// \brief A candidate for a detected lane boundary as estimated by the
@@ -94,11 +110,11 @@ message DetectedLaneBoundary
94110
//
95111
optional double probability = 1;
96112

97-
// The definition of one lane boundary that defines this candidate.
113+
// The classification of one lane boundary that defines this candidate.
98114
//
99115
// \note IDs, which are referenced in this message, usually
100116
// reference to \c DetectedXXX::tracking_id IDs.
101117
//
102-
optional LaneBoundary lane_boundary = 2;
118+
optional LaneBoundary.Classification classification = 2;
103119
}
104-
}
120+
}

0 commit comments

Comments
 (0)