Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions rocketpy/Flight.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ class Flight:
Original rail length minus the distance measured from nozzle exit
to the lower rail button. It assumes the nozzle to be aligned with
the beginning of the rail.
Flight.name: str
Name of the flight.


Numerical Integration settings:
Expand Down Expand Up @@ -527,6 +529,7 @@ def __init__(
atol=6 * [1e-3] + 4 * [1e-6] + 3 * [1e-3],
timeOvershoot=True,
verbose=False,
name="Flight",
):
"""Run a trajectory simulation.

Expand Down Expand Up @@ -582,6 +585,8 @@ def __init__(
time in some cases. Default is True.
verbose : bool, optional
If true, verbose mode is activated. Default is False.
name : str, optional
Name of the flight. Default is "Flight".

Returns
-------
Expand All @@ -607,6 +612,7 @@ def __init__(
self.initialSolution = initialSolution
self.timeOvershoot = timeOvershoot
self.terminateOnApogee = terminateOnApogee
self.name = name

# Modifying Rail Length for a better out of rail condition
upperRButton = max(self.rocket.railButtons[0])
Expand Down