ManeuverPlanner#
- class ManeuverPlanner#
The Maneuver Planner window, which makes maneuver nodes for its operations, and executes them.
Note
MechJeb shares the operations, and most of their settings, between vessels.
- OperationAdvancedTransfer OperationAdvancedTransfer { get; }#
The operation that transfers to another planet, at the departure that needs the least delta-v.
- Game Scenes:
Flight
- OperationApoapsis OperationApoapsis { get; }#
The operation that changes the apoapsis.
- Game Scenes:
Flight
- OperationCircularize OperationCircularize { get; }#
The operation that circularizes the orbit.
- Game Scenes:
Flight
- OperationCourseCorrection OperationCourseCorrection { get; }#
The operation that fine tunes the closest approach to the target.
- Game Scenes:
Flight
- OperationEccentricity OperationEccentricity { get; }#
The operation that changes the eccentricity.
- Game Scenes:
Flight
- OperationEllipticize OperationEllipticize { get; }#
The operation that changes both the periapsis and the apoapsis.
- Game Scenes:
Flight
- OperationInclination OperationInclination { get; }#
The operation that changes the inclination.
- Game Scenes:
Flight
- OperationInterplanetaryTransfer OperationInterplanetaryTransfer { get; }#
The operation that transfers to another planet.
- Game Scenes:
Flight
- OperationKillRelVel OperationKillRelVel { get; }#
The operation that matches velocities with the target.
- Game Scenes:
Flight
- OperationLambert OperationLambert { get; }#
The operation that intercepts the target at a chosen time.
- Game Scenes:
Flight
- OperationLan OperationLan { get; }#
The operation that changes the longitude of the ascending node.
- Game Scenes:
Flight
- OperationLongitude OperationLongitude { get; }#
The operation that changes the surface longitude of the apsis.
- Game Scenes:
Flight
- OperationMoonReturn OperationMoonReturn { get; }#
The operation that returns from a moon.
- Game Scenes:
Flight
- OperationPeriapsis OperationPeriapsis { get; }#
The operation that changes the periapsis.
- Game Scenes:
Flight
- OperationPlane OperationPlane { get; }#
The operation that matches planes with the target.
- Game Scenes:
Flight
- OperationResonantOrbit OperationResonantOrbit { get; }#
The operation that changes to a resonant orbit.
- Game Scenes:
Flight
- OperationSemiMajor OperationSemiMajor { get; }#
The operation that changes the semi-major axis.
- Game Scenes:
Flight
- OperationTransfer OperationTransfer { get; }#
The operation that transfers to the target.
- Game Scenes:
Flight
- void AbortNodeExecution ()#
Stop executing the maneuver nodes.
- Game Scenes:
Flight
- void ExecuteAllNodes ()#
Execute all the maneuver nodes. Throws an exception if the vessel has no maneuver node.
- Game Scenes:
Flight
- void ExecuteNextNode ()#
Execute the next maneuver node. Throws an exception if the vessel has no maneuver node.
- Game Scenes:
Flight
- bool Autowarp { get; set; }#
Whether to warp time to the burn.
- Game Scenes:
Flight
Note
The same setting as
AscentSettings.Autowarp,LandingGuidance.AutowarpandRendezvousAutopilot.Autowarp.
- double LeadTime { get; set; }#
The time before the burn at which time warp stops, in seconds.
- Game Scenes:
Flight
- class OperationException#
Thrown when an operation cannot make its nodes, such as when it needs a target and there is none.
A subclass of
KRPC.Client.ServerException.
TimeSelector#
- class TimeSelector#
The time of a maneuver.
- double CircularizeAltitude { get; set; }#
The altitude, in meters.
- Game Scenes:
Flight
Note
Applies to
TimeReference.Altitude.
- double LeadTime { get; set; }#
The time from now, in seconds.
- Game Scenes:
Flight
Note
Applies to
TimeReference.XFromNow.
- TimeReference TimeReference { get; set; }#
The time reference. Throws an exception if set to a reference the operation does not allow.
- Game Scenes:
Flight
- enum TimeReference#
The time reference of a maneuver. See
TimeSelector.TimeReference.- Computed#
At the optimum time.
- XFromNow#
After
TimeSelector.LeadTime.
- Apoapsis#
At the next apoapsis.
- Periapsis#
At the next periapsis.
- Altitude#
- EqAscending#
At the equatorial ascending node.
- EqDescending#
At the equatorial descending node.
- RelAscending#
At the next ascending node with the target.
- RelDescending#
At the next descending node with the target.
- ClosestApproach#
At the closest approach to the target.
- EqHighestAd#
At the cheaper of the equatorial ascending and descending nodes.
- EqNearestAd#
At the nearer of the equatorial ascending and descending nodes.
- RelHighestAd#
At the cheaper of the ascending and descending nodes with the target.
- RelNearestAd#
At the nearer of the ascending and descending nodes with the target.
Operations#
OperationAdvancedTransfer#
- class OperationAdvancedTransfer#
An interplanetary transfer to the target body, at the departure that needs the least delta-v before
OperationAdvancedTransfer.MaxArrivalTime.Note
MechJeb searches for the departure in the background. The first call to
MakeNodesstarts the search, and throws anOperationExceptionuntil it finishes. SeeOperationAdvancedTransfer.Searching.- double MaxArrivalTime { get; set; }#
The latest arrival time, as a time from now, in seconds.
- Game Scenes:
Flight
- bool IncludeCaptureBurn { get; set; }#
Whether to plan a capture burn at the destination.
- Game Scenes:
Flight
- double PeriapsisHeight { get; set; }#
The altitude of the periapsis at the destination, in meters.
- Game Scenes:
Flight
- int SearchProgress { get; }#
The progress of the search for the departure, as a percentage.
- Game Scenes:
Flight
- string ErrorMessage { get; }#
The warning or error from the last call to
MakeNodes, or an empty string.- Game Scenes:
Flight
- IList<SpaceCenter.Node> MakeNodes ()#
Make the maneuver nodes of the operation. Throws an
OperationExceptionif the operation cannot make them.- Returns:
The maneuver nodes.
- Game Scenes:
Flight
Note
The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in
ErrorMessage.
OperationApoapsis#
- class OperationApoapsis#
Change the apoapsis.
- string ErrorMessage { get; }#
The warning or error from the last call to
MakeNodes, or an empty string.- Game Scenes:
Flight
- IList<SpaceCenter.Node> MakeNodes ()#
Make the maneuver nodes of the operation. Throws an
OperationExceptionif the operation cannot make them.- Returns:
The maneuver nodes.
- Game Scenes:
Flight
Note
The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in
ErrorMessage.
- TimeSelector TimeSelector { get; }#
The time of the maneuver.
- Game Scenes:
Flight
OperationCircularize#
- class OperationCircularize#
Circularize the orbit.
Note
To raise the periapsis to the apoapsis, set the time to
TimeReference.Apoapsis, and to lower the apoapsis to the periapsis, set it toTimeReference.Periapsis. These are the cheapest.- string ErrorMessage { get; }#
The warning or error from the last call to
MakeNodes, or an empty string.- Game Scenes:
Flight
- IList<SpaceCenter.Node> MakeNodes ()#
Make the maneuver nodes of the operation. Throws an
OperationExceptionif the operation cannot make them.- Returns:
The maneuver nodes.
- Game Scenes:
Flight
Note
The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in
ErrorMessage.
- TimeSelector TimeSelector { get; }#
The time of the maneuver.
- Game Scenes:
Flight
OperationCourseCorrection#
- class OperationCourseCorrection#
Fine tune the closest approach to the target.
- double FinalPeriapsisAltitude { get; set; }#
The periapsis altitude at a target body, in meters.
- Game Scenes:
Flight
- string ErrorMessage { get; }#
The warning or error from the last call to
MakeNodes, or an empty string.- Game Scenes:
Flight
- double InterceptDistance { get; set; }#
The closest approach distance to a target vessel, in meters.
- Game Scenes:
Flight
- IList<SpaceCenter.Node> MakeNodes ()#
Make the maneuver nodes of the operation. Throws an
OperationExceptionif the operation cannot make them.- Returns:
The maneuver nodes.
- Game Scenes:
Flight
Note
The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in
ErrorMessage.
OperationEccentricity#
- class OperationEccentricity#
Change the eccentricity.
- string ErrorMessage { get; }#
The warning or error from the last call to
MakeNodes, or an empty string.- Game Scenes:
Flight
- IList<SpaceCenter.Node> MakeNodes ()#
Make the maneuver nodes of the operation. Throws an
OperationExceptionif the operation cannot make them.- Returns:
The maneuver nodes.
- Game Scenes:
Flight
Note
The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in
ErrorMessage.
- TimeSelector TimeSelector { get; }#
The time of the maneuver.
- Game Scenes:
Flight
OperationEllipticize#
- class OperationEllipticize#
Change both the periapsis and the apoapsis.
- string ErrorMessage { get; }#
The warning or error from the last call to
MakeNodes, or an empty string.- Game Scenes:
Flight
- IList<SpaceCenter.Node> MakeNodes ()#
Make the maneuver nodes of the operation. Throws an
OperationExceptionif the operation cannot make them.- Returns:
The maneuver nodes.
- Game Scenes:
Flight
Note
The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in
ErrorMessage.
- TimeSelector TimeSelector { get; }#
The time of the maneuver.
- Game Scenes:
Flight
OperationInclination#
- class OperationInclination#
Change the inclination.
- string ErrorMessage { get; }#
The warning or error from the last call to
MakeNodes, or an empty string.- Game Scenes:
Flight
- IList<SpaceCenter.Node> MakeNodes ()#
Make the maneuver nodes of the operation. Throws an
OperationExceptionif the operation cannot make them.- Returns:
The maneuver nodes.
- Game Scenes:
Flight
Note
The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in
ErrorMessage.
- TimeSelector TimeSelector { get; }#
The time of the maneuver.
- Game Scenes:
Flight
OperationInterplanetaryTransfer#
- class OperationInterplanetaryTransfer#
Transfer to another planet.
- string ErrorMessage { get; }#
The warning or error from the last call to
MakeNodes, or an empty string.- Game Scenes:
Flight
- IList<SpaceCenter.Node> MakeNodes ()#
Make the maneuver nodes of the operation. Throws an
OperationExceptionif the operation cannot make them.- Returns:
The maneuver nodes.
- Game Scenes:
Flight
Note
The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in
ErrorMessage.
OperationKillRelVel#
- class OperationKillRelVel#
Match velocities with the target.
- string ErrorMessage { get; }#
The warning or error from the last call to
MakeNodes, or an empty string.- Game Scenes:
Flight
- IList<SpaceCenter.Node> MakeNodes ()#
Make the maneuver nodes of the operation. Throws an
OperationExceptionif the operation cannot make them.- Returns:
The maneuver nodes.
- Game Scenes:
Flight
Note
The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in
ErrorMessage.
- TimeSelector TimeSelector { get; }#
The time of the maneuver.
- Game Scenes:
Flight
OperationLambert#
- class OperationLambert#
Intercept the target at a chosen time.
- string ErrorMessage { get; }#
The warning or error from the last call to
MakeNodes, or an empty string.- Game Scenes:
Flight
- double InterceptInterval { get; set; }#
The time from the maneuver to the intercept, in seconds.
- Game Scenes:
Flight
- IList<SpaceCenter.Node> MakeNodes ()#
Make the maneuver nodes of the operation. Throws an
OperationExceptionif the operation cannot make them.- Returns:
The maneuver nodes.
- Game Scenes:
Flight
Note
The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in
ErrorMessage.
- TimeSelector TimeSelector { get; }#
The time of the maneuver.
- Game Scenes:
Flight
OperationLan#
- class OperationLan#
Change the longitude of the ascending node.
- string ErrorMessage { get; }#
The warning or error from the last call to
MakeNodes, or an empty string.- Game Scenes:
Flight
- IList<SpaceCenter.Node> MakeNodes ()#
Make the maneuver nodes of the operation. Throws an
OperationExceptionif the operation cannot make them.- Returns:
The maneuver nodes.
- Game Scenes:
Flight
Note
The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in
ErrorMessage.
- double NewLAN { get; set; }#
The new longitude of the ascending node, in degrees.
- Game Scenes:
Flight
Note
MechJeb holds this value in the target controller of each vessel, as the longitude of the position target. Setting it also moves the position target.
- TimeSelector TimeSelector { get; }#
The time of the maneuver.
- Game Scenes:
Flight
OperationLongitude#
- class OperationLongitude#
Change the surface longitude of the apsis.
- string ErrorMessage { get; }#
The warning or error from the last call to
MakeNodes, or an empty string.- Game Scenes:
Flight
- IList<SpaceCenter.Node> MakeNodes ()#
Make the maneuver nodes of the operation. Throws an
OperationExceptionif the operation cannot make them.- Returns:
The maneuver nodes.
- Game Scenes:
Flight
Note
The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in
ErrorMessage.
- double NewSurfaceLongitude { get; set; }#
The new surface longitude of the apsis after one orbit, in degrees.
- Game Scenes:
Flight
Note
MechJeb holds this value in the target controller of each vessel, as the longitude of the position target. Setting it also moves the position target.
- TimeSelector TimeSelector { get; }#
The time of the maneuver.
- Game Scenes:
Flight
OperationMoonReturn#
- class OperationMoonReturn#
Return from a moon to the body it orbits.
- string ErrorMessage { get; }#
The warning or error from the last call to
MakeNodes, or an empty string.- Game Scenes:
Flight
- IList<SpaceCenter.Node> MakeNodes ()#
Make the maneuver nodes of the operation. Throws an
OperationExceptionif the operation cannot make them.- Returns:
The maneuver nodes.
- Game Scenes:
Flight
Note
The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in
ErrorMessage.
OperationPeriapsis#
- class OperationPeriapsis#
Change the periapsis.
- string ErrorMessage { get; }#
The warning or error from the last call to
MakeNodes, or an empty string.- Game Scenes:
Flight
- IList<SpaceCenter.Node> MakeNodes ()#
Make the maneuver nodes of the operation. Throws an
OperationExceptionif the operation cannot make them.- Returns:
The maneuver nodes.
- Game Scenes:
Flight
Note
The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in
ErrorMessage.
- TimeSelector TimeSelector { get; }#
The time of the maneuver.
- Game Scenes:
Flight
OperationPlane#
- class OperationPlane#
Match planes with the target.
- string ErrorMessage { get; }#
The warning or error from the last call to
MakeNodes, or an empty string.- Game Scenes:
Flight
- IList<SpaceCenter.Node> MakeNodes ()#
Make the maneuver nodes of the operation. Throws an
OperationExceptionif the operation cannot make them.- Returns:
The maneuver nodes.
- Game Scenes:
Flight
Note
The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in
ErrorMessage.
- TimeSelector TimeSelector { get; }#
The time of the maneuver.
- Game Scenes:
Flight
OperationResonantOrbit#
- class OperationResonantOrbit#
Change to a resonant orbit, to place satellites in a constellation.
Note
Start from an orbit in the plane of the constellation. To deploy satellites, set the denominator to their number. A numerator one less than the denominator is the cheapest, though not the fastest. The two numbers must have no common factor.
- string ErrorMessage { get; }#
The warning or error from the last call to
MakeNodes, or an empty string.- Game Scenes:
Flight
- IList<SpaceCenter.Node> MakeNodes ()#
Make the maneuver nodes of the operation. Throws an
OperationExceptionif the operation cannot make them.- Returns:
The maneuver nodes.
- Game Scenes:
Flight
Note
The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in
ErrorMessage.
- int ResonanceDenominator { get; set; }#
The denominator of the ratio of the new orbital period to the current one.
- Game Scenes:
Flight
- int ResonanceNumerator { get; set; }#
The numerator of the ratio of the new orbital period to the current one.
- Game Scenes:
Flight
- TimeSelector TimeSelector { get; }#
The time of the maneuver.
- Game Scenes:
Flight
OperationSemiMajor#
- class OperationSemiMajor#
Change the semi-major axis.
- string ErrorMessage { get; }#
The warning or error from the last call to
MakeNodes, or an empty string.- Game Scenes:
Flight
- IList<SpaceCenter.Node> MakeNodes ()#
Make the maneuver nodes of the operation. Throws an
OperationExceptionif the operation cannot make them.- Returns:
The maneuver nodes.
- Game Scenes:
Flight
Note
The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in
ErrorMessage.
- TimeSelector TimeSelector { get; }#
The time of the maneuver.
- Game Scenes:
Flight
OperationTransfer#
- class OperationTransfer#
A bi-impulsive (Hohmann) transfer to the target, within one sphere of influence. It suits a rendezvous with a vessel or a transfer to a moon.
Note
Despite the name, the transfer is often uni-impulsive. It happens at the selected time, or at the optimum time.
- string ErrorMessage { get; }#
The warning or error from the last call to
MakeNodes, or an empty string.- Game Scenes:
Flight
- IList<SpaceCenter.Node> MakeNodes ()#
Make the maneuver nodes of the operation. Throws an
OperationExceptionif the operation cannot make them.- Returns:
The maneuver nodes.
- Game Scenes:
Flight
Note
The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in
ErrorMessage.
- bool Capture { get; set; }#
Whether the transfer ends in the target’s orbit. Without capture, it is an impact or a flyby.
- Game Scenes:
Flight
- bool PlanCapture { get; set; }#
Whether to make a second node for the capture burn.
- Game Scenes:
Flight
Note
Requires
OperationTransfer.Capture.
- bool Rendezvous { get; set; }#
Whether to meet the target, rather than reach its orbit.
- Game Scenes:
Flight
- double LagTime { get; set; }#
The time by which the vessel arrives behind the target, in seconds.
- Game Scenes:
Flight
Note
Requires
OperationTransfer.Rendezvous.
- bool Coplanar { get; set; }#
Whether the transfer stays in the vessel’s orbital plane.
- Game Scenes:
Flight
- TimeSelector TimeSelector { get; }#
The time of the maneuver.
- Game Scenes:
Flight