Skip to content

Conversation

@SiboVG
Copy link
Member

@SiboVG SiboVG commented Feb 14, 2023

This PR fixes #2040. The CM (mass+CG) of a rail button and launch lug now accounts for multiple instances.

While working on this issue, I also noticed that the CG of the launch lug was incorrectly calculated. Here is a design with a body tube's diameter and length set to 0:
image

You can see that CG.y is not in the center of the launch lug. The same issue was present for CG.z.

Behavior from this PR:
image

@hcraigmiller
Copy link
Collaborator

Functions as expected, no anomalous behavior found.

OR Build: 1547
Microsoft Windows 11 Pro; 10.0.22621 Build 22621.1105; Windows Feature Experience Pack 1000.22638.1000.0
Java(TM) SE Runtime Environment 18.9 (build 11.0.18+9-LTS-195)

@SiboVG SiboVG merged commit 9618fdb into openrocket:unstable Feb 21, 2023
@SiboVG SiboVG deleted the issue-2040 branch February 21, 2023 22:32
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] Changing rail button instances does not change its total mass or CG

2 participants