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.

operation_advanced_transfer#

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

Attribute:

Read-only, cannot be set

Return type:

OperationAdvancedTransfer

Game Scenes:

Flight

operation_apoapsis#

The operation that changes the apoapsis.

Attribute:

Read-only, cannot be set

Return type:

OperationApoapsis

Game Scenes:

Flight

operation_circularize#

The operation that circularizes the orbit.

Attribute:

Read-only, cannot be set

Return type:

OperationCircularize

Game Scenes:

Flight

operation_course_correction#

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

Attribute:

Read-only, cannot be set

Return type:

OperationCourseCorrection

Game Scenes:

Flight

operation_eccentricity#

The operation that changes the eccentricity.

Attribute:

Read-only, cannot be set

Return type:

OperationEccentricity

Game Scenes:

Flight

operation_ellipticize#

The operation that changes both the periapsis and the apoapsis.

Attribute:

Read-only, cannot be set

Return type:

OperationEllipticize

Game Scenes:

Flight

operation_inclination#

The operation that changes the inclination.

Attribute:

Read-only, cannot be set

Return type:

OperationInclination

Game Scenes:

Flight

operation_kill_rel_vel#

The operation that matches velocities with the target.

Attribute:

Read-only, cannot be set

Return type:

OperationKillRelVel

Game Scenes:

Flight

operation_lambert#

The operation that intercepts the target at a chosen time.

Attribute:

Read-only, cannot be set

Return type:

OperationLambert

Game Scenes:

Flight

operation_lan#

The operation that changes the longitude of the ascending node.

Attribute:

Read-only, cannot be set

Return type:

OperationLan

Game Scenes:

Flight

operation_longitude#

The operation that changes the surface longitude of the apsis.

Attribute:

Read-only, cannot be set

Return type:

OperationLongitude

Game Scenes:

Flight

operation_moon_return#

The operation that returns from a moon.

Attribute:

Read-only, cannot be set

Return type:

OperationMoonReturn

Game Scenes:

Flight

operation_periapsis#

The operation that changes the periapsis.

Attribute:

Read-only, cannot be set

Return type:

OperationPeriapsis

Game Scenes:

Flight

operation_plane#

The operation that matches planes with the target.

Attribute:

Read-only, cannot be set

Return type:

OperationPlane

Game Scenes:

Flight

operation_resonant_orbit#

The operation that changes to a resonant orbit.

Attribute:

Read-only, cannot be set

Return type:

OperationResonantOrbit

Game Scenes:

Flight

operation_semi_major#

The operation that changes the semi-major axis.

Attribute:

Read-only, cannot be set

Return type:

OperationSemiMajor

Game Scenes:

Flight

operation_transfer#

The operation that transfers to the target.

Attribute:

Read-only, cannot be set

Return type:

OperationTransfer

Game Scenes:

Flight

abort_node_execution()#

Stop executing the maneuver nodes.

Game Scenes:

Flight

execute_all_nodes()#

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

Game Scenes:

Flight

execute_next_node()#

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

Game Scenes:

Flight

autowarp#

Whether to warp time to the burn.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

Note

The same setting as RendezvousAutopilot.autowarp.

executing_node#

Whether a maneuver node is being executed.

Attribute:

Read-only, cannot be set

Return type:

bool

Game Scenes:

Flight

lead_time#

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

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

rcs_only#

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

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

kill_roll_rotation#

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

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

operation_stationary_orbit#

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

Attribute:

Read-only, cannot be set

Return type:

OperationStationaryOrbit

Game Scenes:

Flight

initial_warp_lead_time#

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

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

Note

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

aligned_tolerance#

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

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

warp_aligned_tolerance#

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

Attribute:

Can be read or written

Return type:

float

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 krpc.error.ServerError.

TimeSelector#

class MechJeb.TimeSelector#

The time of a maneuver.

circularize_altitude#

The altitude, in meters.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

Note

