-
Notifications
You must be signed in to change notification settings - Fork 130
Description
It needs to be clarified if and how the state of an Action shall be transported to a TrafficParticipant. Looking at OpenSCENARIO 1.0 there is a State machine defined with the states Standby, Running and Complete. This state machine implies that certain Actions have a time and run (status: Running) until they are executed (status: Complete). This is made explicit in the Appendix A, where it is specified when an action ends (e.g. on reaching the speed, by reaching the targeted distance, by reaching the lane, ...).
Between the states, there are state transitions (Start, End, Stop, Skip) defined.
We should clarify if there shall be a feedback from the TrafficParticipant (or if the scenario engine decides about completion) and if the state transitions are relevant information to a TrafficParticipant.
Different solutions seem to be possible and shall be discussed:
- Scenario Engine sends the respective Action(s) as TrafficCommands only once at the beginning of the Running state (as if the actions didn't have a time). The TrafficParticipant wouldn't be aware, when the scenario engine would regard the action as being completed.
- Scenario Engine sends the respective Action(s) as TrafficCommands, as long as they are in Running State. The TrafficParticipant would be aware in this case, if the action is regarded as being completed. But it would not be aware about the transition. E.g. if there was a stop trigger (which means unsuccessful completion), this information would not be transferred.
- Scenario Engine sends the respective Action(s) as TrafficCommands only once at the beginning of the Running state but also sends the state transition (maybe here some more specification would be needed in OpenSCENARIO 1.x what shall happen, if an Action, e.g. LaneChangeAction, is stopped prior to complete execution with a stopTransition).
- The TrafficParticipant sends back Feedback (e.g. via TrafficUpdate) if an action is completed or if itself stops an Action. In this case the decision, if an action is completed, would not be the domain of the scenario engine anymore, although it should handle the state machine. Probably the most difficult solution, maybe not appropriate for now...