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

The operation that transfers to another planet.

Property:

Read-only, cannot be set

Return type:

MechJeb.OperationInterplanetaryTransfer

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

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

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, at the departure that needs the least delta-v before MechJeb.OperationAdvancedTransfer.getMaxArrivalTime().

Note

MechJeb searches for the departure 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

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.

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.

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

OperationInterplanetaryTransfer#

class MechJeb.OperationInterplanetaryTransfer()#

Transfer to another planet.

OperationInterplanetaryTransfer.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

OperationInterplanetaryTransfer.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.

OperationInterplanetaryTransfer.getWaitForPhaseAngle()#
OperationInterplanetaryTransfer.setWaitForPhaseAngle(value)#

Whether to wait for the optimal phase angle. Otherwise the transfer happens now.

Property:

Can be read or written

Return type:

boolean

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

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

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.getRendezvous()#
OperationTransfer.setRendezvous(value)#

Whether to meet the target, rather than reach its orbit.

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