Skip to content

Commit a097ea0

Browse files
committed
MNT: flight.py review updates
- MNT: fixed the order of attributes shifted simulation mode after ode solver - MNT: added flight.simulation in docstring
1 parent c5152fa commit a097ea0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

rocketpy/simulation/flight.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,8 @@ class Flight:
467467
Defined as the minimum angle between the attitude vector and
468468
the freestream velocity vector. Can be called or accessed as
469469
array.
470+
Flight.simulation_mode : str
471+
Simulation mode for the flight. Can be "6 DOF" or "3 DOF".
470472
"""
471473

472474
def __init__( # pylint: disable=too-many-arguments,too-many-statements
@@ -487,8 +489,8 @@ def __init__( # pylint: disable=too-many-arguments,too-many-statements
487489
verbose=False,
488490
name="Flight",
489491
equations_of_motion="standard",
490-
simulation_mode="6 DOF",
491492
ode_solver="LSODA",
493+
simulation_mode="6 DOF",
492494
):
493495
"""Run a trajectory simulation.
494496

0 commit comments

Comments
 (0)