Skip to content

fixed MOI calculation to match stock values - #3201

Open
ChrisInBed wants to merge 1 commit into
KSP-KOS:developfrom
ChrisInBed:steering_debug
Open

fixed MOI calculation to match stock values#3201
ChrisInBed wants to merge 1 commit into
KSP-KOS:developfrom
ChrisInBed:steering_debug

Conversation

@ChrisInBed

@ChrisInBed ChrisInBed commented Jul 28, 2026

Copy link
Copy Markdown

Fixes #3167

Now FindMoI() returns moment of inertia value in (pitch, roll, yaw) order, the same as vessel.MOI.

Experiment has shown that the fixed version have a much better control stability for long-thin spacecrafts, like the first stage of Falcon-9.

@lamont-granquist

Copy link
Copy Markdown
Contributor

kOS should probably just use vessel.MOI, it has been working fine for a while now:

MuMech/MechJeb2@78306c8

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.

Wrong reference frame of moment of inertia in cooked control

2 participants