open_simulation_interface  v3.4.0 (2021-11-18)
osi3::MovingObject::VehicleClassification::LightState Struct Reference

The state of the lights of a vehicle. More...

Collaboration diagram for osi3::MovingObject::VehicleClassification::LightState:

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
 

Detailed Description

The state of the lights of a vehicle.

Member Enumeration Documentation

◆ BrakeLightState

Definition of brake light states.

Enumerator
BRAKE_LIGHT_STATE_UNKNOWN 

Brake light state is unknown (must not be used in ground truth).

BRAKE_LIGHT_STATE_OTHER 

Other (unspecified but known) state of brake light.

BRAKE_LIGHT_STATE_OFF 

Brake lights are off.

BRAKE_LIGHT_STATE_NORMAL 

Brake lights are on with normal intensity.

BRAKE_LIGHT_STATE_STRONG 

Brake lights are on with extra bright intensity (indicating stronger braking).

◆ GenericLightState

Definition of generic light states for light that may be on or off.

Enumerator
GENERIC_LIGHT_STATE_UNKNOWN 

Light state is unknown (must not be used in ground truth).

GENERIC_LIGHT_STATE_OTHER 

Other (unspecified but known) state of light.

GENERIC_LIGHT_STATE_OFF 

Light is off.

GENERIC_LIGHT_STATE_ON 

Light is on.

GENERIC_LIGHT_STATE_FLASHING_BLUE 

Light is flashing blue. To be used for emergency vehicles.

GENERIC_LIGHT_STATE_FLASHING_BLUE_AND_RED 

Light is flashing blue and red. To be used for emergency vehicles.

GENERIC_LIGHT_STATE_FLASHING_AMBER 

Light is flashing amber. To be used for service vehicles.

◆ IndicatorState

Definition of indicator states.

Enumerator
INDICATOR_STATE_UNKNOWN 

Indicator state is unknown (must not be used in ground truth).

INDICATOR_STATE_OTHER 

Other (unspecified but known) state of indicator.

INDICATOR_STATE_OFF 

Indicators are off.

INDICATOR_STATE_LEFT 

Left indicator is on.

INDICATOR_STATE_RIGHT 

Right indicator is on.

INDICATOR_STATE_WARNING 

Hazard/warning light, i.e. both indicators, are on.

Member Data Documentation

◆ brake_light_state

optional BrakeLightState osi3::MovingObject::VehicleClassification::LightState::brake_light_state = 7

State of the brake lights.

◆ emergency_vehicle_illumination

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.

◆ front_fog_light

optional GenericLightState osi3::MovingObject::VehicleClassification::LightState::front_fog_light = 2

State of the front fog light.

◆ head_light

optional GenericLightState osi3::MovingObject::VehicleClassification::LightState::head_light = 4

State of the head lights.

◆ high_beam

optional GenericLightState osi3::MovingObject::VehicleClassification::LightState::high_beam = 5

State of the high beam.

◆ indicator_state

optional IndicatorState osi3::MovingObject::VehicleClassification::LightState::indicator_state = 1

State of the object's indicators.

◆ license_plate_illumination_rear

optional GenericLightState osi3::MovingObject::VehicleClassification::LightState::license_plate_illumination_rear = 8

State of the (rear) license plate illumination.

◆ rear_fog_light

optional GenericLightState osi3::MovingObject::VehicleClassification::LightState::rear_fog_light = 3

State of the rear fog light.

◆ reversing_light

optional GenericLightState osi3::MovingObject::VehicleClassification::LightState::reversing_light = 6

State of the reversing light.

◆ service_vehicle_illumination

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.


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