LandingGuidance#

class LandingGuidance#

The Landing Guidance window, which lands at a target or wherever the vessel comes down.

bool enabled()#
void set_enabled(bool value)#

Whether the module is enabled.

Game Scenes:

Flight

std::string status()#

The status of the autopilot.

Game Scenes:

Flight

bool deploy_chutes()#
void set_deploy_chutes(bool value)#

Whether the autopilot deploys the parachutes.

Game Scenes:

Flight

bool deploy_gears()#
void set_deploy_gears(bool value)#

Whether the autopilot deploys the landing gear.

Game Scenes:

Flight

void land_at_target()#

Land at the target. See LandingGuidance::set_target(). Throws an exception if there is no target, or the vessel is landed or splashed down.

Game Scenes:

Flight

void land_somewhere()#

Land wherever the vessel comes down. Throws an exception if the vessel is landed or splashed down.

Game Scenes:

Flight

int32_t limit_chutes_stage()#
void set_limit_chutes_stage(int32_t value)#

The last stage in which the autopilot deploys the parachutes.

Game Scenes:

Flight

int32_t limit_gears_stage()#
void set_limit_gears_stage(int32_t value)#

The last stage in which the autopilot deploys the landing gear.

Game Scenes:

Flight

bool rcs_adjustment()#
void set_rcs_adjustment(bool value)#

Whether the autopilot corrects its course with RCS.

Game Scenes:

Flight

void abort_autoland()#

Stop the landing.

Game Scenes:

Flight

double touchdown_speed()#
void set_touchdown_speed(double value)#

The speed at touchdown, in \(\mathrm{m/s}\).

Game Scenes:

Flight

std::tuple<double, double, double> get_target_position()#

The world space position of the landing target. Throws an exception if there is no landing target.

Game Scenes:

Flight

std::string get_target_string()#

The landing target as text.

Game Scenes:

Flight

void pick_target_on_map()#

Let the player pick the landing target on the map.

Game Scenes:

Flight

void set_target(SpaceCenter::CelestialBody body, double latitude, double longitude)#

Set the landing target to a position on the surface of a body.

Parameters:
  • body – The body.

  • latitude – The latitude, in degrees.

  • longitude – The longitude, in degrees.

Game Scenes:

Flight

bool autowarp()#
void set_autowarp(bool value)#

Whether to warp time during the landing.

Game Scenes:

Flight

Note

The same setting as ManeuverPlanner::autowarp().