protected override void Reset()
 {
     base.Reset();
     if (Working)
     {
         THR.Throttle = 0;
         CFG.AT.On(Attitude.KillRotation);
     }
     CFG.AP1.OffIfOn(Autopilot1.MatchVel);
     CFG.AP1.OffIfOn(Autopilot1.MatchVelNear);
     MinDeltaV = GLB.THR.MinDeltaV;
     stage     = Stage.Start;
     Executor.Reset();
     Working = false;
 }
Exemplo n.º 2
0
 protected override void reset()
 {
     base.reset();
     if (Working)
     {
         THR.Throttle = 0;
     }
     if (CFG.AT[Attitude.ManeuverNode])
     {
         CFG.AT.On(Attitude.KillRotation);
     }
     CFG.AP1.OffIfOn(Autopilot1.Maneuver);
     Executor.Reset();
     MinDeltaV          = GLB.THR.MinDeltaV;
     VSL.Info.Countdown = 0;
     VSL.Info.TTB       = 0;
     Working            = false;
     Node = null;
 }
Exemplo n.º 3
0
 protected override void Reset()
 {
     base.Reset();
     if (Working)
     {
         THR.Throttle = 0;
     }
     if (CFG.AT[Attitude.ManeuverNode])
     {
         CFG.AT.On(Attitude.KillRotation);
     }
     Executor.Reset();
     NodeDeltaV         = Vector3d.zero;
     NodeCB             = null;
     MinDeltaV          = ThrottleControl.C.MinDeltaV;
     VSL.Info.Countdown = 0;
     VSL.Info.TTB       = 0;
     Working            = false;
     Node = null;
 }
Exemplo n.º 4
0
 protected override void reset()
 {
     base.reset();
     if (Working)
     {
         THR.Throttle = 0;
     }
     if (CFG.AT[Attitude.ManeuverNode])
     {
         CFG.AT.On(Attitude.KillRotation);
     }
     CFG.AP1.OffIfOn(Autopilot1.Maneuver);
     Executor.Reset();
     NodeDeltaV         = Vector3d.zero;
     MinDeltaV          = GLB.THR.MinDeltaV;
     min_deltaV         = double.MaxValue;
     within_threshold   = false;
     VSL.Info.Countdown = 0;
     VSL.Info.TTB       = 0;
     Working            = false;
     Node = null;
 }