示例#1
0
        protected void add_target_node()
        {
            var dV = trajectory.BrakeDeltaV;

            ManeuverAutopilot.AddNode(VSL, dV,
                                      trajectory.AtTargetUT
                                      - MatchVelocityAutopilot.BrakingNodeCorrection((float)dV.magnitude, VSL));
        }
        void circularize(double UT)
        {
            var dV = correct_dV(dV4C(VesselOrbit, hV(UT), UT), UT);

            ManeuverAutopilot.AddNode(VSL, dV, UT);
            CFG.AP1.On(Autopilot1.Maneuver);
            stage = Stage.Circularize;
        }
        void change_ApR(double UT)
        {
            var dV = correct_dV(dV4Ap(VesselOrbit, ApR, UT), UT);

            ManeuverAutopilot.AddNode(VSL, dV, UT);
            CFG.AP1.On(Autopilot1.Maneuver);
            stage = Stage.ChangeApA;
        }
        public void AddBrakeNode()
        {
            var dV = Trajectory.BrakeDeltaV;

            ManeuverAutopilot.AddNode(VSL, dV,
                                      Trajectory.AtTargetUT
                                      - MatchVelocityAutopilot.BrakingNodeCorrection((float)dV.magnitude, VSL));
        }
 public void AddTrajectoryNode()
 {
     ManeuverAutopilot.AddNode(VSL, Trajectory.ManeuverDeltaV, Trajectory.StartUT);
 }