Skip to content

MAINT: move flutter analysis into utilities submodule #325

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
merged 3 commits into from
Feb 13, 2023

Conversation

Gui-FernandesBR
Copy link
Member

Pull request type

Please check the type of change your PR introduces:

  • Code maintenance (refactoring, formatting, renaming, tests)

Pull request checklist

  • Code base maintenance (refactoring, formatting, renaming):

    • Docs have been reviewed and added / updated if needed
    • Lint (black rocketpy) has passed locally and any fixes were made
    • All tests (pytest --runslow) have passed locally

What is the current behavior?

Fin Flutter Analysis is polluting the Flight.py file!!!

What is the new behavior?

  • A new function fin_flutter_analysis was created inside. Some workarounds to handle with divisions by zero but everything is working as expected!
  • New test to cover the flutter analysis

Does this introduce a breaking change?

  • Yes (The flight class docstring had to be modified, removing the flutter parts)

Other information

Adding an example to the utilities notebook would be interesting, but I do not see reasons for doing it right now at this PR. It is better to give an example after we get near to the next release.

@Gui-FernandesBR
Copy link
Member Author

Ready for review ✅👌

@MateusStano
Copy link
Member

Does this flutter calculation not work with Elliptical fins?

Since I don't if this should be fixed in this PR I'm approving this one because everything else seems good!

@Gui-FernandesBR Gui-FernandesBR merged commit 06332e9 into beta/v1.0.0 Feb 13, 2023
@Gui-FernandesBR
Copy link
Member Author

@Gui-FernandesBR Gui-FernandesBR deleted the maint/move-flutter-analysis branch February 13, 2023 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Flight Flight Class related features Refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants