ManeuverPlanner#

class MechJeb.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.

ManeuverPlanner.getOperationAdvancedTransfer()#

The operation that transfers to another planet, at the departure that needs the least delta-v.

Property:

Read-only, cannot be set

Return type:

MechJeb.OperationAdvancedTransfer

Game Scenes:

Flight

ManeuverPlanner.getOperationApoapsis()#

The operation that changes the apoapsis.

Property:

Read-only, cannot be set

Return type:

MechJeb.OperationApoapsis

Game Scenes:

Flight

ManeuverPlanner.getOperationCircularize()#

The operation that circularizes the orbit.

Property:

Read-only, cannot be set

Return type:

MechJeb.OperationCircularize

Game Scenes:

Flight

ManeuverPlanner.getOperationCourseCorrection()#

The operation that fine tunes the closest approach to the target.

Property:

Read-only, cannot be set

Return type:

MechJeb.OperationCourseCorrection

Game Scenes:

Flight

ManeuverPlanner.getOperationEccentricity()#

The operation that changes the eccentricity.

Property:

Read-only, cannot be set

Return type:

MechJeb.OperationEccentricity

Game Scenes:

Flight

ManeuverPlanner.getOperationEllipticize()#

The operation that changes both the periapsis and the apoapsis.

Property:

Read-only, cannot be set

Return type:

MechJeb.OperationEllipticize

Game Scenes:

Flight

ManeuverPlanner.getOperationInclination()#

The operation that changes the inclination.

Property:

Read-only, cannot be set

Return type:

MechJeb.OperationInclination

Game Scenes:

Flight

ManeuverPlanner.getOperationKillRelVel()#

The operation that matches velocities with the target.

Property:

Read-only, cannot be set

Return type:

MechJeb.OperationKillRelVel

Game Scenes:

Flight

ManeuverPlanner.getOperationLambert()#

The operation that intercepts the target at a chosen time.

Property:

Read-only, cannot be set

Return type:

MechJeb.OperationLambert

Game Scenes:

Flight

ManeuverPlanner.getOperationLan()#

The operation that changes the longitude of the ascending node.

Property:

Read-only, cannot be set

Return type:

MechJeb.OperationLan

Game Scenes:

Flight

ManeuverPlanner.getOperationLongitude()#

The operation that changes the surface longitude of the apsis.

Property:

Read-only, cannot be set

Return type:

MechJeb.OperationLongitude

Game Scenes:

Flight

ManeuverPlanner.getOperationMoonReturn()#

The operation that returns from a moon.

Property:

Read-only, cannot be set

Return type:

MechJeb.OperationMoonReturn

Game Scenes:

Flight

ManeuverPlanner.getOperationPeriapsis()#

The operation that changes the periapsis.

Property:

Read-only, cannot be set

Return type:

MechJeb.OperationPeriapsis

Game Scenes:

Flight

ManeuverPlanner.getOperationPlane()#

The operation that matches planes with the target.

Property:

Read-only, cannot be set

Return type:

MechJeb.OperationPlane

Game Scenes:

Flight

ManeuverPlanner.getOperationResonantOrbit()#

The operation that changes to a resonant orbit.

Property:

Read-only, cannot be set

Return type:

MechJeb.OperationResonantOrbit

Game Scenes:

Flight

ManeuverPlanner.getOperationSemiMajor()#

The operation that changes the semi-major axis.

Property:

Read-only, cannot be set

Return type:

MechJeb.OperationSemiMajor

Game Scenes:

Flight

ManeuverPlanner.getOperationTransfer()#

The operation that transfers to the target.

Property:

Read-only, cannot be set

Return type:

MechJeb.OperationTransfer

Game Scenes:

Flight

ManeuverPlanner.abortNodeExecution()#

Stop executing the maneuver nodes.

Game Scenes:

Flight

ManeuverPlanner.executeAllNodes()#

Execute all the maneuver nodes. Throws an exception if the vessel has no maneuver node.

Game Scenes:

Flight

ManeuverPlanner.executeNextNode()#

Execute the next maneuver node. Throws an exception if the vessel has no maneuver node.

Game Scenes:

Flight

ManeuverPlanner.getAutowarp()#
ManeuverPlanner.setAutowarp(value)#

Whether to warp time to the burn.

Property:

Can be read or written

Return type:

