AscentGuidance#
- class AscentGuidance#
The Ascent Guidance window, which flies the vessel to orbit.
Note
See the MechJeb wiki for how to set up this autopilot.
- string Status { get; }#
The autopilot status, which depends on the selected ascent path.
- Game Scenes:
Flight
- AscentType AscentType { get; set; }#
The ascent path.
- Game Scenes:
Flight
- AscentSettings Settings { get; }#
The Ascent Settings window.
- Game Scenes:
Flight
- PVGSettings PVGSettings { get; }#
The PVG Settings window, with the settings of the
AscentType.PVGpath.- Game Scenes:
Flight
- ClassicPath ClassicPath { get; }#
The Ascent Path Editor window, with the settings of the
AscentType.Classicpath.- Game Scenes:
Flight
- double DesiredOrbitAltitude { get; set; }#
The altitude of the final circular orbit, in meters.
- Game Scenes:
Flight
- double DesiredApoapsis { get; set; }#
The target apoapsis, in meters.
- Game Scenes:
Flight
Note
Applies on the
AscentType.PVGpath.
- bool AttachAltFlag { get; set; }#
Whether the orbit is attached at
AscentGuidance.DesiredAttachAlt.- Game Scenes:
Flight
Note
Applies on the
AscentType.PVGpath, with an early shutoff stage, set byPVGSettings.OptimizeStageFlagandPVGSettings.OptimizeStage. Without one, MechJeb always attaches the orbit.
- double DesiredAttachAlt { get; set; }#
The altitude at which the orbit is attached, in meters.
- Game Scenes:
Flight
Note
Applies on the
AscentType.PVGpath. RequiresAscentGuidance.AttachAltFlag, unless there is no early shutoff stage. SeePVGSettings.OptimizeStage.
- double DesiredFPA { get; set; }#
The flight path angle at orbit insertion, in degrees.
- Game Scenes:
Flight
Note
Applies on the
AscentType.PVGpath, when there is no early shutoff stage. SeePVGSettings.OptimizeStage.
- double DesiredInclination { get; set; }#
The inclination of the final circular orbit, in degrees.
- Game Scenes:
Flight
- AscentLaunchMode LaunchMode { get; }#
The launch mode, which gives whether the autopilot is waiting for a timed launch.
- Game Scenes:
Flight
- void LaunchToRendezvous ()#
Launch to rendezvous with the target. Throws an exception if there is no target, or the ascent path is PVG.
- Game Scenes:
Flight
- double LaunchPhaseAngle { get; set; }#
The phase angle to the target of a launch to rendezvous, in degrees.
- Game Scenes:
Flight
- void LaunchToTargetPlane ()#
Launch into the plane of the target. Throws an exception if there is no target.
- Game Scenes:
Flight
- double LaunchLANDifference { get; set; }#
The difference from the target’s longitude of the ascending node of a launch into the target’s plane, in degrees.
- Game Scenes:
Flight
- void LaunchToMatchLan ()#
Launch into the plane of the target, at the time the target’s longitude of the ascending node, less
AscentGuidance.LaunchLANDifference, passes overhead. KeepsAscentGuidance.DesiredInclination. Throws an exception if there is no target, or the ascent path is notAscentType.PVG.- Game Scenes:
Flight
- void LaunchToLan ()#
Launch into the plane with longitude of the ascending node
AscentGuidance.DesiredLanand inclinationAscentGuidance.DesiredInclination. Throws an exception if the ascent path is notAscentType.PVG.- Game Scenes:
Flight
- double DesiredLan { get; set; }#
The longitude of the ascending node of a launch to a LAN, in degrees. See
AscentGuidance.LaunchToLan.- Game Scenes:
Flight
- void AbortTimedLaunch ()#
Abort a timed launch that has not started yet. Throws an exception if the launch mode is
AscentLaunchMode.Unknown.- Game Scenes:
Flight
- enum AscentType#
The ascent path. See
AscentGuidance.AscentType.- Classic#
The classic ascent path. See
AscentGuidance.ClassicPath.
- PVG#
Primer Vector Guidance, for RSS/RO. See
AscentGuidance.PVGSettings.
- enum AscentLaunchMode#
The launch mode of the ascent autopilot. See
AscentGuidance.LaunchMode.- Normal#
The autopilot is not performing a timed launch.
- Rendezvous#
A timed launch to rendezvous with the target vessel.
- TargetPlane#
A timed launch into the plane of the target.
- MatchLan#
A timed launch to the target’s longitude of the ascending node. See
AscentGuidance.LaunchToMatchLan.
- Lan#
A timed launch to a longitude of the ascending node. See
AscentGuidance.LaunchToLan.
- Unknown#
A timed launch of another kind, started from MechJeb’s window.
AscentSettings#
- class AscentSettings#
The Ascent Settings window, which holds the settings shared by the ascent paths.
- double VerticalRoll { get; set; }#
The roll during the vertical climb, in degrees.
- Game Scenes:
Flight
Note
Requires
AscentSettings.ForceRoll.
- double TurnRoll { get; set; }#
The roll during the turn, in degrees.
- Game Scenes:
Flight
Note
Requires
AscentSettings.ForceRoll.
- double RollAltitude { get; set; }#
The altitude above which the autopilot controls the roll, in meters.
- Game Scenes:
Flight
Note
Requires
AscentSettings.ForceRoll.
- bool LimitAngleOfAttack { get; set; }#
Whether to limit the angle of attack.
- Game Scenes:
Flight
Note
Applies on the
AscentType.Classicpath.
- double MaxAngleOfAttack { get; set; }#
The largest angle of attack, in degrees.
- Game Scenes:
Flight
Note
Requires
AscentSettings.LimitAngleOfAttack, and applies on theAscentType.Classicpath.
- double AngleOfAttackLimitFadeoutPressure { get; set; }#
The dynamic pressure below which the angle of attack limit fades out, in pascals.
- Game Scenes:
Flight
Note
Requires
AscentSettings.LimitAngleOfAttack, and applies on theAscentType.Classicpath.
- bool LimitingAngleOfAttack { get; }#
Whether the angle of attack limit is limiting the steering.
- Game Scenes:
Flight
- double CurrentMaxAngleOfAttack { get; }#
The largest angle of attack the limit allows now, in degrees.
- Game Scenes:
Flight
- bool CorrectiveSteering { get; set; }#
Whether the autopilot steers by the velocity vector rather than the position vector.
- Game Scenes:
Flight
Note
It is more accurate, though large craft may do better without it. Applies on the
AscentType.Classicpath.
- double CorrectiveSteeringGain { get; set; }#
The gain of the corrective steering.
- Game Scenes:
Flight
Note
Requires
AscentSettings.CorrectiveSteering, and applies on theAscentType.Classicpath.
- bool Autostage { get; set; }#
Whether the autopilot stages when the current stage runs out of fuel.
- Game Scenes:
Flight
- Autostaging Staging { get; }#
The autostaging settings. The same object as
Utilities.Staging.- Game Scenes:
Flight
- ThrustLimiter Thrust { get; }#
The throttle limiters. The same object as
Utilities.Thrust.- Game Scenes:
Flight
- bool AutodeploySolarPanels { get; set; }#
Whether to deploy the solar panels when the ascent finishes.
- Game Scenes:
Flight
- bool AutoDeployAntennas { get; set; }#
Whether to deploy the antennas when the ascent finishes.
- Game Scenes:
Flight
- bool Autowarp { get; set; }#
Whether to warp time during the ascent.
- Game Scenes:
Flight
Note
The same setting as
ManeuverPlanner.Autowarp.
PVGSettings#
- class PVGSettings#
The PVG Settings window, which holds the settings of the Primer Vector Guidance ascent path.
- double DynamicPressureTrigger { get; set; }#
The dynamic pressure below which guidance starts, in pascals.
- Game Scenes:
Flight
- bool FixedCoast { get; set; }#
Whether the coast has a fixed length.
- Game Scenes:
Flight
Note
Requires
PVGSettings.CoastStageFlag.
- double FixedCoastLength { get; set; }#
The length of the coast, in seconds.
- Game Scenes:
Flight
Note
Requires
PVGSettings.FixedCoast.
- double MinDeltaV { get; set; }#
The smallest delta-v of a stage that guidance plans with, in \(\mathrm{m/s}\).
- Game Scenes:
Flight
- bool OptimizeStageFlag { get; set; }#
Whether guidance may shut off
PVGSettings.OptimizeStageearly.- Game Scenes:
Flight
- int OptimizeStage { get; set; }#
The stage that guidance may shut off early.
- Game Scenes:
Flight
Note
Requires
PVGSettings.OptimizeStageFlag. -1 is no stage.
- bool UnguidedStagesFlag { get; set; }#
Whether guidance leaves
PVGSettings.UnguidedStagesunguided.- Game Scenes:
Flight
- IList<int> UnguidedStages { get; set; }#
The stages that guidance leaves unguided.
- Game Scenes:
Flight
Note
Requires
PVGSettings.UnguidedStagesFlag.
- bool CoastStageFlag { get; set; }#
Whether guidance coasts in
PVGSettings.CoastStage.- Game Scenes:
Flight
- int CoastStage { get; set; }#
The stage before or after which guidance coasts.
- Game Scenes:
Flight
Note
Requires
PVGSettings.CoastStageFlag.
- bool CoastBeforeFlag { get; set; }#
Whether the coast comes before
PVGSettings.CoastStage, rather than after it.- Game Scenes:
Flight
Note
Requires
PVGSettings.CoastStageFlag.
- double UllageLeadTime { get; set; }#
The time before an ignition at which RCS settles the propellant, in seconds.
- Game Scenes:
Flight
- bool SpinupStageFlag { get; set; }#
Whether to spin up the vessel before
PVGSettings.SpinupStage.- Game Scenes:
Flight
- int SpinupStage { get; set; }#
The stage before which to spin up the vessel.
- Game Scenes:
Flight
Note
Requires
PVGSettings.SpinupStageFlag.
- double SpinupAngularVelocity { get; set; }#
The angular velocity of the spin-up, in \(\mathrm{rad/s}\).
- Game Scenes:
Flight
Note
Requires
PVGSettings.SpinupStageFlag. MechJeb’s window shows it in revolutions per minute.
- double SpinupLeadTime { get; set; }#
The time before staging at which the spin-up starts, in seconds.
- Game Scenes:
Flight
Note
Requires
PVGSettings.SpinupStageFlag.
- double LimitQa { get; set; }#
The limit on dynamic pressure times angle of attack, in \(\mathrm{Pa \cdot rad}\).
- Game Scenes:
Flight
Note
MechJeb clamps it to between 0 and 10000.
- double PitchRate { get; set; }#
The pitch rate of the booster, in \(\mathrm{deg/s}\).
- Game Scenes:
Flight
- double PitchStartVelocity { get; set; }#
The speed at which the booster starts to pitch over, in \(\mathrm{m/s}\).
- Game Scenes:
Flight
- int StagingTrigger { get; set; }#
The stage after which guidance starts.
- Game Scenes:
Flight
Note
Requires
PVGSettings.StagingTriggerFlag.
- bool StagingTriggerFlag { get; set; }#
Whether guidance starts after
PVGSettings.StagingTrigger.- Game Scenes:
Flight
ClassicPath#
- class ClassicPath#
The Ascent Path Editor window, which holds the settings of the classic ascent path.
- bool AutoPath { get; set; }#
Whether the autopilot chooses the turn altitudes and speed.
- Game Scenes:
Flight
- float AutoTurnPercent { get; set; }#
The altitude at which an automatic turn starts, as a fraction of the height of the atmosphere.
- Game Scenes:
Flight
Note
Requires
ClassicPath.AutoPath.
- float AutoTurnSpeedFactor { get; set; }#
The factor that sets the speed at which an automatic turn starts.
- Game Scenes:
Flight
Note
Requires
ClassicPath.AutoPath.
- double AutoTurnStartAltitude { get; }#
The altitude at which an automatic turn starts, in meters.
- Game Scenes:
Flight
- double AutoTurnStartVelocity { get; }#
The speed at which an automatic turn starts, in \(\mathrm{m/s}\).
- Game Scenes:
Flight
- double AutoTurnEndAltitude { get; }#
The altitude at which an automatic turn ends, in meters.
- Game Scenes:
Flight
- double TurnStartAltitude { get; set; }#
The altitude at which the turn starts, in meters.
- Game Scenes:
Flight
- double TurnStartVelocity { get; set; }#
The speed at which the turn starts, in \(\mathrm{m/s}\).
- Game Scenes:
Flight