.. default-domain:: cpp .. highlight:: cpp .. namespace:: krpc::services::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. .. function:: OperationAdvancedTransfer operation_advanced_transfer() The operation that transfers to another planet, at the departure that needs the least delta-v. :Game Scenes: Flight .. function:: OperationApoapsis operation_apoapsis() The operation that changes the apoapsis. :Game Scenes: Flight .. function:: OperationCircularize operation_circularize() The operation that circularizes the orbit. :Game Scenes: Flight .. function:: OperationCourseCorrection operation_course_correction() The operation that fine tunes the closest approach to the target. :Game Scenes: Flight .. function:: OperationEccentricity operation_eccentricity() The operation that changes the eccentricity. :Game Scenes: Flight .. function:: OperationEllipticize operation_ellipticize() The operation that changes both the periapsis and the apoapsis. :Game Scenes: Flight .. function:: OperationInclination operation_inclination() The operation that changes the inclination. :Game Scenes: Flight .. function:: OperationKillRelVel operation_kill_rel_vel() The operation that matches velocities with the target. :Game Scenes: Flight .. function:: OperationLambert operation_lambert() The operation that intercepts the target at a chosen time. :Game Scenes: Flight .. function:: OperationLan operation_lan() The operation that changes the longitude of the ascending node. :Game Scenes: Flight .. function:: OperationLongitude operation_longitude() The operation that changes the surface longitude of the apsis. :Game Scenes: Flight .. function:: OperationMoonReturn operation_moon_return() The operation that returns from a moon. :Game Scenes: Flight .. function:: OperationPeriapsis operation_periapsis() The operation that changes the periapsis. :Game Scenes: Flight .. function:: OperationPlane operation_plane() The operation that matches planes with the target. :Game Scenes: Flight .. function:: OperationResonantOrbit operation_resonant_orbit() The operation that changes to a resonant orbit. :Game Scenes: Flight .. function:: OperationSemiMajor operation_semi_major() The operation that changes the semi-major axis. :Game Scenes: Flight .. function:: OperationTransfer operation_transfer() The operation that transfers to the target. :Game Scenes: Flight .. function:: void abort_node_execution() Stop executing the maneuver nodes. :Game Scenes: Flight .. function:: void execute_all_nodes() Execute all the maneuver nodes. Throws an exception if the vessel has no maneuver node. :Game Scenes: Flight .. function:: void execute_next_node() Execute the next maneuver node. Throws an exception if the vessel has no maneuver node. :Game Scenes: Flight .. function:: bool autowarp() .. function:: void set_autowarp(bool value) Whether to warp time to the burn. :Game Scenes: Flight .. note:: The same setting as :func:`RendezvousAutopilot::autowarp`. .. function:: bool executing_node() Whether a maneuver node is being executed. :Game Scenes: Flight .. function:: double lead_time() .. function:: void set_lead_time(double value) The time before the burn at which time warp stops, in seconds. :Game Scenes: Flight .. function:: bool rcs_only() .. function:: void set_rcs_only(bool value) Whether to burn with the RCS thrusters in place of the engines. :Game Scenes: Flight .. function:: bool kill_roll_rotation() .. function:: void set_kill_roll_rotation(bool value) Whether to stop the vessel's roll before the burn. :Game Scenes: Flight .. function:: OperationStationaryOrbit operation_stationary_orbit() The operation that transfers to the stationary orbit of the body. :Game Scenes: Flight .. function:: double initial_warp_lead_time() .. function:: void set_initial_warp_lead_time(double value) The time before the burn at which the first, coarse time warp stops, in seconds. :Game Scenes: Flight .. note:: A burn further away than this is warped to in two steps: to this time before it, then to :func:`ManeuverPlanner::lead_time` once the vessel is aligned. .. function:: double aligned_tolerance() .. function:: void set_aligned_tolerance(double value) The angle from the burn direction within which the burn starts, in degrees. :Game Scenes: Flight .. function:: double warp_aligned_tolerance() .. function:: void set_warp_aligned_tolerance(double value) The angle from the burn direction within which time warp to the burn starts, in degrees. :Game Scenes: Flight .. namespace:: krpc::services::MechJeb .. 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::ServerError`. TimeSelector ------------ .. class:: TimeSelector The time of a maneuver. .. function:: double circularize_altitude() .. function:: void set_circularize_altitude(double value) The altitude, in meters. :Game Scenes: Flight .. note:: Applies to :enumerator:`TimeReference::altitude`. .. function:: double lead_time() .. function:: void set_lead_time(double value) The time from now, in seconds. :Game Scenes: Flight .. note:: Applies to :enumerator:`TimeReference::x_from_now`. .. function:: TimeReference time_reference() .. function:: void set_time_reference(TimeReference value) The time reference. Throws an exception if set to a reference the operation does not allow. :Game Scenes: Flight .. namespace:: krpc::services::MechJeb .. enum-struct:: TimeReference The time reference of a maneuver. See :func:`TimeSelector::time_reference`. .. enumerator:: computed At the optimum time. .. enumerator:: x_from_now After :func:`TimeSelector::lead_time`. .. enumerator:: apoapsis At the next apoapsis. .. enumerator:: periapsis At the next periapsis. .. enumerator:: altitude At :func:`TimeSelector::circularize_altitude`. .. enumerator:: eq_ascending At the equatorial ascending node. .. enumerator:: eq_descending At the equatorial descending node. .. enumerator:: rel_ascending At the next ascending node with the target. .. enumerator:: rel_descending At the next descending node with the target. .. enumerator:: closest_approach At the closest approach to the target. .. enumerator:: eq_highest_ad At the cheaper of the equatorial ascending and descending nodes. .. enumerator:: eq_nearest_ad At the nearer of the equatorial ascending and descending nodes. .. enumerator:: rel_highest_ad At the cheaper of the ascending and descending nodes with the target. .. enumerator:: 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 :func:`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 :func:`OperationAdvancedTransfer::searching`. .. function:: double max_arrival_time() .. function:: void set_max_arrival_time(double value) The latest arrival time, as a time from now, in seconds. :Game Scenes: Flight .. note:: Applies in the :enumerator:`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. .. function:: bool include_capture_burn() .. function:: void set_include_capture_burn(bool value) Whether to plan a capture burn at the destination. :Game Scenes: Flight .. function:: double periapsis_height() .. function:: void set_periapsis_height(double value) The altitude of the periapsis at the destination, in meters. :Game Scenes: Flight .. function:: bool searching() Whether MechJeb is searching for the departure. :Game Scenes: Flight .. function:: int32_t search_progress() The progress of the search for the departure, as a percentage. :Game Scenes: Flight .. function:: std::string error_message() The warning or error from the last call to ``MakeNodes``, or an empty string. :Game Scenes: Flight .. function:: std::vector make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :Game Scenes: Flight .. note:: The nodes follow the vessel's last maneuver node, if it has one. A warning may be left in ``ErrorMessage``. .. function:: AdvancedTransferMode mode() .. function:: void set_mode(AdvancedTransferMode value) How the search chooses the departure and transfer time. :Game Scenes: Flight .. note:: Setting it stops a search, so the next ``MakeNodes`` starts one. .. function:: bool target_inclination_flag() .. function:: void set_target_inclination_flag(bool value) Whether to aim for :func:`OperationAdvancedTransfer::target_inclination` at the target. :Game Scenes: Flight .. function:: double target_inclination() .. function:: void set_target_inclination(double value) The inclination of the orbit at the target, in degrees. :Game Scenes: Flight .. note:: Requires :func:`OperationAdvancedTransfer::target_inclination_flag`. .. function:: bool search_failed() Whether the search finished and found no transfer. :Game Scenes: Flight .. function:: void 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 :func:`OperationAdvancedTransfer::mode` is not :enumerator:`AdvancedTransferMode::porkchop`, or the search has not finished. :Game Scenes: Flight .. function:: void select_asap() Select the earliest departure, with the transfer time that needs the least delta-v for it. Throws an exception if :func:`OperationAdvancedTransfer::mode` is not :enumerator:`AdvancedTransferMode::porkchop`, or the search has not finished. :Game Scenes: Flight .. function:: void select(double departure_time, double duration) Select the departure and transfer time nearest the given ones. Throws an exception if :func:`OperationAdvancedTransfer::mode` is not :enumerator:`AdvancedTransferMode::porkchop`, the search has not finished, or there is no transfer near those times. :Parameters: * **departure_time** -- The universal time of the departure, in seconds. * **duration** -- The transfer time, in seconds. :Game Scenes: Flight .. function:: double selected_departure_time() The universal time of the selected departure, in seconds. Throws an exception if the search has not finished. :Game Scenes: Flight .. function:: double selected_duration() The selected transfer time, in seconds. Throws an exception if the search has not finished. :Game Scenes: Flight .. function:: double 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. :Game Scenes: Flight .. namespace:: krpc::services::MechJeb .. enum-struct:: AdvancedTransferMode How the advanced transfer chooses the departure and transfer time. See :func:`OperationAdvancedTransfer::mode`. .. enumerator:: limited_time The transfer that needs the least delta-v and arrives before :func:`OperationAdvancedTransfer::max_arrival_time`. .. enumerator:: 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. .. function:: std::string error_message() The warning or error from the last call to ``MakeNodes``, or an empty string. :Game Scenes: Flight .. function:: std::vector make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :Game Scenes: Flight .. note:: The nodes follow the vessel's last maneuver node, if it has one. A warning may be left in ``ErrorMessage``. .. function:: double new_apoapsis() .. function:: void set_new_apoapsis(double value) The new apoapsis altitude, in meters. :Game Scenes: Flight .. function:: TimeSelector time_selector() The time of the maneuver. :Game Scenes: Flight OperationCircularize ^^^^^^^^^^^^^^^^^^^^ .. class:: OperationCircularize Circularize the orbit. .. note:: To raise the periapsis to the apoapsis, set the time to :enumerator:`TimeReference::apoapsis`, and to lower the apoapsis to the periapsis, set it to :enumerator:`TimeReference::periapsis`. These are the cheapest. .. function:: std::string error_message() The warning or error from the last call to ``MakeNodes``, or an empty string. :Game Scenes: Flight .. function:: std::vector make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :Game Scenes: Flight .. note:: The nodes follow the vessel's last maneuver node, if it has one. A warning may be left in ``ErrorMessage``. .. function:: TimeSelector time_selector() The time of the maneuver. :Game Scenes: Flight OperationCourseCorrection ^^^^^^^^^^^^^^^^^^^^^^^^^ .. class:: OperationCourseCorrection Fine tune the closest approach to the target. .. function:: double final_periapsis_altitude() .. function:: void set_final_periapsis_altitude(double value) The periapsis altitude at a target body, in meters. :Game Scenes: Flight .. function:: std::string error_message() The warning or error from the last call to ``MakeNodes``, or an empty string. :Game Scenes: Flight .. function:: double intercept_distance() .. function:: void set_intercept_distance(double value) The closest approach distance to a target vessel, in meters. :Game Scenes: Flight .. function:: std::vector make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :Game Scenes: Flight .. note:: The nodes follow the vessel's last maneuver node, if it has one. A warning may be left in ``ErrorMessage``. .. function:: bool inclination_flag() .. function:: void set_inclination_flag(bool value) Whether to aim for :func:`OperationCourseCorrection::inclination` at the target. :Game Scenes: Flight .. note:: Applies when the target is a celestial body. .. function:: double inclination() .. function:: void set_inclination(double value) The inclination of the orbit at the target, in degrees. :Game Scenes: Flight .. note:: Requires :func:`OperationCourseCorrection::inclination_flag`. OperationEccentricity ^^^^^^^^^^^^^^^^^^^^^ .. class:: OperationEccentricity Change the eccentricity. .. function:: std::string error_message() The warning or error from the last call to ``MakeNodes``, or an empty string. :Game Scenes: Flight .. function:: std::vector make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :Game Scenes: Flight .. note:: The nodes follow the vessel's last maneuver node, if it has one. A warning may be left in ``ErrorMessage``. .. function:: double new_eccentricity() .. function:: void set_new_eccentricity(double value) The new eccentricity. :Game Scenes: Flight .. function:: TimeSelector time_selector() The time of the maneuver. :Game Scenes: Flight OperationEllipticize ^^^^^^^^^^^^^^^^^^^^ .. class:: OperationEllipticize Change both the periapsis and the apoapsis. .. function:: std::string error_message() The warning or error from the last call to ``MakeNodes``, or an empty string. :Game Scenes: Flight .. function:: std::vector make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :Game Scenes: Flight .. note:: The nodes follow the vessel's last maneuver node, if it has one. A warning may be left in ``ErrorMessage``. .. function:: double new_apoapsis() .. function:: void set_new_apoapsis(double value) The new apoapsis altitude, in meters. :Game Scenes: Flight .. function:: double new_periapsis() .. function:: void set_new_periapsis(double value) The new periapsis altitude, in meters. :Game Scenes: Flight .. function:: TimeSelector time_selector() The time of the maneuver. :Game Scenes: Flight OperationInclination ^^^^^^^^^^^^^^^^^^^^ .. class:: OperationInclination Change the inclination. .. function:: std::string error_message() The warning or error from the last call to ``MakeNodes``, or an empty string. :Game Scenes: Flight .. function:: std::vector make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :Game Scenes: Flight .. note:: The nodes follow the vessel's last maneuver node, if it has one. A warning may be left in ``ErrorMessage``. .. function:: double new_inclination() .. function:: void set_new_inclination(double value) The new inclination, in degrees. :Game Scenes: Flight .. function:: TimeSelector time_selector() The time of the maneuver. :Game Scenes: Flight OperationKillRelVel ^^^^^^^^^^^^^^^^^^^ .. class:: OperationKillRelVel Match velocities with the target. .. function:: std::string error_message() The warning or error from the last call to ``MakeNodes``, or an empty string. :Game Scenes: Flight .. function:: std::vector make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :Game Scenes: Flight .. note:: The nodes follow the vessel's last maneuver node, if it has one. A warning may be left in ``ErrorMessage``. .. function:: TimeSelector time_selector() The time of the maneuver. :Game Scenes: Flight OperationLambert ^^^^^^^^^^^^^^^^ .. class:: OperationLambert Intercept the target at a chosen time. .. function:: std::string error_message() The warning or error from the last call to ``MakeNodes``, or an empty string. :Game Scenes: Flight .. function:: double intercept_interval() .. function:: void set_intercept_interval(double value) The time from the maneuver to the intercept, in seconds. :Game Scenes: Flight .. function:: std::vector make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :Game Scenes: Flight .. note:: The nodes follow the vessel's last maneuver node, if it has one. A warning may be left in ``ErrorMessage``. .. function:: TimeSelector time_selector() The time of the maneuver. :Game Scenes: Flight OperationLan ^^^^^^^^^^^^ .. class:: OperationLan Change the longitude of the ascending node. .. function:: std::string error_message() The warning or error from the last call to ``MakeNodes``, or an empty string. :Game Scenes: Flight .. function:: std::vector make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :Game Scenes: Flight .. note:: The nodes follow the vessel's last maneuver node, if it has one. A warning may be left in ``ErrorMessage``. .. function:: double new_lan() .. function:: void set_new_lan(double value) The new longitude of the ascending node, in degrees. :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. .. function:: TimeSelector time_selector() The time of the maneuver. :Game Scenes: Flight OperationLongitude ^^^^^^^^^^^^^^^^^^ .. class:: OperationLongitude Change the surface longitude of the apsis. .. function:: std::string error_message() The warning or error from the last call to ``MakeNodes``, or an empty string. :Game Scenes: Flight .. function:: std::vector make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :Game Scenes: Flight .. note:: The nodes follow the vessel's last maneuver node, if it has one. A warning may be left in ``ErrorMessage``. .. function:: double new_surface_longitude() .. function:: void set_new_surface_longitude(double value) The new surface longitude of the apsis after one orbit, in degrees. :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. .. function:: TimeSelector time_selector() The time of the maneuver. :Game Scenes: Flight OperationMoonReturn ^^^^^^^^^^^^^^^^^^^ .. class:: OperationMoonReturn Return from a moon to the body it orbits. .. function:: std::string error_message() The warning or error from the last call to ``MakeNodes``, or an empty string. :Game Scenes: Flight .. function:: std::vector make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :Game Scenes: Flight .. note:: The nodes follow the vessel's last maneuver node, if it has one. A warning may be left in ``ErrorMessage``. .. function:: double moon_return_altitude() .. function:: void set_moon_return_altitude(double value) The approximate periapsis altitude at the body, in meters. :Game Scenes: Flight .. function:: bool inclination_flag() .. function:: void set_inclination_flag(bool value) Whether to aim for :func:`OperationMoonReturn::inclination`. :Game Scenes: Flight .. function:: double inclination() .. function:: void set_inclination(double value) The inclination of the orbit around the body after the return, in degrees. :Game Scenes: Flight .. note:: Requires :func:`OperationMoonReturn::inclination_flag`. OperationPeriapsis ^^^^^^^^^^^^^^^^^^ .. class:: OperationPeriapsis Change the periapsis. .. function:: std::string error_message() The warning or error from the last call to ``MakeNodes``, or an empty string. :Game Scenes: Flight .. function:: std::vector make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :Game Scenes: Flight .. note:: The nodes follow the vessel's last maneuver node, if it has one. A warning may be left in ``ErrorMessage``. .. function:: double new_periapsis() .. function:: void set_new_periapsis(double value) The new periapsis altitude, in meters. :Game Scenes: Flight .. function:: TimeSelector time_selector() The time of the maneuver. :Game Scenes: Flight OperationPlane ^^^^^^^^^^^^^^ .. class:: OperationPlane Match planes with the target. .. function:: std::string error_message() The warning or error from the last call to ``MakeNodes``, or an empty string. :Game Scenes: Flight .. function:: std::vector make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :Game Scenes: Flight .. note:: The nodes follow the vessel's last maneuver node, if it has one. A warning may be left in ``ErrorMessage``. .. function:: TimeSelector time_selector() The time of the maneuver. :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. .. function:: std::string error_message() The warning or error from the last call to ``MakeNodes``, or an empty string. :Game Scenes: Flight .. function:: std::vector make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :Game Scenes: Flight .. note:: The nodes follow the vessel's last maneuver node, if it has one. A warning may be left in ``ErrorMessage``. .. function:: int32_t resonance_denominator() .. function:: void set_resonance_denominator(int32_t value) The denominator of the ratio of the new orbital period to the current one. :Game Scenes: Flight .. function:: int32_t resonance_numerator() .. function:: void set_resonance_numerator(int32_t value) The numerator of the ratio of the new orbital period to the current one. :Game Scenes: Flight .. function:: TimeSelector time_selector() The time of the maneuver. :Game Scenes: Flight OperationSemiMajor ^^^^^^^^^^^^^^^^^^ .. class:: OperationSemiMajor Change the semi-major axis. .. function:: std::string error_message() The warning or error from the last call to ``MakeNodes``, or an empty string. :Game Scenes: Flight .. function:: std::vector make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :Game Scenes: Flight .. note:: The nodes follow the vessel's last maneuver node, if it has one. A warning may be left in ``ErrorMessage``. .. function:: double new_semi_major_axis() .. function:: void set_new_semi_major_axis(double value) The new semi-major axis, in meters. :Game Scenes: Flight .. function:: TimeSelector time_selector() The time of the maneuver. :Game Scenes: Flight OperationStationaryOrbit ^^^^^^^^^^^^^^^^^^^^^^^^ .. class:: OperationStationaryOrbit A transfer to the stationary orbit of the body, above :func:`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. .. function:: std::string error_message() The warning or error from the last call to ``MakeNodes``, or an empty string. :Game Scenes: Flight .. function:: std::vector make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :Game Scenes: Flight .. note:: The nodes follow the vessel's last maneuver node, if it has one. A warning may be left in ``ErrorMessage``. .. function:: double target_longitude() .. function:: void set_target_longitude(double value) The surface longitude to stay above, in degrees. :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. .. function:: std::string error_message() The warning or error from the last call to ``MakeNodes``, or an empty string. :Game Scenes: Flight .. function:: std::vector make_nodes() Make the maneuver nodes of the operation. Throws an :class:`OperationException` if the operation cannot make them. :returns: The maneuver nodes. :Game Scenes: Flight .. note:: The nodes follow the vessel's last maneuver node, if it has one. A warning may be left in ``ErrorMessage``. .. function:: bool capture() .. function:: void set_capture(bool value) Whether the transfer ends in the target's orbit. Without capture, it is an impact or a flyby. :Game Scenes: Flight .. function:: bool plan_capture() .. function:: void set_plan_capture(bool value) Whether to make a second node for the capture burn. :Game Scenes: Flight .. note:: Requires :func:`OperationTransfer::capture`. For a celestial body target, also requires :func:`OperationTransfer::match_orbit` or a :func:`OperationTransfer::lag_time`. .. function:: bool match_orbit() .. function:: void set_match_orbit(bool value) Whether to reach the target's orbit, ahead of or behind the target, rather than meet the target. :Game Scenes: Flight .. note:: Requires :func:`OperationTransfer::capture`. .. function:: double lag_time() .. function:: void set_lag_time(double value) The time by which the vessel arrives behind the target, in seconds. :Game Scenes: Flight .. note:: Ignored with :func:`OperationTransfer::match_orbit`. .. function:: bool coplanar() .. function:: void set_coplanar(bool value) Whether the transfer stays in the vessel's orbital plane. :Game Scenes: Flight .. function:: TimeSelector time_selector() The time of the maneuver. :Game Scenes: Flight