boolean

Game Scenes:

Flight

Note

The same setting as MechJeb.RendezvousAutopilot.getAutowarp().

ManeuverPlanner.getExecutingNode()#

Whether a maneuver node is being executed.

Property:

Read-only, cannot be set

Return type:

boolean

Game Scenes:

Flight

ManeuverPlanner.getLeadTime()#
ManeuverPlanner.setLeadTime(value)#

The time before the burn at which time warp stops, in seconds.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

ManeuverPlanner.getRCSOnly()#
ManeuverPlanner.setRCSOnly(value)#

Whether to burn with the RCS thrusters in place of the engines.

Property:

Can be read or written

Return type:

boolean

Game Scenes:

Flight

ManeuverPlanner.getKillRollRotation()#
ManeuverPlanner.setKillRollRotation(value)#

Whether to stop the vessel’s roll before the burn.

Property:

Can be read or written

Return type:

boolean

Game Scenes:

Flight

ManeuverPlanner.getOperationStationaryOrbit()#

The operation that transfers to the stationary orbit of the body.

Property:

Read-only, cannot be set

Return type:

MechJeb.OperationStationaryOrbit

Game Scenes:

Flight

ManeuverPlanner.getInitialWarpLeadTime()#
ManeuverPlanner.setInitialWarpLeadTime(value)#

The time before the burn at which the first, coarse time warp stops, in seconds.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

Note

A burn further away than this is warped to in two steps: to this time before it, then to MechJeb.ManeuverPlanner.getLeadTime() once the vessel is aligned.

ManeuverPlanner.getAlignedTolerance()#
ManeuverPlanner.setAlignedTolerance(value)#

The angle from the burn direction within which the burn starts, in degrees.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

ManeuverPlanner.getWarpAlignedTolerance()#
ManeuverPlanner.setWarpAlignedTolerance(value)#

The angle from the burn direction within which time warp to the burn starts, in degrees.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

class MechJeb.OperationException()#

Thrown when an operation cannot make its nodes, such as when it needs a target and there is none.

A subclass of ServerError.

TimeSelector#

class MechJeb.TimeSelector()#

The time of a maneuver.

TimeSelector.getCircularizeAltitude()#
TimeSelector.setCircularizeAltitude(value)#

The altitude, in meters.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

TimeSelector.getLeadTime()#
TimeSelector.setLeadTime(value)#

The time from now, in seconds.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

TimeSelector.getTimeReference()#
TimeSelector.setTimeReference(value)#

The time reference. Throws an exception if set to a reference the operation does not allow.

Property:

Can be read or written

Return type:

MechJeb.TimeReference

Game Scenes:

Flight

class MechJeb.TimeReference()#

The time reference of a maneuver. See MechJeb.TimeSelector.getTimeReference().

TimeReference.computed#

At the optimum time.

TimeReference.xFromNow#

After MechJeb.TimeSelector.getLeadTime().

TimeReference.apoapsis#

At the next apoapsis.

TimeReference.periapsis#

At the next periapsis.

TimeReference.altitude#

At MechJeb.TimeSelector.getCircularizeAltitude().

TimeReference.eqAscending#

At the equatorial ascending node.

TimeReference.eqDescending#

At the equatorial descending node.

TimeReference.relAscending#

At the next ascending node with the target.

TimeReference.relDescending#

At the next descending node with the target.

TimeReference.closestApproach#

At the closest approach to the target.

TimeReference.eqHighestAd#

At the cheaper of the equatorial ascending and descending nodes.

TimeReference.eqNearestAd#

At the nearer of the equatorial ascending and descending nodes.

TimeReference.relHighestAd#

At the cheaper of the ascending and descending nodes with the target.

TimeReference.relNearestAd#

At the nearer of the ascending and descending nodes with the target.

Operations#

OperationAdvancedTransfer#

class MechJeb.OperationAdvancedTransfer()#

An interplanetary transfer to the target body. The departure and transfer time come from a search, chosen as MechJeb.OperationAdvancedTransfer.getMode() sets.

Note

MechJeb searches in the background. The first call to MakeNodes starts the search, and throws an MechJeb.OperationException until it finishes. See MechJeb.OperationAdvancedTransfer.getSearching().

OperationAdvancedTransfer.getMaxArrivalTime()#
OperationAdvancedTransfer.setMaxArrivalTime(value)#

