ManeuverPlanner
-
class ManeuverPlanner
-
OperationApoapsis operation_apoapsis()
- Game Scenes:
Flight
-
OperationCircularize operation_circularize()
- Game Scenes:
Flight
-
OperationCourseCorrection operation_course_correction()
- Game Scenes:
Flight
-
OperationEllipticize operation_ellipticize()
- Game Scenes:
Flight
-
OperationInclination operation_inclination()
- Game Scenes:
Flight
-
OperationInterplanetaryTransfer operation_interplanetary_transfer()
- Game Scenes:
Flight
-
OperationKillRelVel operation_kill_rel_vel()
- Game Scenes:
Flight
-
OperationLambert operation_lambert()
- Game Scenes:
Flight
-
OperationLan operation_lan()
- Game Scenes:
Flight
-
OperationLongitude operation_longitude()
- Game Scenes:
Flight
-
OperationMoonReturn operation_moon_return()
- Game Scenes:
Flight
-
OperationPeriapsis operation_periapsis()
- Game Scenes:
Flight
-
OperationPlane operation_plane()
- Game Scenes:
Flight
-
OperationResonantOrbit operation_resonant_orbit()
- Game Scenes:
Flight
-
OperationSemiMajor operation_semi_major()
- Game Scenes:
Flight
-
OperationTransfer operation_transfer()
- Game Scenes:
Flight
-
OperationApoapsis operation_apoapsis()
-
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
-
class TimeSelector
-
double circularize_altitude()
-
void set_circularize_altitude(double value)
To be used with
TimeReference::altitude
.- Game Scenes:
Flight
-
double lead_time()
-
void set_lead_time(double value)
To be used with
TimeReference::x_from_now
.- Game Scenes:
Flight
-
TimeReference time_reference()
-
void set_time_reference(TimeReference value)
- Game Scenes:
Flight
-
double circularize_altitude()
-
enum struct TimeReference
-
enumerator altitude
At the selected
TimeSelector::circularize_altitude()
.
-
enumerator apoapsis
At the next apoapsis.
-
enumerator closest_approach
At the closest approach to the target.
-
enumerator computed
At the optimum time.
-
enumerator eq_ascending
At the equatorial ascending node.
-
enumerator eq_descending
At the equatorial descending node.
-
enumerator eq_highest_ad
At the cheapest equatorial AN/DN.
-
enumerator eq_nearest_ad
At the nearest equatorial AN/DN.
-
enumerator periapsis
At the next periapsis.
-
enumerator rel_ascending
At the next ascending node with the target.
-
enumerator rel_descending
At the next descending node with the target.
-
enumerator rel_highest_ad
At the cheapest AN/DN with the target.
-
enumerator rel_nearest_ad
At the nearest AN/DN with the target.
-
enumerator x_from_now
After a fixed
TimeSelector::lead_time()
.
-
enumerator altitude
Operations
OperationApoapsis
-
class OperationApoapsis
Create a maneuver to set a new apoapsis
-
std::string error_message()
A warning may be stored there during MakeNode() call.
- Game Scenes:
Flight
-
SpaceCenter::Node make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Game Scenes:
Flight
Note
This method is deprecated, use MakeNodes instead.
-
std::vector<SpaceCenter::Node> make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Game Scenes:
Flight
-
double new_apoapsis()
-
void set_new_apoapsis(double value)
- Game Scenes:
Flight
-
TimeSelector time_selector()
- Game Scenes:
Flight
-
std::string error_message()
OperationCircularize
-
class OperationCircularize
This mode creates a manevuer to match your apoapsis to periapsis. To match apoapsis to periapsis, set the time to
TimeReference::periapsis
; to match periapsis to apoapsis, set the time toTimeReference::apoapsis
. These are the most efficient, but it can also create node at specific height or after specific time.-
std::string error_message()
A warning may be stored there during MakeNode() call.
- Game Scenes:
Flight
-
SpaceCenter::Node make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Game Scenes:
Flight
Note
This method is deprecated, use MakeNodes instead.
-
std::vector<SpaceCenter::Node> make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Game Scenes:
Flight
-
TimeSelector time_selector()
- Game Scenes:
Flight
-
std::string error_message()
OperationCourseCorrection
-
class OperationCourseCorrection
Create a maneuver to fine-tune closest approach to target
-
double course_correct_final_pe_a()
-
void set_course_correct_final_pe_a(double value)
- Game Scenes:
Flight
-
std::string error_message()
A warning may be stored there during MakeNode() call.
- Game Scenes:
Flight
-
double intercept_distance()
-
void set_intercept_distance(double value)
- Game Scenes:
Flight
-
SpaceCenter::Node make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Game Scenes:
Flight
Note
This method is deprecated, use MakeNodes instead.
-
std::vector<SpaceCenter::Node> make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Game Scenes:
Flight
-
double course_correct_final_pe_a()
OperationEllipticize
-
class OperationEllipticize
Create a maneuver to change both periapsis and apoapsis
-
std::string error_message()
A warning may be stored there during MakeNode() call.
- Game Scenes:
Flight
-
SpaceCenter::Node make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Game Scenes:
Flight
Note
This method is deprecated, use MakeNodes instead.
-
std::vector<SpaceCenter::Node> make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Game Scenes:
Flight
-
double new_apoapsis()
-
void set_new_apoapsis(double value)
- Game Scenes:
Flight
-
double new_periapsis()
-
void set_new_periapsis(double value)
- Game Scenes:
Flight
-
TimeSelector time_selector()
- Game Scenes:
Flight
-
std::string error_message()
OperationInclination
-
class OperationInclination
Create a maneuver to change inclination
-
std::string error_message()
A warning may be stored there during MakeNode() call.
- Game Scenes:
Flight
-
SpaceCenter::Node make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Game Scenes:
Flight
Note
This method is deprecated, use MakeNodes instead.
-
std::vector<SpaceCenter::Node> make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Game Scenes:
Flight
-
double new_inclination()
-
void set_new_inclination(double value)
- Game Scenes:
Flight
-
TimeSelector time_selector()
- Game Scenes:
Flight
-
std::string error_message()
OperationInterplanetaryTransfer
-
class OperationInterplanetaryTransfer
Create a maneuver to transfer to another planet
-
std::string error_message()
A warning may be stored there during MakeNode() call.
- Game Scenes:
Flight
-
SpaceCenter::Node make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Game Scenes:
Flight
Note
This method is deprecated, use MakeNodes instead.
-
std::vector<SpaceCenter::Node> make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Game Scenes:
Flight
-
bool wait_for_phase_angle()
-
void set_wait_for_phase_angle(bool value)
- Game Scenes:
Flight
-
std::string error_message()
OperationKillRelVel
-
class OperationKillRelVel
Match velocities with target
-
std::string error_message()
A warning may be stored there during MakeNode() call.
- Game Scenes:
Flight
-
SpaceCenter::Node make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Game Scenes:
Flight
Note
This method is deprecated, use MakeNodes instead.
-
std::vector<SpaceCenter::Node> make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Game Scenes:
Flight
-
TimeSelector time_selector()
- Game Scenes:
Flight
-
std::string error_message()
OperationLambert
-
class OperationLambert
Create a maneuver to set the chosen time
-
std::string error_message()
A warning may be stored there during MakeNode() call.
- Game Scenes:
Flight
-
double intercept_interval()
-
void set_intercept_interval(double value)
- Game Scenes:
Flight
-
SpaceCenter::Node make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Game Scenes:
Flight
Note
This method is deprecated, use MakeNodes instead.
-
std::vector<SpaceCenter::Node> make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Game Scenes:
Flight
-
TimeSelector time_selector()
- Game Scenes:
Flight
-
std::string error_message()
OperationLan
-
class OperationLan
Change longitude of ascending node
-
std::string error_message()
A warning may be stored there during MakeNode() call.
- Game Scenes:
Flight
-
SpaceCenter::Node make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Game Scenes:
Flight
Note
This method is deprecated, use MakeNodes instead.
-
std::vector<SpaceCenter::Node> make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Game Scenes:
Flight
-
double new_lan()
-
void set_new_lan(double value)
- Game Scenes:
Flight
-
TimeSelector time_selector()
- Game Scenes:
Flight
-
std::string error_message()
OperationLongitude
-
class OperationLongitude
Change surface longitude of apsis
-
std::string error_message()
A warning may be stored there during MakeNode() call.
- Game Scenes:
Flight
-
SpaceCenter::Node make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Game Scenes:
Flight
Note
This method is deprecated, use MakeNodes instead.
-
std::vector<SpaceCenter::Node> make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Game Scenes:
Flight
-
double new_surface_longitude()
-
void set_new_surface_longitude(double value)
- Game Scenes:
Flight
-
TimeSelector time_selector()
- Game Scenes:
Flight
-
std::string error_message()
OperationMoonReturn
-
class OperationMoonReturn
Create a maneuver to return from a moon approximately at the specified altitude
-
std::string error_message()
A warning may be stored there during MakeNode() call.
- Game Scenes:
Flight
-
SpaceCenter::Node make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Game Scenes:
Flight
Note
This method is deprecated, use MakeNodes instead.
-
std::vector<SpaceCenter::Node> make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Game Scenes:
Flight
-
double moon_return_altitude()
-
void set_moon_return_altitude(double value)
Approximate return altitude from a moon (from an orbiting body to the parent body).
- Game Scenes:
Flight
-
std::string error_message()
OperationPeriapsis
-
class OperationPeriapsis
Create a maneuver to set a new periapsis
-
std::string error_message()
A warning may be stored there during MakeNode() call.
- Game Scenes:
Flight
-
SpaceCenter::Node make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Game Scenes:
Flight
Note
This method is deprecated, use MakeNodes instead.
-
std::vector<SpaceCenter::Node> make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Game Scenes:
Flight
-
double new_periapsis()
-
void set_new_periapsis(double value)
- Game Scenes:
Flight
-
TimeSelector time_selector()
- Game Scenes:
Flight
-
std::string error_message()
OperationPlane
-
class OperationPlane
Create a maneuver to match planes with target
-
std::string error_message()
A warning may be stored there during MakeNode() call.
- Game Scenes:
Flight
-
SpaceCenter::Node make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Game Scenes:
Flight
Note
This method is deprecated, use MakeNodes instead.
-
std::vector<SpaceCenter::Node> make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Game Scenes:
Flight
-
TimeSelector time_selector()
- Game Scenes:
Flight
-
std::string error_message()
OperationResonantOrbit
-
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.
-
std::string error_message()
A warning may be stored there during MakeNode() call.
- Game Scenes:
Flight
-
SpaceCenter::Node make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Game Scenes:
Flight
Note
This method is deprecated, use MakeNodes instead.
-
std::vector<SpaceCenter::Node> make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Game Scenes:
Flight
-
int32_t resonance_denominator()
-
void set_resonance_denominator(int32_t value)
- Game Scenes:
Flight
-
int32_t resonance_numerator()
-
void set_resonance_numerator(int32_t value)
- Game Scenes:
Flight
-
TimeSelector time_selector()
- Game Scenes:
Flight
-
std::string error_message()
OperationSemiMajor
-
class OperationSemiMajor
Create a maneuver to set a new semi-major axis
-
std::string error_message()
A warning may be stored there during MakeNode() call.
- Game Scenes:
Flight
-
SpaceCenter::Node make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Game Scenes:
Flight
Note
This method is deprecated, use MakeNodes instead.
-
std::vector<SpaceCenter::Node> make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Game Scenes:
Flight
-
double new_semi_major_axis()
-
void set_new_semi_major_axis(double value)
- Game Scenes:
Flight
-
TimeSelector time_selector()
- Game Scenes:
Flight
-
std::string error_message()
OperationTransfer
-
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.
-
std::string error_message()
A warning may be stored there during MakeNode() call.
- Game Scenes:
Flight
-
SpaceCenter::Node make_node()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
The first maneuver node necessary to perform this operation.
- Game Scenes:
Flight
Note
This method is deprecated, use MakeNodes instead.
-
std::vector<SpaceCenter::Node> make_nodes()
Execute the operation and create appropriate maneuver nodes. A warning may be stored in ErrorMessage during this process; so it may be useful to check its value.
OperationException is thrown when there is something wrong with the operation. MJServiceException - Internal service error.
- Returns:
A list of maneuver nodes necessary to perform this operation
- Game Scenes:
Flight
-
bool intercept_only()
-
void set_intercept_only(bool value)
Intercept only, no capture burn (impact/flyby)
- Game Scenes:
Flight
-
double period_offset()
-
void set_period_offset(double value)
Fractional target period offset
- Game Scenes:
Flight
-
bool simple_transfer()
-
void set_simple_transfer(bool 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.
-
TimeSelector time_selector()
- Game Scenes:
Flight
-
std::string error_message()