Skip to content

Commit 672deb8

Browse files
More DetectedXXX messages unified
And documentation review.
1 parent d02b5a1 commit 672deb8

8 files changed

Lines changed: 207 additions & 142 deletions

osi_datarecording.proto

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ message SensorDataList
2929
{
3030
// List of sensor data for multiple sensors at a specific timestep.
3131
//
32-
repeated SensorData sensor_data = 1;
32+
repeated SensorData sensor = 1;
3333
}
3434

3535
//
@@ -42,5 +42,5 @@ message SensorDataSeriesList
4242
//
4343
// \note OSI uses singular instead of plural for repeated field names.
4444
//
45-
repeated SensorDataSeries sensor_data_series = 1;
45+
repeated SensorDataSeries sensor = 1;
4646
}

osi_detectedlandmark.proto

Lines changed: 44 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ message DetectedTrafficSign
2626

2727
// The main sign as detected by the sensor.
2828
//
29-
optional DetectedMainSignData main_sign = 4;
29+
optional EstimatedMainSign main_sign = 4;
3030

3131
// A list of additional supplementary sign(s) as detected by the sensor.
3232
//
3333
// \note OSI uses singular instead of plural for repeated field names.
3434
//
35-
repeated DetectedSupplementarySignData supplementary_sign = 5;
35+
repeated EstimatedSupplementarySign supplementary_sign = 5;
3636

