diff --git a/osi_trafficcommand.proto b/osi_trafficcommand.proto index d8763b430..2a0d90d9d 100644 --- a/osi_trafficcommand.proto +++ b/osi_trafficcommand.proto @@ -4,6 +4,7 @@ option optimize_for = SPEED; import "osi_version.proto"; import "osi_common.proto"; +import "osi_route.proto"; package osi3; @@ -130,6 +131,10 @@ message TrafficAction // optional TeleportAction teleport_action = 12; + // A AssignRouteAction + // + optional AssignRouteAction assign_route_action = 13; + // // \brief The action header // @@ -687,4 +692,24 @@ message TrafficAction // optional Orientation3d orientation = 3; } + + // \brief Assign Route Action + // + // This Action allows to assign a route to a traffic participant. + // + // \note This action is aligned with the AssignRouteAction of OpenSCENARIO + // 1.3, with the assumption that the scenario engine resolves the route + // (e.g. converting a "use shortest route" to a concrete route) before + // passing it to the traffic participant. + // + message AssignRouteAction + { + // The Action Header + // + optional ActionHeader action_header = 1; + + // The route to be assigned to the traffic participant. + // + optional Route route = 2; + } }