Skip to content

Commit 5ac2140

Browse files
Carsten Kueblerpmai
authored andcommitted
Replace semantic Traffic Lights with Traffic Light Bulbs
Review and reformating of documentation. Unifying enum names. Change Traffic Lights from semantic representation (light box) to syntactic representation (light bulbs)
1 parent 435b535 commit 5ac2140

File tree

2 files changed

+230
-180
lines changed

2 files changed

+230
-180
lines changed

osi_detectedlandmark.proto

Lines changed: 69 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -17,37 +17,39 @@ message DetectedTrafficSign
1717
//
1818
optional DetectedObjectHeader header = 1;
1919

20-
// Specific ID of the traffic sign as assigned by the sensor internally. Need not match with ground_truth_id.
21-
//
20+
// Specific ID of the traffic sign as assigned by the sensor internally.
21+
// Need not match with ground_truth_id.
2222
optional Identifier tracking_id = 2;
2323

2424
// The ID of the original traffic sign in the ground truth.
25-
// In case of a ghost sign (no corresponding ground truth), this field should be unset.
25+
// In case of a ghost sign (no corresponding ground truth), this field
26+
// should be unset.
2627
optional Identifier ground_truth_id = 3;
2728

2829
// A list of candidates for this traffic sign as estimated by the sensor.
2930
//
3031
repeated CandidateSign candidate_sign = 4;
3132

32-
// A list of candidates for (a) possible supplementary sign(s) as estimated by the sensor.
33-
//
33+
// A list of candidates for (a) possible supplementary sign(s) as estimated
34+
// by the sensor.
3435
repeated CandidateSupplementarySign candidate_supplementary_sign = 5;
3536

3637
// The detected geometry of the traffic sign.
3738
//
3839
optional Geometry geometry = 6;
3940

40-
// The estimated probability that this traffic sign really exists, not based on history.
41+
// The estimated probability that this traffic sign really exists, not based
42+
// on history.
4143
//
42-
// \note Use as confidence measure where a low value means less confidence and a high value indicates
43-
// strong confidence.
44+
// \note Use as confidence measure where a low value means less confidence
45+
// and a high value indicates strong confidence.
4446
optional double existence_probability = 7;
4547

4648
// The measurement state.
4749
//
4850
optional MeasurementState measurement_state = 8;
49-
// The root mean squared error of the base parameters of the detected traffic sign.
50-
//
51+
// The root mean squared error of the base parameters of the detected
52+
// traffic sign.
5153
optional BaseStationary rmse = 9;
5254

5355
// Links to the corresponding lanes.
@@ -58,8 +60,8 @@ message DetectedTrafficSign
5860
//
5961
enum Geometry
6062
{
61-
// Geometry of the traffic sign is unknown (must not be used in ground truth).
62-
//
63+
// Geometry of the traffic sign is unknown (must not be used in ground
64+
// truth).
6365
GEOMETRY_UNKNOWN = 0;
6466

6567
// Geometry of the traffic sign is unspecified (but known).
@@ -118,25 +120,27 @@ message DetectedTrafficSign
118120
message CandidateSign
119121
{
120122
// The definition of the candidate's properties.
121-
// The sign.id values of all CandidateSigns within one DetectedTrafficSign correspond to the tracking ID and must
122-
// be identical.
123+
// The sign.id values of all CandidateSigns within one DetectedTrafficSign
124+
// correspond to the tracking ID and must be identical.
123125
optional TrafficSign sign = 1;
124126

125-
// The estimated probability that this candidate is the true value. Range [0,1].
127+
// The estimated probability that this candidate is the true value.
128+
// Range [0,1].
126129
// The sum of all candidate_probabilities must be one.
127130
optional double candidate_probability = 2;
128131
}
129132

130133
//
131-
// \brief A candidate for (a) detected supplementary sign(s) as estimated by the sensor.
132-
//
134+
// \brief A candidate for (a) detected supplementary sign(s) as estimated by the
135+
// sensor.
133136
message CandidateSupplementarySign
134137
{
135-
// The definition of one of more supplementary signs that together define this candidate.
136-
//
138+
// The definition of one of more supplementary signs that together define
139+
// this candidate.
137140
repeated SupplementarySign sign = 1;
138141

139-
// The estimated probability that this candidate is the true value. Range [0,1].
142+
// The estimated probability that this candidate is the true value.
143+
// Range [0,1].
140144
// The sum of all candidate_probabilities must be one.
141145
optional double candidate_probability = 2;
142146
}
@@ -150,38 +154,41 @@ message DetectedTrafficLight
150154
//
151155
optional DetectedObjectHeader header = 1;
152156

153-
// Specific ID of the traffic light as assigned by the sensor internally. Need not match with ground_truth_id.
154-
//
157+
// Specific ID of the traffic light as assigned by the sensor internally.
158+
// Need not match with ground_truth_id.
155159
optional Identifier tracking_id = 2;
156160

157161
// The ID of the original traffic light in the ground truth.
158-
// In case of a ghost detection (no corresponding ground truth), this field should be unset.
162+
// In case of a ghost detection (no corresponding ground truth), this field
163+
// should be unset.
159164
optional Identifier ground_truth_id = 3;
160165

161-
// Description of the detected traffic light.
166+
// A list of candidates for this traffic light as estimated by the sensor.
162167
//
163-
optional TrafficLight traffic_light = 4;
168+
repeated CandidateTrafficLight candidate_traffic_light = 4;
169+
170+
// The root mean squared error of the base parameters of the detected
171+
// traffic light.
172+
optional BaseStationary rmse = 5;
164173

165174
// Determines for which directions the traffic light applies.
166175
//
167-
repeated RelevantDirection relevant_direction = 5;
176+
repeated RelevantDirection relevant_direction = 6;
168177

169178
// Links to the corresponding lanes.
170179
//
171-
repeated RelevantLane relevant_lane = 6;
180+
repeated RelevantLane relevant_lane = 7;
172181

173-
// The estimated probability that this traffic light really exists, not based on history.
182+
// The estimated probability that this traffic light really exists, not
183+
// based on history.
174184
//
175-
// \note Use as confidence measure where a low value means less confidence and a high value indicates
176-
// strong confidence.
177-
optional double existence_probability = 7;
185+
// \note Use as confidence measure where a low value means less confidence
186+
// and a high value indicates strong confidence.
187+
optional double existence_probability = 8;
178188

179189
// The measurement state.
180190
//
181-
optional MeasurementState measurement_state = 8;
182-
// The root mean squared error of the base parameters of the detected traffic light.
183-
//
184-
optional BaseStationary rmse = 9;
191+
optional MeasurementState measurement_state = 9;
185192

186193
//
187194
// \brief Further specifies the relevant directions of the traffic light.
@@ -219,6 +226,21 @@ message DetectedTrafficLight
219226
}
220227
}
221228

