Skip to content

Implement stability variation #9

@christophfroehlich

Description

@christophfroehlich

To vary the stability, we can change the center of pressure or center of mass.

Since OpenRocket calculates the center of pressure as a sum over all components, it is not straight-forward to change the CoP.

Same for the CoM. There would be the option via the postMassCalculation listener, but mass_data of type RigidBody has no method to change its attributes.
https://github.com/openrocket/openrocket/blob/44e685610317dc4731d58d66891b5f7615a77534/core/src/net/sf/openrocket/simulation/listeners/SimulationListenerHelper.java#L537

What would be the most elegant way doing this? Adding an extra component with dummy mass to change CoP is the brute-force method then.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions