open_simulation_interface
v3.4.0 (2021-11-18)
|
Information for the classification of vehicles regarding MovingObject
(host or other).
More...
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 |
Information for the classification of vehicles regarding MovingObject
(host or other).
Definition of vehicle types.
optional bool osi3::MovingObject::VehicleClassification::has_trailer = 3 |
Flag defining whether the vehicle has an attached trailer.
optional LightState osi3::MovingObject::VehicleClassification::light_state = 2 |
The light state of the vehicle.
optional Identifier osi3::MovingObject::VehicleClassification::trailer_id = 4 |
Id of the attached trailer.
\rules check_if this.has_trailer is_equal_to true else do_check is_set \endrules
optional Type osi3::MovingObject::VehicleClassification::type = 1 |
The type of the vehicle.