Skip to content

Commit b11ad3c

Browse files
committed
MNT: allow for exporting of non apogee flights.
1 parent 20dc3be commit b11ad3c

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Attention: The newest changes should be on top -->
4444

4545
### Changed
4646

47+
- MNT: allow for exporting of non apogee flights. [#863](https://github.com/RocketPy-Team/RocketPy/pull/863)
4748
- MNT: bumps min python version to 3.10 [#857](https://github.com/RocketPy-Team/RocketPy/pull/857)
4849
- DOC: Update docs dependencies and sub dependencies [#851](https://github.com/RocketPy-Team/RocketPy/pull/851)
4950
- MNT: extract flight data exporters [#845](https://github.com/RocketPy-Team/RocketPy/pull/845)

rocketpy/plots/monte_carlo_plots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import matplotlib.pyplot as plt
2-
from matplotlib.transforms import offset_copy
32
import numpy as np
3+
from matplotlib.transforms import offset_copy
44

55
from ..tools import generate_monte_carlo_ellipses, import_optional_dependency
66

rocketpy/simulation/flight.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,7 @@ def __init_solution_monitors(self):
11301130
self.out_of_rail_time_index = 0
11311131
self.out_of_rail_state = np.array([0])
11321132
self.apogee_state = np.array([0])
1133+
self.apogee = 0
11331134
self.apogee_time = 0
11341135
self.x_impact = 0
11351136
self.y_impact = 0

0 commit comments

Comments
 (0)