open_simulation_interface  v3.4.0 (2021-11-18)
osi3::TrafficAction::SpeedAction Struct Reference

Speed action. More...

Collaboration diagram for osi3::TrafficAction::SpeedAction:

Public Attributes

optional ActionHeader action_header = 1
 
optional double absolute_target_speed = 2
 
optional DynamicsShape dynamics_shape = 3
 
optional double duration = 4
 
optional double distance = 5
 

Detailed Description

Speed action.

This action assigns a targeted speed to a traffic participant. The action can be constrained by specifying the dynamics shape or even the duration and the distance of the acceleration / deceleration process.

Note
This action is aligned with SpeedAction of OpenSCENARIO 1.0 defining the targeted speed and optionally the parametrization of the speed transition.

Member Data Documentation

◆ absolute_target_speed

optional double osi3::TrafficAction::SpeedAction::absolute_target_speed = 2

Targeted absolute speed.

◆ action_header

optional ActionHeader osi3::TrafficAction::SpeedAction::action_header = 1

The action header

◆ distance

optional double osi3::TrafficAction::SpeedAction::distance = 5

Distance of the speed change.

A value of 0.0 (the default value) imposes no constraint on the distance, unless the dynamics shape is a step function, where an immediate step is effected.

Unit: m

◆ duration

optional double osi3::TrafficAction::SpeedAction::duration = 4

Duration of the speed change.

A value of 0.0 (the default value) imposes no constraint on the duration, unless the dynamics shape is a step function, where an immediate step is effected.

Unit: s

◆ dynamics_shape

optional DynamicsShape osi3::TrafficAction::SpeedAction::dynamics_shape = 3

Specified transition shape of the speed change action. If the shape is unspecified (enum value 0), the shape of the speed change is open to the traffic participant model.


The documentation for this struct was generated from the following file: