Skip to content

[Bug] Mass and CG overrides have an unexpected interaction #2394

@JoePfeiffer

Description

@JoePfeiffer

Describe the bug

Turning CG override for all subcomponents on and off can affect rocket mass.

To Reproduce

  1. Open "simple model rocket" example and select "no motors". Note rocket mass is 48.2g and CG is 20.6cm.
  2. Override mass and set to 50g. Note mass is now 98.2g if "override for subcomponents" is off. Leave it off.
  3. Override CG and set to 20cm. Note mass is now 98.2 if "override (CG) for subcomponents" is off and 48.2 if on. It shouldn't change.
  4. Note that if mass override is set on for subcomponents then mass remains 50g whether CG override is on or off.
    ...

Screenshots / .ork file

Screenshot(s):

(drag-and-drop the screenshot(s) here)

.ork file:

(drag-and-drop the file here as a .zip file)

OpenRocket version

unstable

What platform are you running on?

Linux

Additional context

This seems a lot like #2393 (Overrides tab is confusing for Stages) but is distinct enough to warrant its own issue, and is definitely a bug.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions