Skip to content
82 changes: 1 addition & 81 deletions osi_detectedlandmark.proto
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,6 @@ message DetectedTrafficSign
//
optional double existence_probability = 7;

// Links to the corresponding lanes.
//
// \note OSI uses singular instead of plural for repeated field names.
//
repeated RelevantLane relevant_lane_id = 10;

// A list of sensors which detected this detected entity.
//
// If \c SensorData has detected entities and all detections are missing,
Expand All @@ -60,7 +54,7 @@ message DetectedTrafficSign
//
// \note OSI uses singular instead of plural for repeated field names.
//
repeated Identifier sensor_id = 11;
repeated Identifier sensor_id = 8;

//
// \brief Candidates for a detected sign as estimated by the sensor.
Expand Down Expand Up @@ -262,18 +256,6 @@ message DetectedTrafficLight
//
optional EstimatedTrafficLight traffic_light = 4;

// Determines for which directions the traffic light applies.
//
// \note OSI uses singular instead of plural for repeated field names.
//
repeated RelevantDirection relevant_direction = 6;

// Links to the corresponding lanes.
//
// \note OSI uses singular instead of plural for repeated field names.
//
repeated RelevantLane relevant_lane = 7;

// The estimated probability that this traffic light really exists, not
// based on history.
//
Expand Down Expand Up @@ -346,62 +328,6 @@ message DetectedTrafficLight
optional MeasurementState measurement_state = 4;
}
}

//
// \brief Further specifies the relevant directions of the traffic light.
//
message RelevantDirection
{
// The direction the traffic light corresponds to.
//
optional Direction direction = 1;

// Relevance probability.
//
// Range: [0,1]
//
optional double relevance_probability = 2;

// Specifies the different directions.
//
enum Direction
{
// Direction is unknown (must not be used in ground truth).
//
DIRECTION_UNKNOWN = 0;

// Other (unspecified but known) direction.
//
DIRECTION_OTHER = 1;

// Direction is straight.
//
DIRECTION_STRAIGHT = 2;

// Direction is left.
//
DIRECTION_LEFT = 3;

// Direction is right.
//
DIRECTION_RIGHT = 4;
}
}
}

//
// \brief Further specifies the relevant lane of a detected object.
//
message RelevantLane
{
// Tracking ID of the lane segment.
//
optional Identifier lane_id = 1;

// Relevance probability.
//
// Range: [0,1]
optional double relevance_probability = 2;
}

//
Expand Down Expand Up @@ -432,12 +358,6 @@ message DetectedRoadMarking
//
optional double existence_probability = 5;

// Links to the corresponding lanes.
//
// \note OSI uses singular instead of plural for repeated field names.
//
repeated RelevantLane relevant_lane = 6;

// A list of sensors which detected this detected entity.
//
// If \c SensorData has detected entities and all detections are missing,
Expand Down
22 changes: 14 additions & 8 deletions osi_landmark.proto
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,6 @@ message TrafficSign
//
repeated SupplementarySign supplementary_sign = 8;

// The IDs of the lanes that the traffic sign is assigned to.
// May be multiple if the traffic sign is valid for multiple lanes.
//
// \note OSI uses singular instead of plural for repeated field names.
//
repeated Identifier assigned_lane_id = 9;

// Definition of the variability of the traffic sign.
//
enum Variability
Expand All @@ -62,7 +55,6 @@ message TrafficSign
VARIABILITY_VARIABLE = 3;
}


// Unit for values on traffic sign
//
enum Unit
Expand Down Expand Up @@ -225,6 +217,13 @@ message TrafficSign
//
optional DirectionScope direction_scope = 5;

// The IDs of the lanes that the sign is assigned to.
// May be multiple if the sign is valid for multiple lanes.
//
// \note OSI uses singular instead of plural for repeated field names.
//
repeated Identifier assigned_lane_id = 6;

// Definition of traffic sign types.
// Numbers are given according to German StVO.
//
Expand Down Expand Up @@ -966,6 +965,13 @@ message TrafficSign
//
optional Unit value_4_unit = 9;

// The IDs of the lanes that the sign is assigned to.
// May be multiple if the sign is valid for multiple lanes.
//
// \note OSI uses singular instead of plural for repeated field names.
//
repeated Identifier assigned_lane_id = 10;

// Definition of supplementary sign types.
// See \c TrafficSign::Type for further information.
//
Expand Down