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