.. default-domain:: java .. highlight:: java .. package:: krpc.client.services.MechJeb ManeuverPlanner =============== .. type:: public class ManeuverPlanner .. method:: OperationApoapsis getOperationApoapsis() :Game Scenes: Flight .. method:: OperationCircularize getOperationCircularize() :Game Scenes: Flight .. method:: OperationCourseCorrection getOperationCourseCorrection() :Game Scenes: Flight .. method:: OperationEllipticize getOperationEllipticize() :Game Scenes: Flight .. method:: OperationInclination getOperationInclination() :Game Scenes: Flight .. method:: OperationInterplanetaryTransfer getOperationInterplanetaryTransfer() :Game Scenes: Flight .. method:: OperationKillRelVel getOperationKillRelVel() :Game Scenes: Flight .. method:: OperationLambert getOperationLambert() :Game Scenes: Flight .. method:: OperationLan getOperationLan() :Game Scenes: Flight .. method:: OperationLongitude getOperationLongitude() :Game Scenes: Flight .. method:: OperationMoonReturn getOperationMoonReturn() :Game Scenes: Flight .. method:: OperationPeriapsis getOperationPeriapsis() :Game Scenes: Flight .. method:: OperationPlane getOperationPlane() :Game Scenes: Flight .. method:: OperationResonantOrbit getOperationResonantOrbit() :Game Scenes: Flight .. method:: OperationSemiMajor getOperationSemiMajor() :Game Scenes: Flight .. method:: OperationTransfer getOperationTransfer() :Game Scenes: Flight .. type:: public class 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 ------------ .. type:: public class TimeSelector .. method:: double getCircularizeAltitude() .. method:: void setCircularizeAltitude(double value) To be used with :meth:`TimeReference.ALTITUDE`. :Game Scenes: Flight .. method:: double getLeadTime() .. method:: void setLeadTime(double value) To be used with :meth:`TimeReference.X_FROM_NOW`. :Game Scenes: Flight .. method:: TimeReference getTimeReference() .. method:: void setTimeReference(TimeReference value) :Game Scenes: Flight .. type:: public enum TimeReference .. field:: public TimeReference ALTITUDE At the selected :meth:`TimeSelector.getCircularizeAltitude()`. .. field:: public TimeReference APOAPSIS At the next apoapsis. .. field:: public TimeReference CLOSEST_APPROACH At the closest approach to the target. .. field:: public TimeReference COMPUTED At the optimum time. .. field:: public TimeReference EQ_ASCENDING At the equatorial ascending node. .. field:: public TimeReference EQ_DESCENDING At the equatorial descending node. .. field:: public TimeReference EQ_HIGHEST_AD At the cheapest equatorial AN/DN. .. field:: public TimeReference EQ_NEAREST_AD At the nearest equatorial AN/DN. .. field:: public TimeReference PERIAPSIS At the next periapsis. .. field:: public TimeReference REL_ASCENDING At the next ascending node with the target. .. field:: public TimeReference REL_DESCENDING At the next descending node with the target. .. field:: public TimeReference REL_HIGHEST_AD At the cheapest AN/DN with the target. .. field:: public TimeReference REL_NEAREST_AD At the nearest AN/DN with the target. .. field:: public TimeReference X_FROM_NOW After a fixed :meth:`TimeSelector.getLeadTime()`. Operations ---------- OperationApoapsis ^^^^^^^^^^^^^^^^^ .. type:: public class OperationApoapsis Create a maneuver to set a new apoapsis .. method:: String getErrorMessage() A warning may be stored there during MakeNode() call. :Game Scenes: Flight .. method:: SpaceCenter.Node makeNode() 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. :Game Scenes: Flight .. note:: This method is deprecated, use MakeNodes instead. .. method:: java.util.List makeNodes() 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 :Game Scenes: Flight .. method:: double getNewApoapsis() .. method:: void setNewApoapsis(double value) :Game Scenes: Flight .. method:: TimeSelector getTimeSelector() :Game Scenes: Flight OperationCircularize ^^^^^^^^^^^^^^^^^^^^ .. type:: public class OperationCircularize This mode creates a manevuer to match your apoapsis to periapsis. To match apoapsis to periapsis, set the time to :meth:`TimeReference.PERIAPSIS`; to match periapsis to apoapsis, set the time to :meth:`TimeReference.APOAPSIS`. These are the most efficient, but it can also create node at specific height or after specific time. .. method:: String getErrorMessage() A warning may be stored there during MakeNode() call. :Game Scenes: Flight .. method:: SpaceCenter.Node makeNode() 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. :Game Scenes: Flight .. note:: This method is deprecated, use MakeNodes instead. .. method:: java.util.List makeNodes() 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 :Game Scenes: Flight .. method:: TimeSelector getTimeSelector() :Game Scenes: Flight OperationCourseCorrection ^^^^^^^^^^^^^^^^^^^^^^^^^ .. type:: public class OperationCourseCorrection Create a maneuver to fine-tune closest approach to target .. method:: double getCourseCorrectFinalPeA() .. method:: void setCourseCorrectFinalPeA(double value) :Game Scenes: Flight .. method:: String getErrorMessage() A warning may be stored there during MakeNode() call. :Game Scenes: Flight .. method:: double getInterceptDistance() .. method:: void setInterceptDistance(double value) :Game Scenes: Flight .. method:: SpaceCenter.Node makeNode() 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. :Game Scenes: Flight .. note:: This method is deprecated, use MakeNodes instead. .. method:: java.util.List makeNodes() 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 :Game Scenes: Flight OperationEllipticize ^^^^^^^^^^^^^^^^^^^^ .. type:: public class OperationEllipticize Create a maneuver to change both periapsis and apoapsis .. method:: String getErrorMessage() A warning may be stored there during MakeNode() call. :Game Scenes: Flight .. method:: SpaceCenter.Node makeNode() 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. :Game Scenes: Flight .. note:: This method is deprecated, use MakeNodes instead. .. method:: java.util.List makeNodes() 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 :Game Scenes: Flight .. method:: double getNewApoapsis() .. method:: void setNewApoapsis(double value) :Game Scenes: Flight .. method:: double getNewPeriapsis() .. method:: void setNewPeriapsis(double value) :Game Scenes: Flight .. method:: TimeSelector getTimeSelector() :Game Scenes: Flight OperationInclination ^^^^^^^^^^^^^^^^^^^^ .. type:: public class OperationInclination Create a maneuver to change inclination .. method:: String getErrorMessage() A warning may be stored there during MakeNode() call. :Game Scenes: Flight .. method:: SpaceCenter.Node makeNode() 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. :Game Scenes: Flight .. note:: This method is deprecated, use MakeNodes instead. .. method:: java.util.List makeNodes() 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 :Game Scenes: Flight .. method:: double getNewInclination() .. method:: void setNewInclination(double value) :Game Scenes: Flight .. method:: TimeSelector getTimeSelector() :Game Scenes: Flight OperationInterplanetaryTransfer ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. type:: public class OperationInterplanetaryTransfer Create a maneuver to transfer to another planet .. method:: String getErrorMessage() A warning may be stored there during MakeNode() call. :Game Scenes: Flight .. method:: SpaceCenter.Node makeNode() 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. :Game Scenes: Flight .. note:: This method is deprecated, use MakeNodes instead. .. method:: java.util.List makeNodes() 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 :Game Scenes: Flight .. method:: boolean getWaitForPhaseAngle() .. method:: void setWaitForPhaseAngle(boolean value) :Game Scenes: Flight OperationKillRelVel ^^^^^^^^^^^^^^^^^^^ .. type:: public class OperationKillRelVel Match velocities with target .. method:: String getErrorMessage() A warning may be stored there during MakeNode() call. :Game Scenes: Flight .. method:: SpaceCenter.Node makeNode() 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. :Game Scenes: Flight .. note:: This method is deprecated, use MakeNodes instead. .. method:: java.util.List makeNodes() 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 :Game Scenes: Flight .. method:: TimeSelector getTimeSelector() :Game Scenes: Flight OperationLambert ^^^^^^^^^^^^^^^^ .. type:: public class OperationLambert Create a maneuver to set the chosen time .. method:: String getErrorMessage() A warning may be stored there during MakeNode() call. :Game Scenes: Flight .. method:: double getInterceptInterval() .. method:: void setInterceptInterval(double value) :Game Scenes: Flight .. method:: SpaceCenter.Node makeNode() 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. :Game Scenes: Flight .. note:: This method is deprecated, use MakeNodes instead. .. method:: java.util.List makeNodes() 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 :Game Scenes: Flight .. method:: TimeSelector getTimeSelector() :Game Scenes: Flight OperationLan ^^^^^^^^^^^^ .. type:: public class OperationLan Change longitude of ascending node .. method:: String getErrorMessage() A warning may be stored there during MakeNode() call. :Game Scenes: Flight .. method:: SpaceCenter.Node makeNode() 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. :Game Scenes: Flight .. note:: This method is deprecated, use MakeNodes instead. .. method:: java.util.List makeNodes() 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 :Game Scenes: Flight .. method:: double getNewLAN() .. method:: void setNewLAN(double value) :Game Scenes: Flight .. method:: TimeSelector getTimeSelector() :Game Scenes: Flight OperationLongitude ^^^^^^^^^^^^^^^^^^ .. type:: public class OperationLongitude Change surface longitude of apsis .. method:: String getErrorMessage() A warning may be stored there during MakeNode() call. :Game Scenes: Flight .. method:: SpaceCenter.Node makeNode() 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. :Game Scenes: Flight .. note:: This method is deprecated, use MakeNodes instead. .. method:: java.util.List makeNodes() 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 :Game Scenes: Flight .. method:: double getNewSurfaceLongitude() .. method:: void setNewSurfaceLongitude(double value) :Game Scenes: Flight .. method:: TimeSelector getTimeSelector() :Game Scenes: Flight OperationMoonReturn ^^^^^^^^^^^^^^^^^^^ .. type:: public class OperationMoonReturn Create a maneuver to return from a moon approximately at the specified altitude .. method:: String getErrorMessage() A warning may be stored there during MakeNode() call. :Game Scenes: Flight .. method:: SpaceCenter.Node makeNode() 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. :Game Scenes: Flight .. note:: This method is deprecated, use MakeNodes instead. .. method:: java.util.List makeNodes() 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 :Game Scenes: Flight .. method:: double getMoonReturnAltitude() .. method:: void setMoonReturnAltitude(double value) Approximate return altitude from a moon (from an orbiting body to the parent body). :Game Scenes: Flight OperationPeriapsis ^^^^^^^^^^^^^^^^^^ .. type:: public class OperationPeriapsis Create a maneuver to set a new periapsis .. method:: String getErrorMessage() A warning may be stored there during MakeNode() call. :Game Scenes: Flight .. method:: SpaceCenter.Node makeNode() 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. :Game Scenes: Flight .. note:: This method is deprecated, use MakeNodes instead. .. method:: java.util.List makeNodes() 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 :Game Scenes: Flight .. method:: double getNewPeriapsis() .. method:: void setNewPeriapsis(double value) :Game Scenes: Flight .. method:: TimeSelector getTimeSelector() :Game Scenes: Flight OperationPlane ^^^^^^^^^^^^^^ .. type:: public class OperationPlane Create a maneuver to match planes with target .. method:: String getErrorMessage() A warning may be stored there during MakeNode() call. :Game Scenes: Flight .. method:: SpaceCenter.Node makeNode() 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. :Game Scenes: Flight .. note:: This method is deprecated, use MakeNodes instead. .. method:: java.util.List makeNodes() 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 :Game Scenes: Flight .. method:: TimeSelector getTimeSelector() :Game Scenes: Flight OperationResonantOrbit ^^^^^^^^^^^^^^^^^^^^^^ .. type:: public class 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. .. method:: String getErrorMessage() A warning may be stored there during MakeNode() call. :Game Scenes: Flight .. method:: SpaceCenter.Node makeNode() 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. :Game Scenes: Flight .. note:: This method is deprecated, use MakeNodes instead. .. method:: java.util.List makeNodes() 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 :Game Scenes: Flight .. method:: int getResonanceDenominator() .. method:: void setResonanceDenominator(int value) :Game Scenes: Flight .. method:: int getResonanceNumerator() .. method:: void setResonanceNumerator(int value) :Game Scenes: Flight .. method:: TimeSelector getTimeSelector() :Game Scenes: Flight OperationSemiMajor ^^^^^^^^^^^^^^^^^^ .. type:: public class OperationSemiMajor Create a maneuver to set a new semi-major axis .. method:: String getErrorMessage() A warning may be stored there during MakeNode() call. :Game Scenes: Flight .. method:: SpaceCenter.Node makeNode() 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. :Game Scenes: Flight .. note:: This method is deprecated, use MakeNodes instead. .. method:: java.util.List makeNodes() 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 :Game Scenes: Flight .. method:: double getNewSemiMajorAxis() .. method:: void setNewSemiMajorAxis(double value) :Game Scenes: Flight .. method:: TimeSelector getTimeSelector() :Game Scenes: Flight OperationTransfer ^^^^^^^^^^^^^^^^^ .. type:: public class 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. .. method:: String getErrorMessage() A warning may be stored there during MakeNode() call. :Game Scenes: Flight .. method:: SpaceCenter.Node makeNode() 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. :Game Scenes: Flight .. note:: This method is deprecated, use MakeNodes instead. .. method:: java.util.List makeNodes() 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 :Game Scenes: Flight .. method:: boolean getInterceptOnly() .. method:: void setInterceptOnly(boolean value) Intercept only, no capture burn (impact/flyby) :Game Scenes: Flight .. method:: double getPeriodOffset() .. method:: void setPeriodOffset(double value) Fractional target period offset :Game Scenes: Flight .. method:: boolean getSimpleTransfer() .. method:: void setSimpleTransfer(boolean value) Simple coplanar Hohmann transfer. Set it to true if you are used to the old version of transfer maneuver. :Game Scenes: Flight .. note:: If set to true, TimeSelector property is ignored. .. method:: TimeSelector getTimeSelector() :Game Scenes: Flight