10000 BUG: fixed AGL altitude in _FlightPrints.events_registered (#788) · RocketPy-Team/RocketPy@9407470 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9407470

Browse files
authored
BUG: fixed AGL altitude in _FlightPrints.events_registered (#788)
* BUG: fixed AGL altitude in _FlightPrints.events_registered * updeted CHANGELOG
1 parent 88bc043 commit 9407470

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-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
- BUG: do not allow drawing rockets with no aerodynamic surface [#774](https://github.com/RocketPy-Team/RocketPy/pull/774)
4646
- BUG: update flight simulation logic to include burn start time [#778](https://github.com/RocketPy-Team/RocketPy/pull/778)
47+
- BUG: fixed AGL altitude print for parachutes with lag [#788](https://github.com/RocketPy-Team/RocketPy/pull/788)
4748

4849
## [v1.8.0] - 2025-01-20
4950

rocketpy/prints/flight_prints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def events_registered(self):
245245
print(f"\tFreestream speed at inflation: {speed:.3f} m/s")
246246
print(
247247
f"\tAltitude at inflation: {altitude:.3f} m (ASL) | "
248-
f"{self.flight.altitude(trigger_time):.3f} m (AGL)"
248+
f"{self.flight.altitude(open_time):.3f} m (AGL)"
249249
)
250250

251251
def impact_conditions(self):

0 commit comments

Comments
 (0)
0