Skip to content

Commit e56f185

Browse files
author
Habedank Clemens
committed
merged feature/tp/tc-custom-action into feature/tp/longitudinal-distance-action
2 parents fd7d35f + 72513c8 commit e56f185

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

osi_trafficcommand.proto

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff 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+
}

0 commit comments

Comments
 (0)