The latest arrival time, as a time from now, in seconds.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

Note

Applies in the MechJeb.AdvancedTransferMode.limitedTime mode. MakeNodes computes a default for a new target, from the synodic period and the transfer time, unless it was set while the target was selected.

OperationAdvancedTransfer.getIncludeCaptureBurn()#
OperationAdvancedTransfer.setIncludeCaptureBurn(value)#

Whether to plan a capture burn at the destination.

Property:

Can be read or written

Return type:

boolean

Game Scenes:

Flight

OperationAdvancedTransfer.getPeriapsisHeight()#
OperationAdvancedTransfer.setPeriapsisHeight(value)#

The altitude of the periapsis at the destination, in meters.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

OperationAdvancedTransfer.getSearching()#

Whether MechJeb is searching for the departure.

Property:

Read-only, cannot be set

Return type:

boolean

Game Scenes:

Flight

OperationAdvancedTransfer.getSearchProgress()#

The progress of the search for the departure, as a percentage.

Property:

Read-only, cannot be set

Return type:

number

Game Scenes:

Flight

OperationAdvancedTransfer.getErrorMessage()#

The warning or error from the last call to MakeNodes, or an empty string.

Property:

Read-only, cannot be set

Return type:

string

Game Scenes:

Flight

OperationAdvancedTransfer.makeNodes()#

Make the maneuver nodes of the operation. Throws an MechJeb.OperationException if the operation cannot make them.

Returns:

The maneuver nodes.

Return type:

Array of SpaceCenter.Node

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

OperationAdvancedTransfer.getMode()#
OperationAdvancedTransfer.setMode(value)#

How the search chooses the departure and transfer time.

Property:

Can be read or written

Return type:

MechJeb.AdvancedTransferMode

Game Scenes:

Flight

Note

Setting it stops a search, so the next MakeNodes starts one.

OperationAdvancedTransfer.getTargetInclinationFlag()#
OperationAdvancedTransfer.setTargetInclinationFlag(value)#

Whether to aim for MechJeb.OperationAdvancedTransfer.getTargetInclination() at the target.

Property:

Can be read or written

Return type:

boolean

Game Scenes:

Flight

OperationAdvancedTransfer.getTargetInclination()#
OperationAdvancedTransfer.setTargetInclination(value)#

The inclination of the orbit at the target, in degrees.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

OperationAdvancedTransfer.getSearchFailed()#

Whether the search finished and found no transfer.

Property:

Read-only, cannot be set

Return type:

boolean

Game Scenes:

Flight

OperationAdvancedTransfer.selectLowestDeltaV()#

Select the departure and transfer time that need the least delta-v. The search selects them when it finishes. Throws an exception if MechJeb.OperationAdvancedTransfer.getMode() is not MechJeb.AdvancedTransferMode.porkchop, or the search has not finished.

Game Scenes:

Flight

OperationAdvancedTransfer.selectAsap()#

Select the earliest departure, with the transfer time that needs the least delta-v for it. Throws an exception if MechJeb.OperationAdvancedTransfer.getMode() is not MechJeb.AdvancedTransferMode.porkchop, or the search has not finished.

Game Scenes:

Flight

OperationAdvancedTransfer.select(departureTime, duration)#

Select the departure and transfer time nearest the given ones. Throws an exception if MechJeb.OperationAdvancedTransfer.getMode() is not MechJeb.AdvancedTransferMode.porkchop, the search has not finished, or there is no transfer near those times.

Arguments:
  • departureTime (number) – The universal time of the departure, in seconds.

  • duration (number) – The transfer time, in seconds.

Game Scenes:

Flight

OperationAdvancedTransfer.getSelectedDepartureTime()#

The universal time of the selected departure, in seconds. Throws an exception if the search has not finished.

Property:

Read-only, cannot be set

Return type:

number

Game Scenes:

Flight

OperationAdvancedTransfer.getSelectedDuration()#

The selected transfer time, in seconds. Throws an exception if the search has not finished.

Property:

Read-only, cannot be set

Return type:

number

Game Scenes:

Flight

OperationAdvancedTransfer.getSelectedDeltaV()#

The delta-v of the selected transfer that the search estimates, in \(\mathrm{m/s}\). Throws an exception if the search has not finished.

Property:

