.. default-domain:: py .. highlight:: py .. currentmodule:: MechJeb ManeuverPlanner =============== .. class:: 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. .. attribute:: 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 :rtype: :class:`OperationAdvancedTransfer` :Game Scenes: Flight .. attribute:: operation_apoapsis The operation that changes the apoapsis. :Attribute: Read-only, cannot be set :rtype: :class:`OperationApoapsis` :Game Scenes: Flight .. attribute:: operation_circularize The operation that circularizes the orbit. :Attribute: Read-only, cannot be set :rtype: :class:`OperationCircularize` :Game Scenes: Flight .. attribute:: operation_course_correction The operation that fine tunes the closest approach to the target. :Attribute: Read-only, cannot be set :rtype: :class:`OperationCourseCorrection` :Game Scenes: Flight .. attribute:: operation_eccentricity The operation that changes the eccentricity. :Attribute: Read-only, cannot be set :rtype: :class:`OperationEccentricity` :Game Scenes: Flight .. attribute:: operation_ellipticize The operation that changes both the periapsis and the apoapsis. :Attribute: Read-only, cannot be set :rtype: :class:`OperationEllipticize` :Game Scenes: Flight .. attribute:: operation_inclination The operation that changes the inclination. :Attribute: Read-only, cannot be set :rtype: :class:`OperationInclination` :Game Scenes: Flight .. attribute:: operation_kill_rel_vel The operation that matches velocities with the target. :Attribute: Read-only, cannot be set :rtype: :class:`OperationKillRelVel` :Game Scenes: Flight .. attribute:: operation_lambert The operation that intercepts the target at a chosen time. :Attribute: Read-only, cannot be set :rtype: :class:`OperationLambert` :Game Scenes: Flight .. attribute:: operation_lan The operation that changes the longitude of the ascending node. :Attribute: Read-only, cannot be set :rtype: :class:`OperationLan` :Game Scenes: Flight .. attribute:: operation_longitude The operation that changes the surface longitude of the apsis. :Attribute: Read-only, cannot be set :rtype: :class:`OperationLongitude` :Game Scenes: Flight .. attribute:: operation_moon_return The operation that returns from a moon. :Attribute: Read-only, cannot be set :rtype: :class:`OperationMoonReturn` :Game Scenes: Flight .. attribute:: operation_periapsis The operation that changes the periapsis. :Attribute: Read-only, cannot be set :rtype: :class:`OperationPeriapsis` :Game Scenes: Flight .. attribute:: operation_plane The operation that matches planes with the target. :Attribute: Read-only, cannot be set :rtype: :class:`OperationPlane` :Game Scenes: Flight .. attribute:: operation_resonant_orbit The operation that changes to a resonant orbit. :Attribute: Read-only, cannot be set :rtype: :class:`OperationResonantOrbit` :Game Scenes: Flight .. attribute:: operation_semi_major The operation that changes the semi-major axis. :Attribute: Read-only, cannot be set :rtype: :class:`OperationSemiMajor` :Game Scenes: Flight .. attribute:: operation_transfer The operation that transfers to the target. :Attribute: Read-only, cannot be set :rtype: :class:`OperationTransfer` :Game Scenes: Flight .. method:: abort_node_execution() Stop executing the maneuver nodes. :Game Scenes: Flight .. method:: execute_all_nodes() Execute all the maneuver nodes. Throws an exception if the vessel has no maneuver node. :Game Scenes: Flight .. method:: execute_next_node() Execute the next maneuver node. Throws an exception if the vessel has no maneuver node. :Game Scenes: Flight .. attribute:: autowarp Whether to warp time to the burn. :Attribute: Can be read or written :rtype: bool :Game Scenes: Flight .. note:: The same setting as :attr:`RendezvousAutopilot.autowarp`. .. attribute:: executing_node Whether a maneuver node is being executed. :Attribute: Read-only, cannot be set :rtype: bool :Game Scenes: Flight .. attribute:: lead_time The time before the burn at which time warp stops, in seconds. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight .. attribute:: rcs_only Whether to burn with the RCS thrusters in place of the engines. :Attribute: Can be read or written :rtype: bool :Game Scenes: Flight .. attribute:: kill_roll_rotation Whether to stop the vessel's roll before the burn. :Attribute: Can be read or written :rtype: bool :Game Scenes: Flight .. attribute:: operation_stationary_orbit The operation that transfers to the stationary orbit of the body. :Attribute: Read-only, cannot be set :rtype: :class:`OperationStationaryOrbit` :Game Scenes: Flight .. attribute:: 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 :rtype: float :Game Scenes: Flight .. note:: A burn further away than this is warped to in two steps: to this time before it, then to :attr:`ManeuverPlanner.lead_time` once the vessel is aligned. .. attribute:: aligned_tolerance The angle from the burn direction within which the burn starts, in degrees. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight .. attribute:: 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 :rtype: float :Game Scenes: Flight .. class:: OperationException Thrown when an operation cannot make its nodes, such as when it needs a target and there is none. A subclass of :class:`krpc.error.ServerError`. TimeSelector ------------ .. class:: TimeSelector The time of a maneuver. .. attribute:: circularize_altitude The altitude, in meters. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight .. note:: Applies to :attr:`TimeReference.altitude`. .. attribute:: lead_time The time from now, in seconds. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight .. note:: Applies to :attr:`TimeReference.x_from_now`. .. attribute:: time_reference The time reference. Throws an exception if set to a reference the operation does not allow. :Attribute: Can be read or written :rtype: :class:`TimeReference` :Game Scenes: Flight .. class:: TimeReference The time reference of a maneuver. See :attr:`TimeSelector.time_reference`. .. data:: computed At the optimum time. .. data:: x_from_now After :attr:`TimeSelector.lead_time`. .. data:: apoapsis At the next apoapsis. .. data:: periapsis At the next periapsis. .. data:: altitude At :attr:`TimeSelector.circularize_altitude`. .. data:: eq_ascending At the equatorial ascending node. .. data:: eq_descending At the equatorial descending node. .. data:: rel_ascending At the next ascending node with the target. .. data:: rel_descending At the next descending node with the target. .. data:: closest_approach At the closest approach to the target. .. data:: eq_highest_ad At the cheaper of the equatorial ascending and descending nodes. .. data:: eq_nearest_ad At the nearer of the equatorial ascending and descending nodes. .. data:: rel_highest_ad At the cheaper of the ascending and descending nodes with the target. .. data:: rel_nearest_ad At the nearer of the ascending and descending nodes with the target. Operations ---------- OperationAdvancedTransfer ^^^^^^^^^^^^^^^^^^^^^^^^^ .. class:: OperationAdvancedTransfer An interplanetary transfer to the target body. The departure and transfer time come from a search, chosen as :attr:`OperationAdvancedTransfer.mode` sets. .. note:: MechJeb searches in the background. The first call to ``MakeNodes`` starts the search, and throws an :class:`OperationException` until it finishes. See :attr:`OperationAdvancedTransfer.searching`. .. attribute:: max_arrival_time The latest arrival time, as a time from now, in seconds. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight .. note:: Applies in the :attr:`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. .. attribute:: include_capture_burn Whether to plan a capture burn at the destination. :Attribute: Can be read or written :rtype: bool :Game Scenes: Flight .. attribute:: periapsis_height The altitude of the periapsis at the destination, in meters. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight .. attribute:: searching Whether MechJeb is searching for the departure. :Attribute: Read-only, cannot be set :rtype: bool :Game Scenes: Flight .. attribute:: search_progress The progress of the search for the departure, as a percentage. :Attribute: Read-only, cannot be set :rtype: int :Game Scenes: Flight .. attribute:: error_message The warning or error from the last call to ``MakeNodes``, or an empty string. :Attribute: Read-only, cannot be set :rtype: str :Game Scenes: Flight .. method:: make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :rtype: list(:class:`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``. .. attribute:: mode How the search chooses the departure and transfer time. :Attribute: Can be read or written :rtype: :class:`AdvancedTransferMode` :Game Scenes: Flight .. note:: Setting it stops a search, so the next ``MakeNodes`` starts one. .. attribute:: target_inclination_flag Whether to aim for :attr:`OperationAdvancedTransfer.target_inclination` at the target. :Attribute: Can be read or written :rtype: bool :Game Scenes: Flight .. attribute:: target_inclination The inclination of the orbit at the target, in degrees. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight .. note:: Requires :attr:`OperationAdvancedTransfer.target_inclination_flag`. .. attribute:: search_failed Whether the search finished and found no transfer. :Attribute: Read-only, cannot be set :rtype: bool :Game Scenes: Flight .. method:: 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 :attr:`OperationAdvancedTransfer.mode` is not :attr:`AdvancedTransferMode.porkchop`, or the search has not finished. :Game Scenes: Flight .. method:: select_asap() Select the earliest departure, with the transfer time that needs the least delta-v for it. Throws an exception if :attr:`OperationAdvancedTransfer.mode` is not :attr:`AdvancedTransferMode.porkchop`, or the search has not finished. :Game Scenes: Flight .. method:: select(departure_time, duration) Select the departure and transfer time nearest the given ones. Throws an exception if :attr:`OperationAdvancedTransfer.mode` is not :attr:`AdvancedTransferMode.porkchop`, the search has not finished, or there is no transfer near those times. :param float departure_time: The universal time of the departure, in seconds. :param float duration: The transfer time, in seconds. :Game Scenes: Flight .. attribute:: 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 :rtype: float :Game Scenes: Flight .. attribute:: selected_duration The selected transfer time, in seconds. Throws an exception if the search has not finished. :Attribute: Read-only, cannot be set :rtype: float :Game Scenes: Flight .. attribute:: selected_delta_v The delta-v of the selected transfer that the search estimates, in :math:`\mathrm{m/s}`. Throws an exception if the search has not finished. :Attribute: Read-only, cannot be set :rtype: float :Game Scenes: Flight .. class:: AdvancedTransferMode How the advanced transfer chooses the departure and transfer time. See :attr:`OperationAdvancedTransfer.mode`. .. data:: limited_time The transfer that needs the least delta-v and arrives before :attr:`OperationAdvancedTransfer.max_arrival_time`. .. data:: 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:: OperationApoapsis Change the apoapsis. .. attribute:: error_message The warning or error from the last call to ``MakeNodes``, or an empty string. :Attribute: Read-only, cannot be set :rtype: str :Game Scenes: Flight .. method:: make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :rtype: list(:class:`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``. .. attribute:: new_apoapsis The new apoapsis altitude, in meters. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight .. attribute:: time_selector The time of the maneuver. :Attribute: Read-only, cannot be set :rtype: :class:`TimeSelector` :Game Scenes: Flight OperationCircularize ^^^^^^^^^^^^^^^^^^^^ .. class:: OperationCircularize Circularize the orbit. .. note:: To raise the periapsis to the apoapsis, set the time to :attr:`TimeReference.apoapsis`, and to lower the apoapsis to the periapsis, set it to :attr:`TimeReference.periapsis`. These are the cheapest. .. attribute:: error_message The warning or error from the last call to ``MakeNodes``, or an empty string. :Attribute: Read-only, cannot be set :rtype: str :Game Scenes: Flight .. method:: make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :rtype: list(:class:`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``. .. attribute:: time_selector The time of the maneuver. :Attribute: Read-only, cannot be set :rtype: :class:`TimeSelector` :Game Scenes: Flight OperationCourseCorrection ^^^^^^^^^^^^^^^^^^^^^^^^^ .. class:: OperationCourseCorrection Fine tune the closest approach to the target. .. attribute:: final_periapsis_altitude The periapsis altitude at a target body, in meters. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight .. attribute:: error_message The warning or error from the last call to ``MakeNodes``, or an empty string. :Attribute: Read-only, cannot be set :rtype: str :Game Scenes: Flight .. attribute:: intercept_distance The closest approach distance to a target vessel, in meters. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight .. method:: make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :rtype: list(:class:`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``. .. attribute:: inclination_flag Whether to aim for :attr:`OperationCourseCorrection.inclination` at the target. :Attribute: Can be read or written :rtype: bool :Game Scenes: Flight .. note:: Applies when the target is a celestial body. .. attribute:: inclination The inclination of the orbit at the target, in degrees. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight .. note:: Requires :attr:`OperationCourseCorrection.inclination_flag`. OperationEccentricity ^^^^^^^^^^^^^^^^^^^^^ .. class:: OperationEccentricity Change the eccentricity. .. attribute:: error_message The warning or error from the last call to ``MakeNodes``, or an empty string. :Attribute: Read-only, cannot be set :rtype: str :Game Scenes: Flight .. method:: make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :rtype: list(:class:`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``. .. attribute:: new_eccentricity The new eccentricity. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight .. attribute:: time_selector The time of the maneuver. :Attribute: Read-only, cannot be set :rtype: :class:`TimeSelector` :Game Scenes: Flight OperationEllipticize ^^^^^^^^^^^^^^^^^^^^ .. class:: OperationEllipticize Change both the periapsis and the apoapsis. .. attribute:: error_message The warning or error from the last call to ``MakeNodes``, or an empty string. :Attribute: Read-only, cannot be set :rtype: str :Game Scenes: Flight .. method:: make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :rtype: list(:class:`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``. .. attribute:: new_apoapsis The new apoapsis altitude, in meters. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight .. attribute:: new_periapsis The new periapsis altitude, in meters. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight .. attribute:: time_selector The time of the maneuver. :Attribute: Read-only, cannot be set :rtype: :class:`TimeSelector` :Game Scenes: Flight OperationInclination ^^^^^^^^^^^^^^^^^^^^ .. class:: OperationInclination Change the inclination. .. attribute:: error_message The warning or error from the last call to ``MakeNodes``, or an empty string. :Attribute: Read-only, cannot be set :rtype: str :Game Scenes: Flight .. method:: make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :rtype: list(:class:`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``. .. attribute:: new_inclination The new inclination, in degrees. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight .. attribute:: time_selector The time of the maneuver. :Attribute: Read-only, cannot be set :rtype: :class:`TimeSelector` :Game Scenes: Flight OperationKillRelVel ^^^^^^^^^^^^^^^^^^^ .. class:: OperationKillRelVel Match velocities with the target. .. attribute:: error_message The warning or error from the last call to ``MakeNodes``, or an empty string. :Attribute: Read-only, cannot be set :rtype: str :Game Scenes: Flight .. method:: make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :rtype: list(:class:`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``. .. attribute:: time_selector The time of the maneuver. :Attribute: Read-only, cannot be set :rtype: :class:`TimeSelector` :Game Scenes: Flight OperationLambert ^^^^^^^^^^^^^^^^ .. class:: OperationLambert Intercept the target at a chosen time. .. attribute:: error_message The warning or error from the last call to ``MakeNodes``, or an empty string. :Attribute: Read-only, cannot be set :rtype: str :Game Scenes: Flight .. attribute:: intercept_interval The time from the maneuver to the intercept, in seconds. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight .. method:: make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :rtype: list(:class:`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``. .. attribute:: time_selector The time of the maneuver. :Attribute: Read-only, cannot be set :rtype: :class:`TimeSelector` :Game Scenes: Flight OperationLan ^^^^^^^^^^^^ .. class:: OperationLan Change the longitude of the ascending node. .. attribute:: error_message The warning or error from the last call to ``MakeNodes``, or an empty string. :Attribute: Read-only, cannot be set :rtype: str :Game Scenes: Flight .. method:: make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :rtype: list(:class:`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``. .. attribute:: new_lan The new longitude of the ascending node, in degrees. :Attribute: Can be read or written :rtype: 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. .. attribute:: time_selector The time of the maneuver. :Attribute: Read-only, cannot be set :rtype: :class:`TimeSelector` :Game Scenes: Flight OperationLongitude ^^^^^^^^^^^^^^^^^^ .. class:: OperationLongitude Change the surface longitude of the apsis. .. attribute:: error_message The warning or error from the last call to ``MakeNodes``, or an empty string. :Attribute: Read-only, cannot be set :rtype: str :Game Scenes: Flight .. method:: make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :rtype: list(:class:`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``. .. attribute:: new_surface_longitude The new surface longitude of the apsis after one orbit, in degrees. :Attribute: Can be read or written :rtype: 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. .. attribute:: time_selector The time of the maneuver. :Attribute: Read-only, cannot be set :rtype: :class:`TimeSelector` :Game Scenes: Flight OperationMoonReturn ^^^^^^^^^^^^^^^^^^^ .. class:: OperationMoonReturn Return from a moon to the body it orbits. .. attribute:: error_message The warning or error from the last call to ``MakeNodes``, or an empty string. :Attribute: Read-only, cannot be set :rtype: str :Game Scenes: Flight .. method:: make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :rtype: list(:class:`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``. .. attribute:: moon_return_altitude The approximate periapsis altitude at the body, in meters. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight .. attribute:: inclination_flag Whether to aim for :attr:`OperationMoonReturn.inclination`. :Attribute: Can be read or written :rtype: bool :Game Scenes: Flight .. attribute:: inclination The inclination of the orbit around the body after the return, in degrees. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight .. note:: Requires :attr:`OperationMoonReturn.inclination_flag`. OperationPeriapsis ^^^^^^^^^^^^^^^^^^ .. class:: OperationPeriapsis Change the periapsis. .. attribute:: error_message The warning or error from the last call to ``MakeNodes``, or an empty string. :Attribute: Read-only, cannot be set :rtype: str :Game Scenes: Flight .. method:: make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :rtype: list(:class:`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``. .. attribute:: new_periapsis The new periapsis altitude, in meters. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight .. attribute:: time_selector The time of the maneuver. :Attribute: Read-only, cannot be set :rtype: :class:`TimeSelector` :Game Scenes: Flight OperationPlane ^^^^^^^^^^^^^^ .. class:: OperationPlane Match planes with the target. .. attribute:: error_message The warning or error from the last call to ``MakeNodes``, or an empty string. :Attribute: Read-only, cannot be set :rtype: str :Game Scenes: Flight .. method:: make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :rtype: list(:class:`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``. .. attribute:: time_selector The time of the maneuver. :Attribute: Read-only, cannot be set :rtype: :class:`TimeSelector` :Game Scenes: Flight OperationResonantOrbit ^^^^^^^^^^^^^^^^^^^^^^ .. class:: 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. .. attribute:: error_message The warning or error from the last call to ``MakeNodes``, or an empty string. :Attribute: Read-only, cannot be set :rtype: str :Game Scenes: Flight .. method:: make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :rtype: list(:class:`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``. .. attribute:: resonance_denominator The denominator of the ratio of the new orbital period to the current one. :Attribute: Can be read or written :rtype: int :Game Scenes: Flight .. attribute:: resonance_numerator The numerator of the ratio of the new orbital period to the current one. :Attribute: Can be read or written :rtype: int :Game Scenes: Flight .. attribute:: time_selector The time of the maneuver. :Attribute: Read-only, cannot be set :rtype: :class:`TimeSelector` :Game Scenes: Flight OperationSemiMajor ^^^^^^^^^^^^^^^^^^ .. class:: OperationSemiMajor Change the semi-major axis. .. attribute:: error_message The warning or error from the last call to ``MakeNodes``, or an empty string. :Attribute: Read-only, cannot be set :rtype: str :Game Scenes: Flight .. method:: make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :rtype: list(:class:`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``. .. attribute:: new_semi_major_axis The new semi-major axis, in meters. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight .. attribute:: time_selector The time of the maneuver. :Attribute: Read-only, cannot be set :rtype: :class:`TimeSelector` :Game Scenes: Flight OperationStationaryOrbit ^^^^^^^^^^^^^^^^^^^^^^^^ .. class:: OperationStationaryOrbit A transfer to the stationary orbit of the body, above :attr:`OperationStationaryOrbit.target_longitude`. .. note:: The transfer is a Hohmann transfer with a second node to circularize. Throws an :class:`OperationException` from ``MakeNodes`` if the stationary orbit is outside the body's sphere of influence. .. attribute:: error_message The warning or error from the last call to ``MakeNodes``, or an empty string. :Attribute: Read-only, cannot be set :rtype: str :Game Scenes: Flight .. method:: make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :rtype: list(:class:`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``. .. attribute:: target_longitude The surface longitude to stay above, in degrees. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight OperationTransfer ^^^^^^^^^^^^^^^^^ .. class:: 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. .. attribute:: error_message The warning or error from the last call to ``MakeNodes``, or an empty string. :Attribute: Read-only, cannot be set :rtype: str :Game Scenes: Flight .. method:: make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :rtype: list(:class:`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``. .. attribute:: 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 :rtype: bool :Game Scenes: Flight .. attribute:: plan_capture Whether to make a second node for the capture burn. :Attribute: Can be read or written :rtype: bool :Game Scenes: Flight .. note:: Requires :attr:`OperationTransfer.capture`. For a celestial body target, also requires :attr:`OperationTransfer.match_orbit` or a :attr:`OperationTransfer.lag_time`. .. attribute:: 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 :rtype: bool :Game Scenes: Flight .. note:: Requires :attr:`OperationTransfer.capture`. .. attribute:: lag_time The time by which the vessel arrives behind the target, in seconds. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight .. note:: Ignored with :attr:`OperationTransfer.match_orbit`. .. attribute:: coplanar Whether the transfer stays in the vessel's orbital plane. :Attribute: Can be read or written :rtype: bool :Game Scenes: Flight .. attribute:: time_selector The time of the maneuver. :Attribute: Read-only, cannot be set :rtype: :class:`TimeSelector` :Game Scenes: Flight