File tree Expand file tree Collapse file tree 1 file changed +27
-1
lines changed
Expand file tree Collapse file tree 1 file changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,11 @@ message TrafficAction
9898 // An EndActionsAction
9999 //
100100 optional EndActionsAction end_actions_action = 7 ;
101-
101+
102+ // A CustomAction
103+ //
104+ optional CustomAction custom_action = 8 ;
105+
102106 // A LongitudinalDistanceAction
103107 //
104108 optional LongitudinalDistanceAction longitudinal_distance_action = 9 ;
@@ -708,3 +712,25 @@ message DynamicConstraints{
708712 optional double max_speed = 3 ;
709713}
710714
715+ //
716+ // \brief Custom Action.
717+ //
718+ // This action assigns a custom command to a traffic participant.
719+ // The syntax and semantics of this action is implementation defined.
720+ // It is entirely up to each individual traffic participant which
721+ // custom commands it supports, if any, and how they must be phrased.
722+ //
723+ // \note This action is aligned with CustomCommandAction of OpenSCENARIO 1.0
724+ // providing a customizable user defined action.
725+ //
726+
727+ message CustomAction
728+ {
729+ // The Action Header
730+ //
731+ optional ActionHeader action_header = 1 ;
732+
733+ // The custom command given to the traffic participant.
734+ //
735+ optional string command = 2 ;
736+ }
You can’t perform that action at this time.
0 commit comments