osi3::TrafficAction::CustomAction Struct Reference

Custom Action. More...

Collaboration diagram for osi3::TrafficAction::CustomAction:

Public Attributes

optional ActionHeader action_header = 1
 The Action Header. More...
 
optional string command = 2
 The custom command given to the traffic participant. More...
 
optional string command_type = 3
 The type of the custom command given to the traffic participant. More...
 

Detailed Description

Custom Action.

This action assigns a custom command to a traffic participant. The syntax and semantics of this action is implementation defined. It is entirely up to each individual traffic participant which custom commands it supports, if any, and how they must be phrased.

Note
This action is aligned with CustomCommandAction of OpenSCENARIO 1.0 providing a customizable user defined action.

Member Data Documentation

◆ action_header

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

The Action Header.

◆ command

optional string osi3::TrafficAction::CustomAction::command = 2

The custom command given to the traffic participant.

Used to convey a specific instruction (for example, "exit_highway"), or event (for example, "left_indicator_activated").

Note
This corresponds to the content of the OpenSCENARIO 1.0 CustomCommandAction field.

◆ command_type

optional string osi3::TrafficAction::CustomAction::command_type = 3

The type of the custom command given to the traffic participant.

Can be used to simplify how commands are grouped. For example, the command_type could be "sensor_failure" and the command value could be "front_right_camera". This avoids long commands, like "sensor_failure: front_right_camera".

Note
This corresponds to the "type" attribute of the OpenSCENARIO 1.0 CustomCommandAction.

  • osi_trafficcommand.proto