-
-
Notifications
You must be signed in to change notification settings - Fork 168
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
ENH: CP and Thrust Eccentricity Effects Generate Roll Moment #617
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #617 +/- ##
===========================================
- Coverage 73.60% 73.60% -0.01%
===========================================
Files 70 70
Lines 10290 10292 +2
===========================================
+ Hits 7574 7575 +1
- Misses 2716 2717 +1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Send like r1 and r2 are aligned to the global coordinate system (the earth) but the x and y excentricity should be aligned to the local (rocket) coordinate system.
Right now I understand you are assuming R1 is always parallel to x_excentricity, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the CHANGELOG
R1, R2, and R3 are described in the rocket coordinate system from what I understand What I did here is in accordance with what the code was doing before, I am not assuming anything different. But yes, I believe the R1 was assumed to be parallel to x |
Pull request type
Checklist
black rocketpy/ tests/
) has passed locallypytest tests -m slow --runslow
) have passed locallyCHANGELOG.md
has been updated (if relevant)Current behavior
CP eccentricities did not generate moment on the rocket's center axis (roll moment M3) and thrust eccentricity was not included in
u_dot_generalized
New behavior
Roll moment is calculated properly and thrust eccentricity is included in
u_dot_generalized
Breaking change