Applies to TimeReference.altitude.

lead_time#

The time from now, in seconds.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

Note

Applies to TimeReference.x_from_now.

time_reference#

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

Attribute:

Can be read or written

Return type:

TimeReference

Game Scenes:

Flight

class MechJeb.TimeReference#

The time reference of a maneuver. See TimeSelector.time_reference.

computed#

At the optimum time.

x_from_now#

After TimeSelector.lead_time.

apoapsis#

At the next apoapsis.

periapsis#

At the next periapsis.

altitude#

At TimeSelector.circularize_altitude.

eq_ascending#

At the equatorial ascending node.

eq_descending#

At the equatorial descending node.

rel_ascending#

At the next ascending node with the target.

rel_descending#

At the next descending node with the target.

closest_approach#

At the closest approach to the target.

eq_highest_ad#

At the cheaper of the equatorial ascending and descending nodes.

eq_nearest_ad#

At the nearer of the equatorial ascending and descending nodes.

rel_highest_ad#

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

rel_nearest_ad#

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 OperationAdvancedTransfer.mode sets.

Note

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

max_arrival_time#

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

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

Note

Applies in the AdvancedTransferMode.limited_time 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.

include_capture_burn#

Whether to plan a capture burn at the destination.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

periapsis_height#

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

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

searching#

Whether MechJeb is searching for the departure.

Attribute:

Read-only, cannot be set

Return type:

bool

Game Scenes:

Flight

search_progress#

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

Attribute:

Read-only, cannot be set

Return type:

int

Game Scenes:

Flight

error_message#

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

Attribute:

Read-only, cannot be set

Return type:

str

Game Scenes:

Flight

make_nodes()#

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

Returns:

The maneuver nodes.

Return type:

