open_simulation_interface
v3.4.0 (2021-11-18)
|
A simulated object that is either a vehicle or another moving object (animal, pedestrian, etc), but not a stationary object (TrafficLight
, TrafficSign
, or StationaryObject
).
More...
Classes | |
struct | MovingObjectClassification |
Information for the classification of moving objects regarding MovingObject (host or other). More... | |
struct | VehicleAttributes |
The vehicle attributes for MovingObject (host or other). More... | |
struct | VehicleClassification |
Information for the classification of vehicles regarding MovingObject (host or other). More... | |
Public Types | |
enum | Type { TYPE_UNKNOWN = 0 , TYPE_OTHER = 1 , TYPE_VEHICLE = 2 , TYPE_PEDESTRIAN = 3 , TYPE_ANIMAL = 4 } |
Public Attributes | |
optional Identifier | id = 1 |
optional BaseMoving | base = 2 |
optional Type | type = 3 |
repeated Identifier | assigned_lane_id = 4 |
optional VehicleAttributes | vehicle_attributes = 5 |
optional VehicleClassification | vehicle_classification = 6 |
optional string | model_reference = 7 |
repeated StatePoint | future_trajectory = 8 |
optional MovingObjectClassification | moving_object_classification = 9 |
repeated ExternalReference | source_reference = 10 |
optional ColorDescription | color_description = 11 |
A simulated object that is either a vehicle or another moving object (animal, pedestrian, etc), but not a stationary object (TrafficLight
, TrafficSign
, or StationaryObject
).
MovingObject::vehicle_extension
has to be filled if the MovingObject::Type
is a vehicle. repeated Identifier osi3::MovingObject::assigned_lane_id = 4 |
The IDs of the lanes that this object is assigned to.
optional BaseMoving osi3::MovingObject::base = 2 |
The base parameters of the vehicle.
optional ColorDescription osi3::MovingObject::color_description = 11 |
The dominating color of the material of the moving object.
repeated StatePoint osi3::MovingObject::future_trajectory = 8 |
The trajectory that this moving object expects to follow in the future.
This is not externally perceivable information, rather this is to aid realistic simulation of traffic participants that are not under test. This information should not be made available to the stack under test.
optional Identifier osi3::MovingObject::id = 1 |
The ID of the object.
\rules is_globally_unique \endrules
optional string osi3::MovingObject::model_reference = 7 |
Opaque reference of an associated 3D model of the moving object.
optional MovingObjectClassification osi3::MovingObject::moving_object_classification = 9 |
Specific information about the classification of the vehicle.
repeated ExternalReference osi3::MovingObject::source_reference = 10 |
Optional external reference to the moving-object source
The external reference points to the source of an moving object, if it is derived from an external sources like OpenSCENARIO.
For example, to reference OpenSCENARIO entities of the type Vehicle or Pedestrian, which describe moving objects, the items should be set as follows:
identifier[1] = name of Vehicle/Pedestrian in Entity
optional Type osi3::MovingObject::type = 3 |
The type of the object.
optional VehicleAttributes osi3::MovingObject::vehicle_attributes = 5 |
Specific information about the vehicle.
type
is TYPE_VEHICLE .\rules check_if this.type is_equal_to 2 else do_check is_set \endrules
optional VehicleClassification osi3::MovingObject::vehicle_classification = 6 |
Specific information about the classification of the vehicle.
type
is TYPE_VEHICLE .\rules check_if this.type is_equal_to 2 else do_check is_set \endrules