Struct DetectedTrafficLight¶
Defined in File osi_detectedtrafficlight.proto
Struct Documentation¶
-
struct
DetectedTrafficLight¶ A traffic light in the environment as detected by the sensor.
One detected traffic light message defines a single ‘bulb’ and not a box of several bulbs, e.g. red, yellow, green are three separate detected traffic lights.
Public Members
-
optional DetectedItemHeader osi3::DetectedTrafficLight::header = 1 Common information of one detected item.
-
optional BaseStationary osi3::DetectedTrafficLight::base = 2 The base parameters of the traffic light.
BaseStationary::orientationx-axis is view normal of the traffic light’s icon.
-
optional BaseStationary osi3::DetectedTrafficLight::base_rmse = 3 The root mean squared error of the base parameters of the detected traffic light’s geometry.
TrafficLight::basehas to be identical for allcandidatetraffic lights.
-
repeated CandidateTrafficLight osi3::DetectedTrafficLight::candidate = 4 A list of candidates for this traffic light as estimated by the sensor.
- Note
OSI uses singular instead of plural for repeated field names.
-
struct
CandidateTrafficLight¶ A candidate for a detected traffic light as estimated by the sensor.
Public Members
-
optional double osi3::DetectedTrafficLight::CandidateTrafficLight::probability = 1 The estimated probability that this candidate is the true value.
Range: [0,1]
- Note
The sum of all
probabilitymust be one. This probability is given under the condition ofDetectedItemHeader::existence_probability.
-
optional TrafficLight::Classification osi3::DetectedTrafficLight::CandidateTrafficLight::classification = 2 The classification of one traffic light that define this candidate.
- Note
IDs, which are referenced in this message, usually reference to
DetectedXXX::tracking_idIDs.
-
-