Skip to content
Open
25 changes: 25 additions & 0 deletions osi_trafficcommand.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ option optimize_for = SPEED;

import "osi_version.proto";
import "osi_common.proto";
import "osi_route.proto";

package osi3;

Expand Down Expand Up @@ -130,6 +131,10 @@ message TrafficAction
//
optional TeleportAction teleport_action = 12;

// A AssignRouteAction
//
optional AssignRouteAction assign_route_action = 13;

//
// \brief The action header
//
Expand Down Expand Up @@ -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;
}
}
Loading