Read-only, cannot be set

Return type:

number

Game Scenes:

Flight

class MechJeb.AdvancedTransferMode()#

How the advanced transfer chooses the departure and transfer time. See MechJeb.OperationAdvancedTransfer.getMode().

AdvancedTransferMode.limitedTime#

The transfer that needs the least delta-v and arrives before MechJeb.OperationAdvancedTransfer.getMaxArrivalTime().

AdvancedTransferMode.porkchop#

A transfer from a grid of departures and transfer times, the porkchop plot of MechJeb’s window. The one that needs the least delta-v, unless another is selected.

OperationApoapsis#

class MechJeb.OperationApoapsis()#

Change the apoapsis.

OperationApoapsis.getErrorMessage()#

The warning or error from the last call to MakeNodes, or an empty string.

Property:

Read-only, cannot be set

Return type:

string

Game Scenes:

Flight

OperationApoapsis.makeNodes()#

Make the maneuver nodes of the operation. Throws an MechJeb.OperationException if the operation cannot make them.

Returns:

The maneuver nodes.

Return type:

Array of SpaceCenter.Node

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.getNewApoapsis()#
OperationApoapsis.setNewApoapsis(value)#

The new apoapsis altitude, in meters.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

OperationApoapsis.getTimeSelector()#

The time of the maneuver.

Property:

Read-only, cannot be set

Return type:

MechJeb.TimeSelector

Game Scenes:

Flight

OperationCircularize#

class MechJeb.OperationCircularize()#

Circularize the orbit.

Note

To raise the periapsis to the apoapsis, set the time to MechJeb.TimeReference.apoapsis, and to lower the apoapsis to the periapsis, set it to MechJeb.TimeReference.periapsis. These are the cheapest.

OperationCircularize.getErrorMessage()#

The warning or error from the last call to MakeNodes, or an empty string.

Property:

Read-only, cannot be set

Return type:

string

Game Scenes:

Flight

OperationCircularize.makeNodes()#

Make the maneuver nodes of the operation. Throws an MechJeb.OperationException if the operation cannot make them.

Returns:

The maneuver nodes.

Return type:

Array of SpaceCenter.Node

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

OperationCircularize.getTimeSelector()#

The time of the maneuver.

Property:

Read-only, cannot be set

Return type:

MechJeb.TimeSelector

Game Scenes:

Flight

OperationCourseCorrection#

class MechJeb.OperationCourseCorrection()#

Fine tune the closest approach to the target.

OperationCourseCorrection.getFinalPeriapsisAltitude()#
OperationCourseCorrection.setFinalPeriapsisAltitude(value)#

The periapsis altitude at a target body, in meters.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

OperationCourseCorrection.getErrorMessage()#

The warning or error from the last call to MakeNodes, or an empty string.

Property:

Read-only, cannot be set

Return type:

string

Game Scenes:

Flight

OperationCourseCorrection.getInterceptDistance()#
OperationCourseCorrection.setInterceptDistance(value)#

The closest approach distance to a target vessel, in meters.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

OperationCourseCorrection.makeNodes()#

Make the maneuver nodes of the operation. Throws an MechJeb.OperationException if the operation cannot make them.

Returns:

The maneuver nodes.

Return type:

Array of SpaceCenter.Node

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

OperationCourseCorrection.getInclinationFlag()#
OperationCourseCorrection.setInclinationFlag(value)#

Whether to aim for MechJeb.OperationCourseCorrection.getInclination() at the target.

Property:

Can be read or written

Return type:

boolean

Game Scenes:

Flight

Note

Applies when the target is a celestial body.

OperationCourseCorrection.getInclination()#
OperationCourseCorrection.setInclination(value)#

The inclination of the orbit at the target, in degrees.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

OperationEccentricity#

class MechJeb.OperationEccentricity()#

Change the eccentricity.

OperationEccentricity.getErrorMessage()#

The warning or error from the last call to MakeNodes, or an empty string.

Property:

Read-only, cannot be set

Return type:

string

Game Scenes:

Flight

OperationEccentricity.makeNodes()#

Make the maneuver nodes of the operation. Throws an MechJeb.OperationException if the operation cannot make them.

Returns:

The maneuver nodes.

Return type:

Array of SpaceCenter.Node

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.getNewEccentricity()#
OperationEccentricity.setNewEccentricity(value)#

