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

Information for the classification of vehicles regarding MovingObject (host or other). More...

Collaboration diagram for osi3::MovingObject::VehicleClassification:

Classes

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

Public Types

enum  Type {
  TYPE_UNKNOWN = 0 , TYPE_OTHER = 1 , TYPE_SMALL_CAR = 2 , TYPE_COMPACT_CAR = 3 ,
  TYPE_MEDIUM_CAR = 4 , TYPE_LUXURY_CAR = 5 , TYPE_DELIVERY_VAN = 6 , TYPE_HEAVY_TRUCK = 7 ,
  TYPE_SEMITRAILER = 8 , TYPE_TRAILER = 9 , TYPE_MOTORBIKE = 10 , TYPE_BICYCLE = 11 ,
  TYPE_BUS = 12 , TYPE_TRAM = 13 , TYPE_TRAIN = 14 , TYPE_WHEELCHAIR = 15
}
 

Public Attributes

optional Type type = 1
 
optional LightState light_state = 2
 
optional bool has_trailer = 3
 
optional Identifier trailer_id = 4
 

Detailed Description

Information for the classification of vehicles regarding MovingObject (host or other).

Member Enumeration Documentation

◆ Type

Definition of vehicle types.

Enumerator
TYPE_UNKNOWN 

Type of vehicle is unknown (must not be used in ground truth).

TYPE_OTHER 

Other (unspecified but known) type of vehicle.

TYPE_SMALL_CAR 

Vehicle is a small car.

Definition: Hatchback car with maximum length 4 m.

TYPE_COMPACT_CAR 

Vehicle is a compact car.

Definition: Hatchback car with length between 4 and 4.5 m.

TYPE_MEDIUM_CAR 

Vehicle is a medium car.

Definition: Hatchback or sedan with lenght between 4.5 and 5 m.

TYPE_LUXURY_CAR 

Vehicle is a luxury car.

Definition: Sedan or coupe that is longer then 5 m.

TYPE_DELIVERY_VAN 

Vehicle is a delivery van.

Definition: A delivery van.

TYPE_HEAVY_TRUCK 

Vehicle is a heavy truck.

TYPE_SEMITRAILER 

Vehicle is a truck with semitrailer.

TYPE_TRAILER 

Vehicle is a trailer (possibly attached to another vehicle).

TYPE_MOTORBIKE 

Vehicle is a motorbike or moped.

TYPE_BICYCLE 

Vehicle is a bicycle (without motor and specific lights).

TYPE_BUS 

Vehicle is a bus.

TYPE_TRAM 

Vehicle is a tram.

TYPE_TRAIN 

Vehicle is a train.

TYPE_WHEELCHAIR 

Vehicle is a wheelchair.

Member Data Documentation

◆ has_trailer

optional bool osi3::MovingObject::VehicleClassification::has_trailer = 3

Flag defining whether the vehicle has an attached trailer.

◆ light_state

optional LightState osi3::MovingObject::VehicleClassification::light_state = 2

The light state of the vehicle.

◆ trailer_id

optional Identifier osi3::MovingObject::VehicleClassification::trailer_id = 4

Id of the attached trailer.

Note
Field need not be set if has_Trailer is set to false or use value for non valid id.

\rules check_if this.has_trailer is_equal_to true else do_check is_set \endrules

◆ type

optional Type osi3::MovingObject::VehicleClassification::type = 1

The type of the vehicle.


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