diff --git a/CHANGELOG.md b/CHANGELOG.md index b2d8908c2..fdebd8f98 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -44,6 +44,7 @@ Attention: The newest changes should be on top --> - BUG: do not allow drawing rockets with no aerodynamic surface [#774](https://github.com/RocketPy-Team/RocketPy/pull/774) - BUG: update flight simulation logic to include burn start time [#778](https://github.com/RocketPy-Team/RocketPy/pull/778) +- BUG: fixed AGL altitude print for parachutes with lag [#788](https://github.com/RocketPy-Team/RocketPy/pull/788) ## [v1.8.0] - 2025-01-20 diff --git a/rocketpy/prints/flight_prints.py b/rocketpy/prints/flight_prints.py index 06db442f8..d098fd776 100644 --- a/rocketpy/prints/flight_prints.py +++ b/rocketpy/prints/flight_prints.py @@ -245,7 +245,7 @@ def events_registered(self): print(f"\tFreestream speed at inflation: {speed:.3f} m/s") print( f"\tAltitude at inflation: {altitude:.3f} m (ASL) | " - f"{self.flight.altitude(trigger_time):.3f} m (AGL)" + f"{self.flight.altitude(open_time):.3f} m (AGL)" ) def impact_conditions(self):