Skip to content

BUG: fixed AGL altitude in _FlightPrints.events_registered #788

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion rocketpy/prints/flight_prints.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down