229+
//
230+
// \brief A candidate for (a) detected traffic light(s) as estimated by the
231+
// sensor.
232+
message CandidateTrafficLight
233+
{
234+
// The definition of one traffic light that define this candidate.
235+
//
236+
optional TrafficLight traffic_light = 1;
237+
238+
// The estimated probability that this candidate is the true value.
239+
// Range [0,1].
240+
// The sum of all candidate_probabilities must be one.
241+
optional double candidate_probability = 2;
242+
}
243+
222244
//
223245
// \brief Further specifies the relevant lane of a detected object.
224246
//
@@ -242,22 +264,25 @@ message DetectedRoadMarking
242264
//
243265
optional DetectedObjectHeader header = 1;
244266

245-
// Specific ID of the road marking as assigned by the sensor internally. Need not match with ground_truth_id.
267+
// Specific ID of the road marking as assigned by the sensor internally.
268+
// Need not match with ground_truth_id.
246269
//
247270
optional Identifier tracking_id = 2;
248271

249272
// The ID of the original road marking in the ground truth.
250-
// In case of a ghost detection (no corresponding ground truth), this field should be unset.
273+
// In case of a ghost detection (no corresponding ground truth), this field
274+
// should be unset.
251275
optional Identifier ground_truth_id = 3;
252276

253277
// A list of candidates for this road marking as estimated by the sensor.
254278
//
255279
repeated CandidateRoadMarking candidate_road_marking = 4;
256280

257-
// The estimated probability that this road marking really exists, not based on history.
281+
// The estimated probability that this road marking really exists, not based
282+
// on history.
258283
//
259-
// \note Use as confidence measure where a low value means less confidence and a high value indicates
260-
// strong confidence.
284+
// \note Use as confidence measure where a low value means less confidence
285+
// and a high value indicates strong confidence.
261286
optional double existence_probability = 5;
262287

263288
// Links to the corresponding lanes.
@@ -267,8 +292,8 @@ message DetectedRoadMarking
267292
// The measurement state.
268293
//
269294
optional MeasurementState measurement_state = 7;
270-
// The root mean squared error of the base parameters of the detected road marking.
271-
//
295+
// The root mean squared error of the base parameters of the detected road
296+
// marking.
272297
optional BaseStationary rmse = 8;
273298
}
274299

@@ -281,7 +306,8 @@ message CandidateRoadMarking
281306
//
282307
optional RoadMarking road_marking = 1;
283308

284-
// The estimated probability that this candidate is the true value. Range [0,1].
309+
// The estimated probability that this candidate is the true value.
310+
// Range [0,1].
285311
// The sum of all candidate_probabilities must be one.
286312
optional double candidate_probability = 2;
287313
}

0 commit comments

Comments
 (0)