list(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.

mode#

How the search chooses the departure and transfer time.

Attribute:

Can be read or written

Return type:

AdvancedTransferMode

Game Scenes:

Flight

Note

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

target_inclination_flag#

Whether to aim for OperationAdvancedTransfer.target_inclination at the target.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

target_inclination#

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

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

search_failed#

Whether the search finished and found no transfer.

Attribute:

Read-only, cannot be set

Return type:

bool

Game Scenes:

Flight

select_lowest_delta_v()#

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

Game Scenes:

Flight

select_asap()#

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

Game Scenes:

Flight

select(departure_time, duration)#

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

Parameters:
  • departure_time (float) – The universal time of the departure, in seconds.

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

Game Scenes:

Flight

selected_departure_time#

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

Attribute:

Read-only, cannot be set

Return type:

float

Game Scenes:

Flight

selected_duration#

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

Attribute:

Read-only, cannot be set

Return type:

float

Game Scenes:

Flight

selected_delta_v#

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

Attribute:

Read-only, cannot be set

Return type:

float

Game Scenes:

Flight

class MechJeb.AdvancedTransferMode#

How the advanced transfer chooses the departure and transfer time. See OperationAdvancedTransfer.mode.

limited_time#

The transfer that needs the least delta-v and arrives before OperationAdvancedTransfer.max_arrival_time.

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.

error_message#

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

Attribute:

Read-only, cannot be set

Return type:

str

Game Scenes:

Flight

make_nodes()#

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

Returns:

The maneuver nodes.

Return type:

list(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.

new_apoapsis#

The new apoapsis altitude, in meters.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

time_selector#

The time of the maneuver.

Attribute:

Read-only, cannot be set

Return type:

TimeSelector

Game Scenes:

Flight

OperationCircularize#

class MechJeb.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 to TimeReference.periapsis. These are the cheapest.

error_message#

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

Attribute:

Read-only, cannot be set

Return type:

str

Game Scenes:

Flight

make_nodes()#

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

Returns:

The maneuver nodes.

Return type:

list(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.

time_selector#

The time of the maneuver.

Attribute:

Read-only, cannot be set

Return type:

TimeSelector

Game Scenes:

Flight

OperationCourseCorrection#

class MechJeb.OperationCourseCorrection#

Fine tune the closest approach to the target.

final_periapsis_altitude#

The periapsis altitude at a target body, in meters.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

error_message#

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

Attribute:

Read-only, cannot be set

Return type:

str

Game Scenes:

Flight

intercept_distance#

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

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

make_nodes()#

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

Returns:

The maneuver nodes.

Return type:

list(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.

inclination_flag#

Whether to aim for OperationCourseCorrection.inclination at the target.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

Note

Applies when the target is a celestial body.

inclination#

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

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

OperationEccentricity#

class MechJeb.OperationEccentricity#

Change the eccentricity.

error_message#

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

Attribute:

Read-only, cannot be set

Return type:

str

Game Scenes:

Flight

make_nodes()#

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

Returns:

The maneuver nodes.

Return type:

list(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.

new_eccentricity#

The new eccentricity.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

time_selector#

The time of the maneuver.

Attribute:

Read-only, cannot be set

Return type:

TimeSelector

Game Scenes:

Flight

OperationEllipticize#

class MechJeb.OperationEllipticize#

Change both the periapsis and the apoapsis.

error_message#

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

Attribute:

Read-only, cannot be set

Return type:

str

Game Scenes:

Flight

make_nodes()#

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

Returns:

The maneuver nodes.

Return type:

list(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.

new_apoapsis#

The new apoapsis altitude, in meters.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

new_periapsis#

The new periapsis altitude, in meters.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

time_selector#

The time of the maneuver.

Attribute:

Read-only, cannot be set

Return type:

TimeSelector

Game Scenes:

Flight

OperationInclination#

class MechJeb.OperationInclination#

Change the inclination.

error_message#

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

Attribute:

Read-only, cannot be set

Return type:

str

Game Scenes:

Flight

make_nodes()#

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

Returns:

The maneuver nodes.

Return type:

list(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.

new_inclination#

The new inclination, in degrees.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

time_selector#

The time of the maneuver.

Attribute:

Read-only, cannot be set

Return type:

TimeSelector

Game Scenes:

Flight

OperationKillRelVel#

class MechJeb.OperationKillRelVel#

Match velocities with the target.

error_message#

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

Attribute:

Read-only, cannot be set

Return type:

str

Game Scenes:

Flight

make_nodes()#

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

Returns:

The maneuver nodes.

Return type:

list(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.

time_selector#

The time of the maneuver.

Attribute:

Read-only, cannot be set

Return type:

TimeSelector

Game Scenes:

Flight

OperationLambert#

class MechJeb.OperationLambert#

Intercept the target at a chosen time.

error_message#

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

Attribute:

Read-only, cannot be set

Return type:

str

Game Scenes:

Flight

intercept_interval#

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

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

make_nodes()#

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

Returns:

The maneuver nodes.

Return type:

list(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.

time_selector#

The time of the maneuver.

Attribute:

Read-only, cannot be set

Return type:

TimeSelector

Game Scenes:

Flight

OperationLan#

class MechJeb.OperationLan#

Change the longitude of the ascending node.

error_message#

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

Attribute:

Read-only, cannot be set

Return type:

str

Game Scenes:

Flight

make_nodes()#

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

Returns:

The maneuver nodes.

Return type:

list(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.

new_lan#

The new longitude of the ascending node, in degrees.

Attribute:

Can be read or written

Return type:

float

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.

time_selector#

The time of the maneuver.

Attribute:

Read-only, cannot be set

Return type:

TimeSelector

Game Scenes:

Flight

OperationLongitude#

class MechJeb.OperationLongitude#

Change the surface longitude of the apsis.

error_message#

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

Attribute:

Read-only, cannot be set

Return type:

str

Game Scenes:

Flight

make_nodes()#

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

Returns:

The maneuver nodes.

Return type:

list(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.

new_surface_longitude#

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

Attribute:

Can be read or written

Return type:

float

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.

time_selector#

The time of the maneuver.

Attribute:

Read-only, cannot be set

Return type:

TimeSelector

Game Scenes:

Flight

OperationMoonReturn#

class MechJeb.OperationMoonReturn#

Return from a moon to the body it orbits.

error_message#

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

Attribute:

Read-only, cannot be set

Return type:

str

Game Scenes:

Flight

make_nodes()#

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

Returns:

The maneuver nodes.

Return type:

list(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.

moon_return_altitude#

The approximate periapsis altitude at the body, in meters.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

inclination_flag#

Whether to aim for OperationMoonReturn.inclination.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

inclination#

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

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

OperationPeriapsis#

class MechJeb.OperationPeriapsis#

Change the periapsis.

error_message#

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

Attribute:

Read-only, cannot be set

Return type:

str

Game Scenes:

Flight

make_nodes()#

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

Returns:

The maneuver nodes.

Return type:

list(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.

new_periapsis#

The new periapsis altitude, in meters.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

time_selector#

The time of the maneuver.

Attribute:

Read-only, cannot be set

Return type:

TimeSelector

Game Scenes:

Flight

OperationPlane#

class MechJeb.OperationPlane#

Match planes with the target.

error_message#

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

Attribute:

Read-only, cannot be set

Return type:

str

Game Scenes:

Flight

make_nodes()#

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

Returns:

The maneuver nodes.

Return type:

list(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.

time_selector#

The time of the maneuver.

Attribute:

Read-only, cannot be set

Return type:

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.

error_message#

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

Attribute:

Read-only, cannot be set

Return type:

str

Game Scenes:

Flight

make_nodes()#

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

Returns:

The maneuver nodes.

Return type:

list(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.

resonance_denominator#

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

Attribute:

Can be read or written

Return type:

int

Game Scenes:

Flight

resonance_numerator#

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

Attribute:

Can be read or written

Return type:

int

Game Scenes:

Flight

time_selector#

The time of the maneuver.

Attribute:

Read-only, cannot be set

Return type:

TimeSelector

Game Scenes:

Flight

OperationSemiMajor#

class MechJeb.OperationSemiMajor#

Change the semi-major axis.

error_message#

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

Attribute:

Read-only, cannot be set

Return type:

str

Game Scenes:

Flight

make_nodes()#

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

Returns:

The maneuver nodes.

Return type:

list(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.

new_semi_major_axis#

The new semi-major axis, in meters.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

time_selector#

The time of the maneuver.

Attribute:

Read-only, cannot be set

Return type:

TimeSelector

Game Scenes:

Flight

OperationStationaryOrbit#

class MechJeb.OperationStationaryOrbit#

A transfer to the stationary orbit of the body, above OperationStationaryOrbit.target_longitude.

Note

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

error_message#

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

Attribute:

Read-only, cannot be set

Return type:

str

Game Scenes:

Flight

make_nodes()#

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

Returns:

The maneuver nodes.

Return type:

list(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.

target_longitude#

The surface longitude to stay above, in degrees.

Attribute:

Can be read or written

Return type:

float

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.

error_message#

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

Attribute:

Read-only, cannot be set

Return type:

str

Game Scenes:

Flight

make_nodes()#

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

Returns:

The maneuver nodes.

Return type:

list(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.

capture#

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

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

plan_capture#

Whether to make a second node for the capture burn.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

Note

Requires OperationTransfer.capture. For a celestial body target, also requires OperationTransfer.match_orbit or a OperationTransfer.lag_time.

match_orbit#

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

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

Note

Requires OperationTransfer.capture.

lag_time#

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

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight

Note

Ignored with OperationTransfer.match_orbit.

coplanar#

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

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight

time_selector#

The time of the maneuver.

Attribute:

Read-only, cannot be set

Return type:

TimeSelector

Game Scenes:

Flight