open_simulation_interface
v3.4.0 (2021-11-18)
|
The state of the lights of a vehicle. More...
Public Types | |
enum | IndicatorState { INDICATOR_STATE_UNKNOWN = 0 , INDICATOR_STATE_OTHER = 1 , INDICATOR_STATE_OFF = 2 , INDICATOR_STATE_LEFT = 3 , INDICATOR_STATE_RIGHT = 4 , INDICATOR_STATE_WARNING = 5 } |
enum | GenericLightState { GENERIC_LIGHT_STATE_UNKNOWN = 0 , GENERIC_LIGHT_STATE_OTHER = 1 , GENERIC_LIGHT_STATE_OFF = 2 , GENERIC_LIGHT_STATE_ON = 3 , GENERIC_LIGHT_STATE_FLASHING_BLUE = 4 , GENERIC_LIGHT_STATE_FLASHING_BLUE_AND_RED = 5 , GENERIC_LIGHT_STATE_FLASHING_AMBER = 6 } |
enum | BrakeLightState { BRAKE_LIGHT_STATE_UNKNOWN = 0 , BRAKE_LIGHT_STATE_OTHER = 1 , BRAKE_LIGHT_STATE_OFF = 2 , BRAKE_LIGHT_STATE_NORMAL = 3 , BRAKE_LIGHT_STATE_STRONG = 4 } |
Public Attributes | |
optional IndicatorState | indicator_state = 1 |
optional GenericLightState | front_fog_light = 2 |
optional GenericLightState | rear_fog_light = 3 |
optional GenericLightState | head_light = 4 |
optional GenericLightState | high_beam = 5 |
optional GenericLightState | reversing_light = 6 |
optional BrakeLightState | brake_light_state = 7 |
optional GenericLightState | license_plate_illumination_rear = 8 |
optional GenericLightState | emergency_vehicle_illumination = 9 |
optional GenericLightState | service_vehicle_illumination = 10 |
The state of the lights of a vehicle.
Definition of brake light states.
Definition of generic light states for light that may be on or off.
Definition of indicator states.
optional BrakeLightState osi3::MovingObject::VehicleClassification::LightState::brake_light_state = 7 |
State of the brake lights.
optional GenericLightState osi3::MovingObject::VehicleClassification::LightState::emergency_vehicle_illumination = 9 |
Lighting of emergency vehicles (ambulance, fire engine, police car, etc.). Must be set only if a vehicle is allowed to use this illumination type.
optional GenericLightState osi3::MovingObject::VehicleClassification::LightState::front_fog_light = 2 |
State of the front fog light.
optional GenericLightState osi3::MovingObject::VehicleClassification::LightState::head_light = 4 |
State of the head lights.
optional GenericLightState osi3::MovingObject::VehicleClassification::LightState::high_beam = 5 |
State of the high beam.
optional IndicatorState osi3::MovingObject::VehicleClassification::LightState::indicator_state = 1 |
State of the object's indicators.
optional GenericLightState osi3::MovingObject::VehicleClassification::LightState::license_plate_illumination_rear = 8 |
State of the (rear) license plate illumination.
optional GenericLightState osi3::MovingObject::VehicleClassification::LightState::rear_fog_light = 3 |
State of the rear fog light.
optional GenericLightState osi3::MovingObject::VehicleClassification::LightState::reversing_light = 6 |
State of the reversing light.
optional GenericLightState osi3::MovingObject::VehicleClassification::LightState::service_vehicle_illumination = 10 |
Lighting of service vehicles (snow removal, garbage truck, towing vehicle, slow or wide vehicle, etc.). Must be set only if a vehicle is allowed to use this illumination type.