File tree Expand file tree Collapse file tree 1 file changed +28
-1
lines changed
Expand file tree Collapse file tree 1 file changed +28
-1
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,11 @@ message TrafficAction
9797
9898 // An EndActionsAction
9999 //
100- optional EndActionsAction end_actions_action = 7 ;
100+ optional EndActionsAction end_actions_action = 7 ;
101+
102+ // A CustomAction
103+ //
104+ optional CustomAction custom_action = 8 ;
101105}
102106
103107//
@@ -505,3 +509,26 @@ message EndActionsAction
505509 //
506510 repeated Identifier target_action_id = 2 ;
507511}
512+
513+ //
514+ // \brief Custom Action.
515+ //
516+ // This action assigns a custom command to a traffic participant.
517+ // The syntax and semantics of this action is implementation defined.
518+ // It is entirely up to each individual traffic participant which
519+ // custom commands it supports, if any, and how they must be phrased.
520+ //
521+ // \note This action is aligned with CustomCommandAction of OpenSCENARIO 1.0
522+ // providing a customizable user defined action.
523+ //
524+
525+ message CustomAction
526+ {
527+ // The Action Header
528+ //
529+ optional ActionHeader action_header = 1 ;
530+
531+ // The custom command given to the traffic participant.
532+ //
533+ optional string command = 2 ;
534+ }
You can’t perform that action at this time.
0 commit comments