-
-
Notifications
You must be signed in to change notification settings - Fork 158
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: RailButtons does not have rocket_radius attribute #606
Comments
djangovanderplas
changed the title
RailButtons does not have rocket_radius attribute
BUG: RailButtons does not have rocket_radius attribute
May 20, 2024
Thank you for reporting, @djangovanderplas ! The issue #561 is a related to this BUG. As a pragmatical recommendation: don't use the Your issue is still valid, however, and we should work on a solution. |
juliomachad0
added a commit
that referenced
this issue
Jun 17, 2024
rocket_radius attribute added to RailButtons Class
phmbressan
assigned phmbressan, juliomachad0 and lucasfourier and unassigned phmbressan
Jun 27, 2024
juliomachad0
added a commit
that referenced
this issue
Jul 11, 2024
rocket_radius attribute added to RailButtons Class
juliomachad0
added a commit
that referenced
this issue
Jul 13, 2024
rocket_radius attribute added to RailButtons Class
juliomachad0
added a commit
that referenced
this issue
Jul 13, 2024
rocket_radius attribute added to RailButtons Class
juliomachad0
added a commit
that referenced
this issue
Jul 13, 2024
rocket_radius attribute added to RailButtons Class
4 tasks
4 tasks
Solved by #643 Thank you for opening this issue @djangovanderplas !! We really appreciate it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When trying to add
RailButtons
using theadd_surfaces()
method, RocketPy crashes because it requires a rocket_radius for all surfaces being added (this is due toFlight.u_dot_generalized()
method). This method works fine for fins, tail and nosecone but doesn't for rail buttons (I also suspect for the aerobrakes).To Reproduce
I have included the standard rocketpy Calisto script, but I added the
RailButtons
using this method (for fins I can add them this way). RocketPy crashes when it is trying to plot the flight details.Expected behavior
I would expect this to just work as it is the way to add AeroSurfaces Abstract Baseclasses to the rocket class. However, it crashes! I can solve this issue by stating:
However, this might not be very intuitive to the user, as it is not required for other AeroSurfaces.
Additional context
This is the output for the script I provided:
I am on RocketPy version 1.2.2
The text was updated successfully, but these errors were encountered: