Skip to content

Conversation

@JoePfeiffer
Copy link
Contributor

The shoulders are not considered in computing moments of inertia in SymmetricComponent, but were considered in computing CG when applying the parallel axis theorem at the end of the calculation. This results in an inaccurate longitudinal moment of inertia, which could even become negative (there was code clamping the result to avoid that).

This PR fixes the bug in the sense that the code now does what the original author intended, but the shoulders should really be considered in moment of inertia calculations.

Fixes #2278

@JoePfeiffer JoePfeiffer merged commit 8f937da into openrocket:unstable Oct 16, 2023
@JoePfeiffer JoePfeiffer deleted the fix-2278 branch October 17, 2023 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Simulation exception when only nose cone in sustainer

1 participant