@@ -9,16 +9,16 @@ package osi3;
9
9
10
10
//
11
11
// \brief This message enables the traffic participant model to send updates
12
- // to the scenario engine about the execution of its received \c TrafficCommand input. While traffic
13
- // actions are usually executed successfully by the traffic participant
12
+ // to the scenario engine about the execution of its received \c TrafficCommand input.
13
+ // While traffic actions are usually executed successfully by the traffic participant
14
14
// there may be actions which the traffic participant is not able to execute
15
15
// either for capability or situation-specific reasons. This message gives
16
16
// the traffic participant the basic possiblity to send feedback if an action
17
17
// cannot happen as requested by the \c TrafficCommand. Currently, it is out of
18
18
// scope to standardize the exact reason for non-executability or failed execution
19
19
// because the reason can have multiple explantions. The point in time
20
- // for this message to be sent is only restricted to be after the \c TrafficCommand
21
- // with the corresponding traffic action(s) has been sent. The
20
+ // for this message to be sent is only restricted to be after (or at the same time)
21
+ // the \c TrafficCommand with the corresponding traffic action(s) has been sent. The
22
22
// responsibility for deciding about successful or unsuccessful scenario execution
23
23
// lies fully on the side of the scenario engine.
24
24
//
@@ -44,24 +44,31 @@ message TrafficCommandUpdate
44
44
//
45
45
optional Identifier traffic_participant_id = 3 ;
46
46
47
- // Dismissed traffic action id(s) from the perspective of a traffic participant, if any .
47
+ // Actions which a traffic participant dismisses .
48
48
//
49
- // \note Dismissed traffic action id(s) identify actions which cannot be executed or
50
- // completed by the traffic participant. If more than one action id is supplied it means that
51
- // multiple actions are regarded as dismissed. This field must have the same value(s) as
52
- // \c TrafficAction::ActionHeader::action_id of the prior sent \c TrafficCommand and must correspond
53
- // to the same traffic participant.
49
+ // \note If more than one action id is supplied it means that
50
+ // multiple actions are regarded as dismissed.
54
51
//
55
- // \Attention If an action is not dismissed, abortet by the scenario engine with a
56
- // \c TrafficAction::AbortActionsAction or ended by the scenario engine with a
57
- // \c TrafficAction::EndActionsAction it is assumed that the traffic participant is
58
- // in the process of executing this action.
59
- //
60
- repeated Identifier dismissed_action_id = 4 ;
61
-
62
- // Information about the reason of failure.
52
+ repeated DismissedAction dismissed_action;
53
+
63
54
//
64
- // \note This is just a custom, informal string without a standardized meaning.
55
+ // \brief Action which a traffic participant dismisses.
65
56
//
66
- optional string failure_reason = 5 ;
67
- }
57
+ message DismissedAction
58
+ {
59
+ // Dismissed traffic action id from the perspective of a traffic participant, if any.
60
+ //
61
+ // \note A dismissed traffic action id identifies a \c TrafficAction which cannot be executed or
62
+ // completed by the traffic participant. This field must have the same value as
63
+ // \c TrafficAction::ActionHeader::action_id of a prior sent \c TrafficCommand and must correspond
64
+ // to the same traffic participant.
65
+ //
66
+ optional Identifier dismissed_action_id = 4 ;
67
+
68
+ // Information about the reason of failure.
69
+ //
70
+ // \note This is just a custom, informal string without a standardized meaning.
71
+ //
72
+ optional string failure_reason = 5 ;
73
+ }
74
+ }
0 commit comments