open_simulation_interface
v3.4.0 (2021-11-18)
|
Longitudinal Distance Action. More...
Public Attributes | |
optional ActionHeader | action_header = 1 |
optional Identifier | target_traffic_participant_id = 2 |
optional double | distance = 3 |
optional bool | freespace = 4 |
optional bool | follow = 5 |
optional DynamicConstraints | dynamic_constraints = 6 |
Longitudinal Distance Action.
The action tells the (host) traffic participant to reach a certain longitudinal distance relative to a target traffic participant. The longitudinal distance is defined as the distance along the centerline of the lane, on which the (host) traffic participant is currently located. The interpolation strategy between centerline points for calculating that distance along the centerline is open to the traffic participant modeller.
optional ActionHeader osi3::TrafficAction::LongitudinalDistanceAction::action_header = 1 |
Action Header of the message
optional double osi3::TrafficAction::LongitudinalDistanceAction::distance = 3 |
The distance to reach along the lane
Unit: m
optional DynamicConstraints osi3::TrafficAction::LongitudinalDistanceAction::dynamic_constraints = 6 |
Parameter that assings either unlimited dynamics (if omitted) or limited maxAcceleration/maxDeceleration/maxSpeed to the action.
optional bool osi3::TrafficAction::LongitudinalDistanceAction::follow = 5 |
Define wheather the traffic participant should only reach the distance once or if it should also keep the distance after having reached it. True: the traffic participant shall approach the reference participant and follow with the distance specified until the action is aborted (communicate with AbortActionsAction). False: the action ends as soon as the traffic participant has reached the specified distance (communicate with EndActionsAction).
optional bool osi3::TrafficAction::LongitudinalDistanceAction::freespace = 4 |
Determine the measurement of longitudinal distance between the traffic participant receiving this action and the reference traffic participant. True: Longitudinal distance is measured using the distance between closest bounding box points. False: Longitudinal distance is mesasured using the distance between the center of each object's bounding box.
optional Identifier osi3::TrafficAction::LongitudinalDistanceAction::target_traffic_participant_id = 2 |
Unique Id of the reference traffic participant to which the distance is defined.