@@ -28,6 +28,9 @@ def apply_event_commands(
2828 Index of the current flight phase.
2929 node_index : int
3030 Index of the current time node.
31+ command_time : float
32+ Simulation time used to apply the commands when the event does not
33+ provide an exact time.
3134
3235 Returns
3336 -------
@@ -70,10 +73,6 @@ def apply_rollback_command(flight, time, state):
7073 ----------
7174 flight : Flight
7275 Flight instance being updated.
73- event_results : dict
74- Result payload returned by the event system.
75- phase : _FlightPhase
76- Current flight phase.
7776 time : float
7877 Interpolated simulation time to restore.
7978 state : array_like
@@ -94,6 +93,8 @@ def apply_disable_commands(_, event_results, node_index, event, phase, time):
9493
9594 Parameters
9695 ----------
96+ _ : Flight
97+ Flight instance (unused; accepted for a uniform command signature).
9798 event_results : dict
9899 Result payload returned by the event system.
99100 node_index : int
@@ -102,6 +103,8 @@ def apply_disable_commands(_, event_results, node_index, event, phase, time):
102103 Event currently being processed.
103104 phase : _FlightPhase
104105 Current flight phase.
106+ time : float
107+ Simulation time at which the events are disabled.
105108
106109 Returns
107110 -------
@@ -144,6 +147,8 @@ def apply_enable_commands(flight, event_results, node_index, event, phase, time)
144147
145148 Parameters
146149 ----------
150+ flight : Flight
151+ Flight instance being updated.
147152 event_results : dict
148153 Result payload returned by the event system.
149154 node_index : int
@@ -152,6 +157,8 @@ def apply_enable_commands(flight, event_results, node_index, event, phase, time)
152157 Event currently being processed.
153158 phase : _FlightPhase
154159 Current flight phase.
160+ time : float
161+ Simulation time at which the events are enabled.
155162
156163 Returns
157164 -------
@@ -260,6 +267,8 @@ def apply_new_phase_or_derivative(
260267 Index of the current flight phase.
261268 node_index : int
262269 Index of the current time node.
270+ time : float
271+ Simulation time at which the new phase or derivative takes effect.
263272
264273 Returns
265274 -------
@@ -317,6 +326,8 @@ def apply_termination(flight, event_results, phase, phase_index, node_index, tim
317326 Index of the current flight phase.
318327 node_index : int
319328 Index of the current time node.
329+ time : float
330+ Simulation time at which the flight is terminated.
320331
321332 Returns
322333 -------
@@ -358,12 +369,10 @@ def apply_event_list_updates(flight, event_results, phase, time):
358369 Flight instance being updated.
359370 event_results : dict
360371 Result payload returned by the event system.
361- node_index : int
362- Index of the current time node.
363- event : Event
364- Event currently being processed.
365372 phase : _FlightPhase
366373 Current flight phase.
374+ time : float
375+ Simulation time at which the new events are scheduled.
367376
368377 Returns
369378 -------
0 commit comments