Struct VehicleClassification::LightState

Nested Relationships

This struct is a nested type of Struct MovingObject::VehicleClassification.

Struct Documentation

struct LightState

The state of the lights of a vehicle.

Public Types

enum IndicatorState

Definition of indicator states.

Values:

INDICATOR_STATE_UNKNOWN = 0

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

INDICATOR_STATE_OTHER = 1

Other (unspecified but known) state of indicator.

INDICATOR_STATE_OFF = 2

Indicators are off.

INDICATOR_STATE_LEFT = 3

Left indicator is on.

INDICATOR_STATE_RIGHT = 4

Right indicator is on.

INDICATOR_STATE_WARNING = 5

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

enum GenericLightState

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

Values:

GENERIC_LIGHT_STATE_UNKNOWN = 0

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

GENERIC_LIGHT_STATE_OTHER = 1

Other (unspecified but known) state of light.

GENERIC_LIGHT_STATE_OFF = 2

Light is off.

GENERIC_LIGHT_STATE_ON = 3

Light is on.

GENERIC_LIGHT_STATE_FLASHING_BLUE = 4

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

GENERIC_LIGHT_STATE_FLASHING_BLUE_AND_RED = 5

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

GENERIC_LIGHT_STATE_FLASHING_AMBER = 6

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

enum BrakeLightState

Definition of brake light states.

Values:

BRAKE_LIGHT_STATE_UNKNOWN = 0

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

BRAKE_LIGHT_STATE_OTHER = 1

Other (unspecified but known) state of brake light.

BRAKE_LIGHT_STATE_OFF = 2

Brake lights are off.

BRAKE_LIGHT_STATE_NORMAL = 3

Brake lights are on with normal intensity.

BRAKE_LIGHT_STATE_STRONG = 4

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

Public Members

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

State of the object’s indicators.

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

State of the front fog light.

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

State of the rear 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 GenericLightState osi3::MovingObject::VehicleClassification::LightState::reversing_light = 6

State of the reversing light.

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

State of the brake lights.

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

State of the (rear) license plate 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.

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.