open_simulation_interface
master (560d23a)
|
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 | PedestrianAttributes |
Additional pedestrian data in case the moving object is a human. 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 } |
Definition of object types. More... | |
Public Attributes | |
optional Identifier | id = 1 |
The ID of the object. More... | |
optional BaseMoving | base = 2 |
The base parameters of the vehicle. More... | |
optional Type | type = 3 |
The type of the object. More... | |
repeated Identifier | assigned_lane_id = 4 |
The IDs of the lanes that this object is assigned to. More... | |
optional VehicleAttributes | vehicle_attributes = 5 |
Specific information about the vehicle. More... | |
optional VehicleClassification | vehicle_classification = 6 |
Specific information about the classification of the vehicle. More... | |
optional string | model_reference = 7 |
Opaque reference of an associated 3D model of the moving object. More... | |
repeated StatePoint | future_trajectory = 8 |
The trajectory that this moving object expects to follow in the future. More... | |
optional MovingObjectClassification | moving_object_classification = 9 |
Specific information about the classification of the vehicle. More... | |
repeated ExternalReference | source_reference = 10 |
Optional external reference to the moving-object source. More... | |
optional ColorDescription | color_description = 11 |
The dominating color of the material of the moving object. More... | |
optional PedestrianAttributes | pedestrian_attributes = 12 |
Specific information about the pedestrian. More... | |
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_attributes
and MovingObject::vehicle_classification
have to be filled if the MovingObject::Type
is set to TYPE_VEHICLE. optional Identifier osi3::MovingObject::id = 1 |
The ID of the object.
optional BaseMoving osi3::MovingObject::base = 2 |
The base parameters of the vehicle.
optional Type osi3::MovingObject::type = 3 |
The type of the object.
repeated Identifier osi3::MovingObject::assigned_lane_id = 4 |
The IDs of the lanes that this object is assigned to.
optional VehicleAttributes osi3::MovingObject::vehicle_attributes = 5 |
Specific information about the vehicle.
type
is TYPE_VEHICLE .optional VehicleClassification osi3::MovingObject::vehicle_classification = 6 |
Specific information about the classification of the vehicle.
type
is TYPE_VEHICLE .optional string osi3::MovingObject::model_reference = 7 |
Opaque reference of an associated 3D model 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 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:
optional ColorDescription osi3::MovingObject::color_description = 11 |
The dominating color of the material of the moving object.
optional PedestrianAttributes osi3::MovingObject::pedestrian_attributes = 12 |
Specific information about the pedestrian.
type
is TYPE_PEDESTRIAN.