open_simulation_interface  v3.4.0 (2021-11-18)
osi3::DetectedTrafficLight Struct Reference

A traffic light in the environment as detected by the sensor. More...

Collaboration diagram for osi3::DetectedTrafficLight:

Classes

struct  CandidateTrafficLight
 A candidate for a detected traffic light as estimated by the sensor. More...
 

Public Attributes

optional DetectedItemHeader header = 1
 
optional BaseStationary base = 2
 
optional BaseStationary base_rmse = 3
 
repeated CandidateTrafficLight candidate = 4
 
optional ColorDescription color_description = 5
 

Detailed Description

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.

Member Data Documentation

◆ base

optional BaseStationary osi3::DetectedTrafficLight::base = 2

The base parameters of the traffic light.

BaseStationary::orientation x-axis is view normal of the traffic light's icon.

◆ base_rmse

optional BaseStationary osi3::DetectedTrafficLight::base_rmse = 3

The root mean squared error of the base parameters of the detected traffic light's geometry. TrafficLight::base has to be identical for all candidate traffic lights.

◆ candidate

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.

◆ color_description

optional ColorDescription osi3::DetectedTrafficLight::color_description = 5

The visual color of the traffic light.

Note
This does not represent the semantic classification but the visual appearance. For semantic classification of the traffic light use the color field in CandidateTrafficLight::classification.

◆ header

optional DetectedItemHeader osi3::DetectedTrafficLight::header = 1

Common information of one detected item.


The documentation for this struct was generated from the following file: