Skip to content

Commit

Permalink
also only use aligned in deciding to start burn
Browse files Browse the repository at this point in the history
if we're aligned then just start the burn, don't worry about
angular velocity.

Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
  • Loading branch information
lamont-granquist committed Nov 7, 2023
1 parent e93ea6e commit 0af2ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MechJeb2/MechJebModuleNodeExecutor.cs
Expand Up @@ -165,7 +165,7 @@ public override void OnFixedUpdate()
if (VesselState.time >= _ignitionUT - LeadTime && State != States.BURN)
State = States.LEAD;

if (VesselState.time >= _ignitionUT && AlignedAndSettled())
if (VesselState.time >= _ignitionUT && Aligned())
State = States.BURN;

switch (State)
Expand Down

0 comments on commit 0af2ef4

Please sign in to comment.