The new eccentricity.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

OperationEccentricity.getTimeSelector()#

The time of the maneuver.

Property:

Read-only, cannot be set

Return type:

MechJeb.TimeSelector

Game Scenes:

Flight

OperationEllipticize#

class MechJeb.OperationEllipticize()#

Change both the periapsis and the apoapsis.

OperationEllipticize.getErrorMessage()#

The warning or error from the last call to MakeNodes, or an empty string.

Property:

Read-only, cannot be set

Return type:

string

Game Scenes:

Flight

OperationEllipticize.makeNodes()#

Make the maneuver nodes of the operation. Throws an MechJeb.OperationException if the operation cannot make them.

Returns:

The maneuver nodes.

Return type:

Array of SpaceCenter.Node

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

OperationEllipticize.getNewApoapsis()#
OperationEllipticize.setNewApoapsis(value)#

The new apoapsis altitude, in meters.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

OperationEllipticize.getNewPeriapsis()#
OperationEllipticize.setNewPeriapsis(value)#

The new periapsis altitude, in meters.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

OperationEllipticize.getTimeSelector()#

The time of the maneuver.

Property:

Read-only, cannot be set

Return type:

MechJeb.TimeSelector

Game Scenes:

Flight

OperationInclination#

class MechJeb.OperationInclination()#

Change the inclination.

OperationInclination.getErrorMessage()#

The warning or error from the last call to MakeNodes, or an empty string.

Property:

Read-only, cannot be set

Return type:

string

Game Scenes:

Flight

OperationInclination.makeNodes()#

Make the maneuver nodes of the operation. Throws an MechJeb.OperationException if the operation cannot make them.

Returns:

The maneuver nodes.

Return type:

Array of SpaceCenter.Node

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

OperationInclination.getNewInclination()#
OperationInclination.setNewInclination(value)#

The new inclination, in degrees.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

OperationInclination.getTimeSelector()#

The time of the maneuver.

Property:

Read-only, cannot be set

Return type:

MechJeb.TimeSelector

Game Scenes:

Flight

OperationKillRelVel#

class MechJeb.OperationKillRelVel()#

Match velocities with the target.

OperationKillRelVel.getErrorMessage()#

The warning or error from the last call to MakeNodes, or an empty string.

Property:

Read-only, cannot be set

Return type:

string

Game Scenes:

Flight

OperationKillRelVel.makeNodes()#

Make the maneuver nodes of the operation. Throws an MechJeb.OperationException if the operation cannot make them.

Returns:

The maneuver nodes.

Return type:

Array of SpaceCenter.Node

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.getTimeSelector()#

The time of the maneuver.

Property:

Read-only, cannot be set

Return type:

MechJeb.TimeSelector

Game Scenes:

Flight

OperationLambert#

class MechJeb.OperationLambert()#

Intercept the target at a chosen time.

OperationLambert.getErrorMessage()#

The warning or error from the last call to MakeNodes, or an empty string.

Property:

Read-only, cannot be set

Return type:

string

Game Scenes:

Flight

OperationLambert.getInterceptInterval()#
OperationLambert.setInterceptInterval(value)#

The time from the maneuver to the intercept, in seconds.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

OperationLambert.makeNodes()#

Make the maneuver nodes of the operation. Throws an MechJeb.OperationException if the operation cannot make them.

Returns:

The maneuver nodes.

Return type:

Array of SpaceCenter.Node

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

OperationLambert.getTimeSelector()#

The time of the maneuver.

Property:

Read-only, cannot be set

Return type:

MechJeb.TimeSelector

Game Scenes:

Flight

OperationLan#

class MechJeb.OperationLan()#

Change the longitude of the ascending node.

OperationLan.getErrorMessage()#

The warning or error from the last call to MakeNodes, or an empty string.

Property:

Read-only, cannot be set

Return type:

string

Game Scenes:

Flight

OperationLan.makeNodes()#

Make the maneuver nodes of the operation. Throws an MechJeb.OperationException if the operation cannot make them.

Returns:

The maneuver nodes.

Return type:

Array of SpaceCenter.Node

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

OperationLan.getNewLAN()#
OperationLan.setNewLAN(value)#

The new longitude of the ascending node, in degrees.

Property:

Can be read or written

Return type:

number

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.

