ManeuverPlanner
- class MechJeb.ManeuverPlanner
- operation_apoapsis: MechJeb.OperationApoapsis
- Attribute:
Read-only, cannot be set
- Return type:
- operation_circularize: MechJeb.OperationCircularize
- Attribute:
Read-only, cannot be set
- Return type:
- operation_course_correction: MechJeb.OperationCourseCorrection
- Attribute:
Read-only, cannot be set
- Return type:
- operation_ellipticize: MechJeb.OperationEllipticize
- Attribute:
Read-only, cannot be set
- Return type:
- operation_inclination: MechJeb.OperationInclination
- Attribute:
Read-only, cannot be set
- Return type:
- operation_interplanetary_transfer: MechJeb.OperationInterplanetaryTransfer
- Attribute:
Read-only, cannot be set
- Return type:
- operation_kill_rel_vel: MechJeb.OperationKillRelVel
- Attribute:
Read-only, cannot be set
- Return type:
- operation_lambert: MechJeb.OperationLambert
- Attribute:
Read-only, cannot be set
- Return type:
- operation_lan: MechJeb.OperationLan
- Attribute:
Read-only, cannot be set
- Return type:
- operation_longitude: MechJeb.OperationLongitude
- Attribute:
Read-only, cannot be set
- Return type:
- operation_moon_return: MechJeb.OperationMoonReturn
- Attribute:
Read-only, cannot be set
- Return type:
- operation_periapsis: MechJeb.OperationPeriapsis
- Attribute:
Read-only, cannot be set
- Return type:
- operation_plane: MechJeb.OperationPlane
- Attribute:
Read-only, cannot be set
- Return type:
- operation_resonant_orbit: MechJeb.OperationResonantOrbit
- Attribute:
Read-only, cannot be set
- Return type:
- operation_semi_major: MechJeb.OperationSemiMajor
- Attribute:
Read-only, cannot be set
- Return type:
- operation_transfer: MechJeb.OperationTransfer
- Attribute:
Read-only, cannot be set
- Return type:
- class MechJeb.OperationException
This exception is thrown when there is something wrong with the operation (e.g. the target is not set when the operation needs it).
TimeSelector
- class MechJeb.TimeSelector
- circularize_altitude: number
To be used with
MechJeb.TimeReference.altitude
.- Attribute:
Can be read or written
- Return type:
number
- lead_time: number
To be used with
MechJeb.TimeReference.x_from_now
.- Attribute:
Can be read or written
- Return type:
number
- time_reference: MechJeb.TimeReference
- Attribute:
Can be read or written
- Return type:
- class MechJeb.TimeReference
- altitude
At the selected
MechJeb.TimeSelector.circularize_altitude
.
- apoapsis
At the next apoapsis.
- closest_approach
At the closest approach to the target.
- computed
At the optimum time.
- eq_ascending
At the equatorial ascending node.
- eq_descending
At the equatorial descending node.
- eq_highest_ad
At the cheapest equatorial AN/DN.
- eq_nearest_ad
At the nearest equatorial AN/DN.
- periapsis
At the next periapsis.
- rel_ascending
At the next ascending node with the target.
- rel_descending
At the next descending node with the target.
- rel_highest_ad
At the cheapest AN/DN with the target.
- rel_nearest_ad
At the nearest AN/DN with the target.
- x_from_now
After a fixed
MechJeb.TimeSelector.lead_time
.
Operations
OperationApoapsis
- class MechJeb.OperationApoapsis
Create a maneuver to set a new apoapsis
- error_message: string
A warning may be stored there during MakeNode() call.
- Attribute:
Read-only, cannot be set
- Return type:
string
- make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Return type:
SpaceCenter.Node
Note
This method is deprecated, use MakeNodes instead.
- make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Return type:
List
- new_apoapsis: number
- Attribute:
Can be read or written
- Return type:
number
- time_selector: MechJeb.TimeSelector
- Attribute:
Read-only, cannot be set
- Return type:
OperationCircularize
- class MechJeb.OperationCircularize
This mode creates a manevuer to match your apoapsis to periapsis. To match apoapsis to periapsis, set the time to
MechJeb.TimeReference.periapsis
; to match periapsis to apoapsis, set the time toMechJeb.TimeReference.apoapsis
. These are the most efficient, but it can also create node at specific height or after specific time.- error_message: string
A warning may be stored there during MakeNode() call.
- Attribute:
Read-only, cannot be set
- Return type:
string
- make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Return type:
SpaceCenter.Node
Note
This method is deprecated, use MakeNodes instead.
- make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Return type:
List
- time_selector: MechJeb.TimeSelector
- Attribute:
Read-only, cannot be set
- Return type:
OperationCourseCorrection
- class MechJeb.OperationCourseCorrection
Create a maneuver to fine-tune closest approach to target
- course_correct_final_pe_a: number
- Attribute:
Can be read or written
- Return type:
number
- error_message: string
A warning may be stored there during MakeNode() call.
- Attribute:
Read-only, cannot be set
- Return type:
string
- intercept_distance: number
- Attribute:
Can be read or written
- Return type:
number
- make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Return type:
SpaceCenter.Node
Note
This method is deprecated, use MakeNodes instead.
- make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Return type:
List
OperationEllipticize
- class MechJeb.OperationEllipticize
Create a maneuver to change both periapsis and apoapsis
- error_message: string
A warning may be stored there during MakeNode() call.
- Attribute:
Read-only, cannot be set
- Return type:
string
- make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Return type:
SpaceCenter.Node
Note
This method is deprecated, use MakeNodes instead.
- make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Return type:
List
- new_apoapsis: number
- Attribute:
Can be read or written
- Return type:
number
- new_periapsis: number
- Attribute:
Can be read or written
- Return type:
number
- time_selector: MechJeb.TimeSelector
- Attribute:
Read-only, cannot be set
- Return type:
OperationInclination
- class MechJeb.OperationInclination
Create a maneuver to change inclination
- error_message: string
A warning may be stored there during MakeNode() call.
- Attribute:
Read-only, cannot be set
- Return type:
string
- make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Return type:
SpaceCenter.Node
Note
This method is deprecated, use MakeNodes instead.
- make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Return type:
List
- new_inclination: number
- Attribute:
Can be read or written
- Return type:
number
- time_selector: MechJeb.TimeSelector
- Attribute:
Read-only, cannot be set
- Return type:
OperationInterplanetaryTransfer
- class MechJeb.OperationInterplanetaryTransfer
Create a maneuver to transfer to another planet
- error_message: string
A warning may be stored there during MakeNode() call.
- Attribute:
Read-only, cannot be set
- Return type:
string
- make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Return type:
SpaceCenter.Node
Note
This method is deprecated, use MakeNodes instead.
- make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Return type:
List
- wait_for_phase_angle: boolean
- Attribute:
Can be read or written
- Return type:
boolean
OperationKillRelVel
- class MechJeb.OperationKillRelVel
Match velocities with target
- error_message: string
A warning may be stored there during MakeNode() call.
- Attribute:
Read-only, cannot be set
- Return type:
string
- make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Return type:
SpaceCenter.Node
Note
This method is deprecated, use MakeNodes instead.
- make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Return type:
List
- time_selector: MechJeb.TimeSelector
- Attribute:
Read-only, cannot be set
- Return type:
OperationLambert
- class MechJeb.OperationLambert
Create a maneuver to set the chosen time
- error_message: string
A warning may be stored there during MakeNode() call.
- Attribute:
Read-only, cannot be set
- Return type:
string
- intercept_interval: number
- Attribute:
Can be read or written
- Return type:
number
- make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Return type:
SpaceCenter.Node
Note
This method is deprecated, use MakeNodes instead.
- make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Return type:
List
- time_selector: MechJeb.TimeSelector
- Attribute:
Read-only, cannot be set
- Return type:
OperationLan
- class MechJeb.OperationLan
Change longitude of ascending node
- error_message: string
A warning may be stored there during MakeNode() call.
- Attribute:
Read-only, cannot be set
- Return type:
string
- make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Return type:
SpaceCenter.Node
Note
This method is deprecated, use MakeNodes instead.
- make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Return type:
List
- new_lan: number
- Attribute:
Can be read or written
- Return type:
number
- time_selector: MechJeb.TimeSelector
- Attribute:
Read-only, cannot be set
- Return type:
OperationLongitude
- class MechJeb.OperationLongitude
Change surface longitude of apsis
- error_message: string
A warning may be stored there during MakeNode() call.
- Attribute:
Read-only, cannot be set
- Return type:
string
- make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Return type:
SpaceCenter.Node
Note
This method is deprecated, use MakeNodes instead.
- make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Return type:
List
- new_surface_longitude: number
- Attribute:
Can be read or written
- Return type:
number
- time_selector: MechJeb.TimeSelector
- Attribute:
Read-only, cannot be set
- Return type:
OperationMoonReturn
- class MechJeb.OperationMoonReturn
Create a maneuver to return from a moon approximately at the specified altitude
- error_message: string
A warning may be stored there during MakeNode() call.
- Attribute:
Read-only, cannot be set
- Return type:
string
- make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Return type:
SpaceCenter.Node
Note
This method is deprecated, use MakeNodes instead.
- make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Return type:
List
- moon_return_altitude: number
Approximate return altitude from a moon (from an orbiting body to the parent body).
- Attribute:
Can be read or written
- Return type:
number
OperationPeriapsis
- class MechJeb.OperationPeriapsis
Create a maneuver to set a new periapsis
- error_message: string
A warning may be stored there during MakeNode() call.
- Attribute:
Read-only, cannot be set
- Return type:
string
- make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Return type:
SpaceCenter.Node
Note
This method is deprecated, use MakeNodes instead.
- make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Return type:
List
- new_periapsis: number
- Attribute:
Can be read or written
- Return type:
number
- time_selector: MechJeb.TimeSelector
- Attribute:
Read-only, cannot be set
- Return type:
OperationPlane
- class MechJeb.OperationPlane
Create a maneuver to match planes with target
- error_message: string
A warning may be stored there during MakeNode() call.
- Attribute:
Read-only, cannot be set
- Return type:
string
- make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Return type:
SpaceCenter.Node
Note
This method is deprecated, use MakeNodes instead.
- make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Return type:
List
- time_selector: MechJeb.TimeSelector
- Attribute:
Read-only, cannot be set
- Return type:
OperationResonantOrbit
- class MechJeb.OperationResonantOrbit
Resonant orbit is useful for placing satellites to a constellation. This mode should be used starting from a orbit in the desired orbital plane. Important parameter to this mode is the desired orbital ratio, which is the ratio between period of your current orbit and the new orbit. To deploy satellites, set the denominator to number of satellites you want to have in the constellation. Setting the nominator to one less than denominator is the most efficient, but not necessary the fastest. To successfully deploy all satellites, make sure the numbers are incommensurable.
- error_message: string
A warning may be stored there during MakeNode() call.
- Attribute:
Read-only, cannot be set
- Return type:
string
- make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Return type:
SpaceCenter.Node
Note
This method is deprecated, use MakeNodes instead.
- make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Return type:
List
- resonance_denominator: number
- Attribute:
Can be read or written
- Return type:
number
- resonance_numerator: number
- Attribute:
Can be read or written
- Return type:
number
- time_selector: MechJeb.TimeSelector
- Attribute:
Read-only, cannot be set
- Return type:
OperationSemiMajor
- class MechJeb.OperationSemiMajor
Create a maneuver to set a new semi-major axis
- error_message: string
A warning may be stored there during MakeNode() call.
- Attribute:
Read-only, cannot be set
- Return type:
string
- make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Return type:
SpaceCenter.Node
Note
This method is deprecated, use MakeNodes instead.
- make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Return type:
List
- new_semi_major_axis: number
- Attribute:
Can be read or written
- Return type:
number
- time_selector: MechJeb.TimeSelector
- Attribute:
Read-only, cannot be set
- Return type:
OperationTransfer
- class MechJeb.OperationTransfer
Bi-impulsive (Hohmann) transfer to target.
This option is used to plan transfer to target in single sphere of influence. It is suitable for rendezvous with other vessels or moons. Contrary to the name, the transfer is often uni-impulsive. You can select when you want the manevuer to happen or select optimum time.
- error_message: string
A warning may be stored there during MakeNode() call.
- Attribute:
Read-only, cannot be set
- Return type:
string
- make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Return type:
SpaceCenter.Node
Note
This method is deprecated, use MakeNodes instead.
- make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Return type:
List
- intercept_only: boolean
Intercept only, no capture burn (impact/flyby)
- Attribute:
Can be read or written
- Return type:
boolean
- period_offset: number
Fractional target period offset
- Attribute:
Can be read or written
- Return type:
number
- simple_transfer: boolean
Simple coplanar Hohmann transfer. Set it to true if you are used to the old version of transfer maneuver.
- Attribute:
Can be read or written
- Return type:
boolean
Note
If set to true, TimeSelector property is ignored.
- time_selector: MechJeb.TimeSelector
- Attribute:
Read-only, cannot be set
- Return type: