Skip to content

Commit 7b05291

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 1aad35f commit 7b05291

File tree

2 files changed

+186
-148
lines changed

2 files changed

+186
-148
lines changed

osi_detectedlandmark.proto

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -192,35 +192,34 @@ message DetectedTrafficLight
192192
//
193193
optional Identifier ground_truth_id = 3;
194194

195-
// Description of the detected traffic light.
195+
// A list of candidates for this traffic light as estimated by the sensor.
196196
//
197-
optional TrafficLight traffic_light = 4;
197+
repeated CandidateTrafficLight candidate_traffic_light = 4;
198+
199+
// The root mean squared error of the base parameters of the detected
200+
// traffic light.
201+
optional BaseStationary rmse = 5;
198202

199203
// Determines for which directions the traffic light applies.
200204
//
201-
repeated RelevantDirection relevant_direction = 5;
205+
repeated RelevantDirection relevant_direction = 6;
202206

203207
// Links to the corresponding lanes.
204208
//
205-
repeated RelevantLane relevant_lane = 6;
209+
repeated RelevantLane relevant_lane = 7;
206210

207211
// The estimated probability that this traffic light really exists, not
208212
// based on history.
209213
//
210214
// \note Use as confidence measure where a low value means less confidence
211215
// and a high value indicates strong confidence.
212216
//
213-
optional double existence_probability = 7;
217+
optional double existence_probability = 8;
214218

215219
// The measurement state.
216220
//
217-
optional MeasurementState measurement_state = 8;
221+
optional MeasurementState measurement_state = 9;
218222

219-
// The root mean squared error of the base parameters of the detected
220-
// traffic light.
221-
//
222-
optional BaseStationary rmse = 9;
223-
224223
// A list of sensors which detected this detected entity.
225224
//
226225
// If SensorData has detected entities and all detections are missing, then
@@ -272,6 +271,21 @@ message DetectedTrafficLight
272271
}
273272
}
274273

274+
//
275+
// \brief A candidate for (a) detected traffic light(s) as estimated by the
276+
// sensor.
277+
message CandidateTrafficLight
278+
{
279+
// The definition of one traffic light that define this candidate.
280+
//
281+
optional TrafficLight traffic_light = 1;
282+
283+
// The estimated probability that this candidate is the true value.
284+
// Range [0,1].
285+
// The sum of all candidate_probabilities must be one.
286+
optional double candidate_probability = 2;
287+
}
288+
275289
//
276290
// \brief Further specifies the relevant lane of a detected object.
277291
//

0 commit comments

Comments
 (0)