OperationLan.getTimeSelector()#

The time of the maneuver.

Property:

Read-only, cannot be set

Return type:

MechJeb.TimeSelector

Game Scenes:

Flight

OperationLongitude#

class MechJeb.OperationLongitude()#

Change the surface longitude of the apsis.

OperationLongitude.getErrorMessage()#

The warning or error from the last call to MakeNodes, or an empty string.

Property:

Read-only, cannot be set

Return type:

string

Game Scenes:

Flight

OperationLongitude.makeNodes()#

Make the maneuver nodes of the operation. Throws an MechJeb.OperationException if the operation cannot make them.

Returns:

The maneuver nodes.

Return type:

Array of SpaceCenter.Node

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

OperationLongitude.getNewSurfaceLongitude()#
OperationLongitude.setNewSurfaceLongitude(value)#

The new surface longitude of the apsis after one orbit, in degrees.

Property:

Can be read or written

Return type:

number

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.

OperationLongitude.getTimeSelector()#

The time of the maneuver.

Property:

Read-only, cannot be set

Return type:

MechJeb.TimeSelector

Game Scenes:

Flight

OperationMoonReturn#

class MechJeb.OperationMoonReturn()#

Return from a moon to the body it orbits.

OperationMoonReturn.getErrorMessage()#

The warning or error from the last call to MakeNodes, or an empty string.

Property:

Read-only, cannot be set

Return type:

string

Game Scenes:

Flight

OperationMoonReturn.makeNodes()#

Make the maneuver nodes of the operation. Throws an MechJeb.OperationException if the operation cannot make them.

Returns:

The maneuver nodes.

Return type:

Array of SpaceCenter.Node

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

OperationMoonReturn.getMoonReturnAltitude()#
OperationMoonReturn.setMoonReturnAltitude(value)#

The approximate periapsis altitude at the body, in meters.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

OperationMoonReturn.getInclinationFlag()#
OperationMoonReturn.setInclinationFlag(value)#

Whether to aim for MechJeb.OperationMoonReturn.getInclination().

Property:

Can be read or written

Return type:

boolean

Game Scenes:

Flight

OperationMoonReturn.getInclination()#
OperationMoonReturn.setInclination(value)#

The inclination of the orbit around the body after the return, in degrees.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

OperationPeriapsis#

class MechJeb.OperationPeriapsis()#

Change the periapsis.

OperationPeriapsis.getErrorMessage()#

The warning or error from the last call to MakeNodes, or an empty string.

Property:

Read-only, cannot be set

Return type:

string

Game Scenes:

Flight

OperationPeriapsis.makeNodes()#

Make the maneuver nodes of the operation. Throws an MechJeb.OperationException if the operation cannot make them.

Returns:

The maneuver nodes.

Return type:

Array of SpaceCenter.Node

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.getNewPeriapsis()#
OperationPeriapsis.setNewPeriapsis(value)#

The new periapsis altitude, in meters.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

OperationPeriapsis.getTimeSelector()#

The time of the maneuver.

Property:

Read-only, cannot be set

Return type:

MechJeb.TimeSelector

Game Scenes:

Flight

OperationPlane#

class MechJeb.OperationPlane()#

Match planes with the target.

OperationPlane.getErrorMessage()#

The warning or error from the last call to MakeNodes, or an empty string.

Property:

Read-only, cannot be set

Return type:

string

Game Scenes:

Flight

OperationPlane.makeNodes()#

Make the maneuver nodes of the operation. Throws an MechJeb.OperationException if the operation cannot make them.

Returns:

The maneuver nodes.

Return type:

Array of SpaceCenter.Node

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

OperationPlane.getTimeSelector()#

The time of the maneuver.

Property:

Read-only, cannot be set

Return type:

MechJeb.TimeSelector

Game Scenes:

Flight

OperationResonantOrbit#

class MechJeb.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.

OperationResonantOrbit.getErrorMessage()#

The warning or error from the last call to MakeNodes, or an empty string.

Property:

Read-only, cannot be set

Return type:

string

Game Scenes:

Flight

OperationResonantOrbit.makeNodes()#

Make the maneuver nodes of the operation. Throws an MechJeb.OperationException if the operation cannot make them.

Returns:

The maneuver nodes.

Return type:

Array of SpaceCenter.Node

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

