Skip to content

Commit 224cfe4

Browse files
authored
Merge pull request #168 from OpenSimulationInterface/Suggestion/Remove_Relevant_Lane_and_Direction
Remove RelevantLane and RelevantDirection in Detected...
2 parents 2457074 + e172686 commit 224cfe4

File tree

2 files changed

+15
-89
lines changed

2 files changed

+15
-89
lines changed

osi_detectedlandmark.proto

Lines changed: 1 addition & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,6 @@ message DetectedTrafficSign
4242
//
4343
optional double existence_probability = 7;
4444

45-
// Links to the corresponding lanes.
46-
//
47-
// \note OSI uses singular instead of plural for repeated field names.
48-
//
49-
repeated RelevantLane relevant_lane_id = 10;
50-
5145
// A list of sensors which detected this detected entity.
5246
//
5347
// If \c SensorData has detected entities and all detections are missing,
@@ -60,7 +54,7 @@ message DetectedTrafficSign
6054
//
6155
// \note OSI uses singular instead of plural for repeated field names.
6256
//
63-
repeated Identifier sensor_id = 11;
57+
repeated Identifier sensor_id = 8;
6458

6559
//
6660
// \brief Candidates for a detected sign as estimated by the sensor.
@@ -262,18 +256,6 @@ message DetectedTrafficLight
262256
//
263257
optional EstimatedTrafficLight traffic_light = 4;
264258

265-
// Determines for which directions the traffic light applies.
266-
//
267-
// \note OSI uses singular instead of plural for repeated field names.
268-
//
269-
repeated RelevantDirection relevant_direction = 6;
270-
271-
// Links to the corresponding lanes.
272-
//
273-
// \note OSI uses singular instead of plural for repeated field names.
274-
//
275-
repeated RelevantLane relevant_lane = 7;
276-
277259
// The estimated probability that this traffic light really exists, not
278260
// based on history.
279261
//
@@ -346,62 +328,6 @@ message DetectedTrafficLight
346328
optional MeasurementState measurement_state = 4;
347329
}
348330
}
349-
350-
//
351-
// \brief Further specifies the relevant directions of the traffic light.
352-
//
353-
message RelevantDirection
354-
{
355-
// The direction the traffic light corresponds to.
356-
//
357-
optional Direction direction = 1;
358-
359-
// Relevance probability.
360-
//
361-
// Range: [0,1]
362-
//
363-
optional double relevance_probability = 2;
364-
365-
// Specifies the different directions.
366-
//
367-
enum Direction
368-
{
369-
// Direction is unknown (must not be used in ground truth).
370-
//
371-
DIRECTION_UNKNOWN = 0;
372-
373-
// Other (unspecified but known) direction.
374-
//
375-
DIRECTION_OTHER = 1;
376-
377-
// Direction is straight.
378-
//
379-
DIRECTION_STRAIGHT = 2;
380-
381-
// Direction is left.
382-
//
383-
DIRECTION_LEFT = 3;
384-
385-
// Direction is right.
386-
//
387-
DIRECTION_RIGHT = 4;
388-
}
389-
}
390-
}
391-
392-
//
393-
// \brief Further specifies the relevant lane of a detected object.
394-
//
395-
message RelevantLane
396-
{
397-
// Tracking ID of the lane segment.
398-
//
399-
optional Identifier lane_id = 1;
400-
401-
// Relevance probability.
402-
//
403-
// Range: [0,1]
404-
optional double relevance_probability = 2;
405331
}
406332

407333
//
@@ -432,12 +358,6 @@ message DetectedRoadMarking
432358
//
433359
optional double existence_probability = 5;
434360

435-
// Links to the corresponding lanes.
436-
//
437-
// \note OSI uses singular instead of plural for repeated field names.
438-
//
439-
repeated RelevantLane relevant_lane = 6;
440-
441361
// A list of sensors which detected this detected entity.
442362
//
443363
// If \c SensorData has detected entities and all detections are missing,

osi_landmark.proto

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,6 @@ message TrafficSign
3333
//
3434
repeated SupplementarySign supplementary_sign = 8;
3535

36-
// The IDs of the lanes that the traffic sign is assigned to.
37-
// May be multiple if the traffic sign is valid for multiple lanes.
38-
//
39-
// \note OSI uses singular instead of plural for repeated field names.
40-
//
41-
repeated Identifier assigned_lane_id = 9;
42-
4336
// Definition of the variability of the traffic sign.
4437
//
4538
enum Variability
@@ -62,7 +55,6 @@ message TrafficSign
6255
VARIABILITY_VARIABLE = 3;
6356
}
6457

65-
6658
// Unit for values on traffic sign
6759
//
6860
enum Unit
@@ -225,6 +217,13 @@ message TrafficSign
225217
//
226218
optional DirectionScope direction_scope = 5;
227219

220+
// The IDs of the lanes that the sign is assigned to.
221+
// May be multiple if the sign is valid for multiple lanes.
222+
//
223+
// \note OSI uses singular instead of plural for repeated field names.
224+
//
225+
repeated Identifier assigned_lane_id = 6;
226+
228227
// Definition of traffic sign types.
229228
// Numbers are given according to German StVO.
230229
//
@@ -966,6 +965,13 @@ message TrafficSign
966965
//
967966
optional Unit value_4_unit = 9;
968967

968+
// The IDs of the lanes that the sign is assigned to.
969+
// May be multiple if the sign is valid for multiple lanes.
970+
//
971+
// \note OSI uses singular instead of plural for repeated field names.
972+
//
973+
repeated Identifier assigned_lane_id = 10;
974+
969975
// Definition of supplementary sign types.
970976
// See \c TrafficSign::Type for further information.
971977
//

0 commit comments

Comments
 (0)