Skip to content
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

BUG: adding rocket radius parameter to rail buttons class #637

Conversation

juliomachad0
Copy link
Member

Pull request type

  • Code changes (bugfix, features)

Checklist

  • Lint (black rocketpy/ tests/) has passed locally
  • All tests (pytest tests -m slow --runslow) have passed locally

Current behavior

Issue 606 resolution.
The RailButtons class did not have the rocket_radius parameter, which led to some errors when the user used the class in the same way as other aerosurfaces. The set_rail_buttons method had to be used. This is not technically an error, but I see it as a difficulty in the sense that there is a class that deviates from the usage pattern of other classes.

New behavior

I updated the RailButtons class by adding the rocket_radius parameter, to avoid the simulation failing if the user uses the class as they used the others. I also modified some tests to consider the new parameter.

Breaking change

  • No

Gui-FernandesBR and others added 30 commits May 17, 2024 01:43
Gui-FernandesBR and others added 28 commits July 12, 2024 20:25
…r-refactor-may-2024

ENH: Environment class major refactor may 2024
rocket_radius attribute added to RailButtons Class
… the tests (no break changes)"

This reverts commit 49043db.
rocket_radius attribute added to RailButtons Class
… the tests (no break changes)"

This reverts commit 49043db.
rocket_radius attribute added to RailButtons Class
… the tests (no break changes)"

This reverts commit 49043db.
@juliomachad0 juliomachad0 deleted the bug/adding_rocket_radius_parameter_to_rail_buttons_class branch July 13, 2024 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

4 participants