osi3::TrafficAction::LongitudinalDistanceAction Struct Reference
Public Attributes
optional ActionHeader | action_header = 1 |
Action Header of the message. More... | |
optional Identifier | target_traffic_participant_id = 2 |
Unique Id of the reference traffic participant to which the distance is defined. More... | |
optional double | distance = 3 |
The distance to reach along the lane. More... | |
optional bool | freespace = 4 |
Determine the measurement of longitudinal distance between the traffic participant receiving this action and the reference traffic participant. More... | |
optional bool | 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. More... | |
optional DynamicConstraints | dynamic_constraints = 6 |
Parameter that assings either unlimited dynamics (if omitted) or limited maxAcceleration/maxDeceleration/maxSpeed to the action. More... | |
Detailed Description
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.
- Note
- This action is aligned with LongitudinalDistanceAction of OpenSCENARIO 1.0 defining the reference traffic participant and the distance.
- Limitation: This concept currently only works for lanes with a centerline, i.e. for lanes of TYPE_DRIVING, not for lanes of TYPE_NONDRIVING or TYPE_INTERSECTION.
Member Data Documentation
◆ action_header
optional ActionHeader osi3::TrafficAction::LongitudinalDistanceAction::action_header = 1 |
Action Header of the message.
◆ target_traffic_participant_id
optional Identifier osi3::TrafficAction::LongitudinalDistanceAction::target_traffic_participant_id = 2 |
Unique Id of the reference traffic participant to which the distance is defined.
◆ distance
optional double osi3::TrafficAction::LongitudinalDistanceAction::distance = 3 |
The distance to reach along the lane.
Unit: m
◆ freespace
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.
◆ follow
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).
◆ dynamic_constraints
optional DynamicConstraints osi3::TrafficAction::LongitudinalDistanceAction::dynamic_constraints = 6 |
Parameter that assings either unlimited dynamics (if omitted) or limited maxAcceleration/maxDeceleration/maxSpeed to the action.
- osi_trafficcommand.proto