3737
// The estimated probability that this traffic sign with all supplementary
3838
// signs really exists, not based on history.
@@ -65,14 +65,14 @@ message DetectedTrafficSign
6565
//
6666
// \brief Candidates for a detected sign as estimated by the sensor.
6767
//
68-
message DetectedMainSignData
68+
message EstimatedMainSign
6969
{
7070
// A list of candidates for this traffic sign as estimated by the
7171
// sensor.
7272
//
7373
// \note OSI uses singular instead of plural for repeated field names.
7474
//
75-
repeated CandidateSign candidate = 1;
75+
repeated CandidateMainSign candidate = 1;
7676

7777
// The root mean squared error of the base parameters of the detected
7878
// traffic sign. \c TrafficSign::base has to be identical for
@@ -88,21 +88,21 @@ message DetectedTrafficSign
8888
// \brief A candidate for a detected traffic sign as estimated by the
8989
// sensor.
9090
//
91-
message CandidateSign
91+
message CandidateMainSign
9292
{
93-
// The definition of the candidate's properties.
94-
// The sign.id values of all CandidateSigns within one
95-
// \c DetectedTrafficSign correspond to the tracking ID and must be
96-
// identical.
93+
// The definition of one main sign that defines this candidate.
9794
//
98-
optional TrafficSign.MainSign sign = 1;
95+
// \note IDs, which are referenced in this message, usually
96+
// reference to \c DetectedXXX::tracking_id IDs.
97+
//
98+
optional TrafficSign.MainSign main_sign = 1;
9999

100100
// The estimated probability that this candidate is the true value.
101-
// The sum of all \c #candidate_probability must be one.
101+
// The sum of all \c #probability must be one.
102102
//
103103
// Range: [0,1]
104104
//
105-
optional double candidate_probability = 2;
105+
optional double probability = 2;
106106

107107
// The amount of time that this detected object has been currently
108108
// observed/tracked.
@@ -182,7 +182,7 @@ message DetectedTrafficSign
182182
// \brief Candidates for all detected supplementary signs of one traffic
183183
// sign as estimated by the sensor.
184184
//
185-
message DetectedSupplementarySignData
185+
message EstimatedSupplementarySign
186186
{
187187
// The definition of one of more supplementary signs that together
188188
// define this candidate.
@@ -215,15 +215,18 @@ message DetectedTrafficSign
215215
// The definition of one of more supplementary signs that together
216216
// define this candidate.
217217
//
218-
optional TrafficSign.SupplementarySign sign = 1;
218+
// \note IDs, which are referenced in this message, usually
219+
// reference to \c DetectedXXX::tracking_id IDs.
220+
//
221+
optional TrafficSign.SupplementarySign supplementary_sign = 1;
219222

220223
// The estimated probability that this candidate is the true value.
221-
// The sum of all \c #candidate_probability of one supplementary
224+
// The sum of all \c #probability of one supplementary
222225
// sign must be one.
223226
//
224227
// Range: [0,1]
225228
//
226-
optional double candidate_probability = 2;
229+
optional double probability = 2;
227230

228231
// The amount of time that this detected object has been currently
229232
// observed/tracked.
@@ -257,7 +260,7 @@ message DetectedTrafficLight
257260

258261
// The main sign as detected by the sensor.
259262
//
260-
optional DetectedTrafficLightData traffic_light = 4;
263+
optional EstimatedTrafficLight traffic_light = 4;
261264

262265
// Determines for which directions the traffic light applies.
263266
//
@@ -297,7 +300,7 @@ message DetectedTrafficLight
297300
// \brief Candidates for a detected traffic light as estimated by the
298301
// sensor.
299302
//
300-
message DetectedTrafficLightData
303+
message EstimatedTrafficLight
301304
{
302305
// A list of candidates for this traffic light as estimated by the
303306
// sensor.
@@ -320,14 +323,17 @@ message DetectedTrafficLight
320323
{
321324
// The definition of one traffic light that define this candidate.
322325
//
326+
// \note IDs, which are referenced in this message, usually
327+
// reference to \c DetectedXXX::tracking_id IDs.
328+
//
323329
optional TrafficLight traffic_light = 1;
324330

325331
// The estimated probability that this candidate is the true value.
326-
// The sum of all \c #candidate_probability must be one.
332+
// The sum of all \c #probability must be one.
327333
//
328334
// Range: [0,1]
329335
//
330-
optional double candidate_probability = 2;
336+
optional double probability = 2;
331337

332338
// The amount of time that this detected object has been currently
333339
// observed/tracked.
@@ -416,7 +422,7 @@ message DetectedRoadMarking
416422

417423
// The road marking as detected by the sensor.
418424
//
419-
optional DetectedRoadMarkingData road_marking = 4;
425+
optional EstimatedRoadMarking road_marking = 4;
420426

421427
// The estimated probability that this road marking really exists, not based
422428
// on history.
@@ -450,7 +456,7 @@ message DetectedRoadMarking
450456
// \brief Candidates for a detected traffic light as estimated by the
451457
// sensor.
452458
//
453-
message DetectedRoadMarkingData
459+
message EstimatedRoadMarking
454460
{
455461
// A list of candidates for this road marking as estimated by the
456462
// sensor.
@@ -466,20 +472,24 @@ message DetectedRoadMarking
466472
optional BaseStationary base_rmse = 2;
467473

468474
//
469-
// \brief A candidate for a detected road marking as estimated by the sensor.
475+
// \brief A candidate for a detected road marking as estimated by the
476+
// sensor.
470477
//
471478
message CandidateRoadMarking
472479
{
473480
// The description of the road marking.
474481
//
482+
// \note IDs, which are referenced in this message, usually
483+
// reference to \c DetectedXXX::tracking_id IDs.
484+
//
475485
optional RoadMarking road_marking = 1;
476486

477487
// The estimated probability that this candidate is the true value.
478-
// The sum of all \c #candidate_probability must be one.
488+
// The sum of all \c #probability must be one.
479489
//
480490
// Range: [0,1]
481491
//
482-
optional double candidate_probability = 2;
492+
optional double probability = 2;
483493

484494
// The amount of time that this detected object has been currently
485495
// observed/tracked.
@@ -515,7 +525,7 @@ message DetectedLandmark
515525

516526
// The landmark as detected by the sensor.
517527
//
518-
optional DetectedLandmarkData landmark = 3;
528+
optional EstimatedLandmark landmark = 3;
519529

520530
// The estimated probability that this landmark really exists, not based
521531
// on history.
@@ -542,7 +552,7 @@ message DetectedLandmark
542552
// \brief Candidates for a detected Landmark as estimated by the
543553
// sensor.
544554
//
545-
message DetectedLandmarkData
555+
message EstimatedLandmark
546556
{
547557
// A list of candidates for this landmark as estimated by the sensor.
548558
//
@@ -557,20 +567,24 @@ message DetectedLandmark
557567
optional BaseStationary base_rmse = 2;
558568

559569
//
560-
// \brief A candidate for a detected landmark as estimated by the sensor.
570+
// \brief A candidate for a detected landmark as estimated by the
571+
// sensor.
561572
//
562573
message CandidateLandmark
563574
{
564575
// The description of the landmark.
565576
//
577+
// \note IDs, which are referenced in this message, usually
578+
// reference to \c DetectedXXX::tracking_id IDs.
579+
//
566580
optional Landmark landmark = 1;
567581

568582
// The estimated probability that this candidate is the true value.
569-
// The sum of all \c #candidate_probability must be one.
583+
// The sum of all \c #probability must be one.
570584
//
571585
// Range: [0,1]
572586
//
573-
optional double candidate_probability = 2;
587+
optional double probability = 2;
574588

575589
// The amount of time that this detected object has been currently
576590
// observed/tracked.

osi_detectedlane.proto

Lines changed: 74 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ message DetectedLane
4040

4141
// The detected lane.
4242
//
43+
// \note IDs, which is referenced in this message, usually reference to
44+
// \c DetectedXXX::tracking_id IDs.
45+
//
4346
optional Lane lane = 4;
4447

4548
// The estimated probability that this lane really exists, not based on
@@ -82,21 +85,9 @@ message DetectedLaneBoundary
8285
//
8386
optional Identifier ground_truth_id = 3;
8487

85-
// The amount of time that this detected object has been currently
86-
// observed/tracked.
87-
//
88-
// Unit: [s]
89-
//
90-
optional double age = 1000;
91-
92-
// State of the measurement. Lane boundary measured in the current image or
93-
// lane boundary predicted (no measurement in current image).
94-
//
95-
optional MeasurementState measurement_state = 5;
96-
97-
// The basic measured lane boundary.
88+
// The lane boundary as detected by the sensor.
9889
//
99-
optional LaneBoundary lane_boundary = 4;
90+
optional EstimatedLaneBoundary lane_boundary = 4;
10091

10192
// The estimated probability that this lane boundary really exists, not
10293
// based on history.
@@ -106,28 +97,6 @@ message DetectedLaneBoundary
10697
//
10798
optional double existence_probability = 6;
10899

109-
// Confidence of the classified lane boundary type.
110-
//
111-
optional double type_confidence = 7;
112-
113-
// Confidence of the classified lane marker color.
114-
//
115-
optional double color_confidence = 8;
116-
117-
// The root mean squared error of the \c BoundaryPoint information from a
118-
// \c LaneBoundary.
119-
// For each \c #lane_boundary \c LaneBoundary::boundary_line point exact
120-
// one \c #boundary_line_points_rmse rmse information exist.
121-
//
122-
repeated BoundaryPoint boundary_line_points_rmse = 9;
123-
124-
// Confidence of the segments of the \c BoundaryPoint information from a
125-
// \c LaneBoundary.
126-
// For each \c #lane_boundary \c LaneBoundary::boundary_line point exact
127-
// one \c #boundary_line_points_confidences confidence value is specified.
128-
//
129-
repeated double boundary_line_points_confidences = 10;
130-
131100
// A list of sensors which detected this detected entity.
132101
//
133102
// If \c SensorData has detected entities and all detections are missing,
@@ -141,4 +110,73 @@ message DetectedLaneBoundary
141110
// \note OSI uses singular instead of plural for repeated field names.
142111
//
143112
repeated Identifier sensor_id = 11;
113+
114+
//
115+
// \brief Candidates for a detected lane boundary as estimated by the
116+
// sensor.
117+
//
118+
message EstimatedLaneBoundary
119+
{
120+
// A list of candidates for this lane boundary as estimated by the
121+
// sensor.
122+
//
123+
// \note OSI uses singular instead of plural for repeated field names.
124+
//
125+
repeated CandidateLaneBoundary candidate = 1;
126+
127+
// The root mean squared error of the \c LaneBoundary.BoundaryPoint
128+
// information from a \c LaneBoundary.
129+
// For each \c #lane_boundary \c LaneBoundary::boundary_line point exact
130+
// one \c #boundary_line_points_rmse rmse information exist.
131+
//
132+
repeated LaneBoundary.BoundaryPoint boundary_line_points_rmse = 2;
133+
134+
// Confidence of the segments of the \c LaneBoundary.BoundaryPoint
135+
// information from a \c LaneBoundary.
136+
// For each \c #lane_boundary \c LaneBoundary::boundary_line point exact
137+
// one \c #boundary_line_points_confidences confidence value is
138+
// specified.
139+
//
140+
repeated double boundary_line_points_confidences = 3;
141+
142+
//
143+
// \brief A candidate for a detected traffic sign as estimated by the
144+
// sensor.
145+
//
146+
message CandidateLaneBoundary
147+
{
148+
// The definition of one lane boundary that defines this candidate.
149+
//
150+
// \note IDs, which are referenced in this message, usually
151+
// reference to \c DetectedXXX::tracking_id IDs.
152+
//
153+
optional LaneBoundary lane_boundary = 1;
154+
155+
// The estimated probability that this candidate is the true value.
156+
// The sum of all \c #probability must be one.
157+
//
158+
// Range: [0,1]
159+
//
160+
optional double probability = 2;
161+
162+
// The amount of time that this detected object has been currently
163+
// observed/tracked.
164+
//
165+
// Unit: [s]
166+
//
167+
optional double age = 3;
168+
169+
// The measurement state.
170+
//
171+
optional MeasurementState measurement_state = 4;
172+
173+
// Confidence of the classified lane boundary type.
174+
//
175+
optional double type_confidence = 5;
176+
177+
// Confidence of the classified lane marker color.
178+
//
179+
optional double color_confidence = 6;
180+
}
181+
}
144182
}

0 commit comments

Comments
 (0)