OperationResonantOrbit.getResonanceDenominator()#
OperationResonantOrbit.setResonanceDenominator(value)#

The denominator of the ratio of the new orbital period to the current one.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

OperationResonantOrbit.getResonanceNumerator()#
OperationResonantOrbit.setResonanceNumerator(value)#

The numerator of the ratio of the new orbital period to the current one.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

OperationResonantOrbit.getTimeSelector()#

The time of the maneuver.

Property:

Read-only, cannot be set

Return type:

MechJeb.TimeSelector

Game Scenes:

Flight

OperationSemiMajor#

class MechJeb.OperationSemiMajor()#

Change the semi-major axis.

OperationSemiMajor.getErrorMessage()#

The warning or error from the last call to MakeNodes, or an empty string.

Property:

Read-only, cannot be set

Return type:

string

Game Scenes:

Flight

OperationSemiMajor.makeNodes()#

Make the maneuver nodes of the operation. Throws an MechJeb.OperationException if the operation cannot make them.

Returns:

The maneuver nodes.

Return type:

Array of SpaceCenter.Node

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

OperationSemiMajor.getNewSemiMajorAxis()#
OperationSemiMajor.setNewSemiMajorAxis(value)#

The new semi-major axis, in meters.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

OperationSemiMajor.getTimeSelector()#

The time of the maneuver.

Property:

Read-only, cannot be set

Return type:

MechJeb.TimeSelector

Game Scenes:

Flight

OperationStationaryOrbit#

class MechJeb.OperationStationaryOrbit()#

A transfer to the stationary orbit of the body, above MechJeb.OperationStationaryOrbit.getTargetLongitude().

Note

The transfer is a Hohmann transfer with a second node to circularize. Throws an MechJeb.OperationException from MakeNodes if the stationary orbit is outside the body’s sphere of influence.

OperationStationaryOrbit.getErrorMessage()#

The warning or error from the last call to MakeNodes, or an empty string.

Property:

Read-only, cannot be set

Return type:

string

Game Scenes:

Flight

OperationStationaryOrbit.makeNodes()#

Make the maneuver nodes of the operation. Throws an MechJeb.OperationException if the operation cannot make them.

Returns:

The maneuver nodes.

Return type:

Array of SpaceCenter.Node

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

OperationStationaryOrbit.getTargetLongitude()#
OperationStationaryOrbit.setTargetLongitude(value)#

The surface longitude to stay above, in degrees.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

OperationTransfer#

class MechJeb.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.

OperationTransfer.getErrorMessage()#

The warning or error from the last call to MakeNodes, or an empty string.

Property:

Read-only, cannot be set

Return type:

string

Game Scenes:

Flight

OperationTransfer.makeNodes()#

Make the maneuver nodes of the operation. Throws an MechJeb.OperationException if the operation cannot make them.

Returns:

The maneuver nodes.

Return type:

Array of SpaceCenter.Node

Game Scenes:

Flight

Note

The nodes follow the vessel’s last maneuver node, if it has one. A warning may be left in ErrorMessage.

OperationTransfer.getCapture()#
OperationTransfer.setCapture(value)#

Whether the transfer ends in the target’s orbit. Without capture, it is an impact or a flyby.

Property:

Can be read or written

Return type:

boolean

Game Scenes:

Flight

OperationTransfer.getPlanCapture()#
OperationTransfer.setPlanCapture(value)#

Whether to make a second node for the capture burn.

Property:

Can be read or written

Return type:

boolean

Game Scenes:

Flight

OperationTransfer.getMatchOrbit()#
OperationTransfer.setMatchOrbit(value)#

Whether to reach the target’s orbit, ahead of or behind the target, rather than meet the target.

Property:

Can be read or written

Return type:

boolean

Game Scenes:

Flight

OperationTransfer.getLagTime()#
OperationTransfer.setLagTime(value)#

The time by which the vessel arrives behind the target, in seconds.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

OperationTransfer.getCoplanar()#
OperationTransfer.setCoplanar(value)#

Whether the transfer stays in the vessel’s orbital plane.

Property:

Can be read or written

Return type:

boolean

Game Scenes:

Flight

OperationTransfer.getTimeSelector()#

The time of the maneuver.

Property:

Read-only, cannot be set

Return type:

MechJeb.TimeSelector

Game Scenes:

Flight