AircraftApproach#

class AircraftApproach#

The Aircraft Approach and Autoland window, which lands a plane on a runway.

std::vector<std::string> runways()#

The names of the runways on the body the vessel is at.

Game Scenes:

Flight

std::string runway()#
void set_runway(std::string value)#

The name of the runway to land on. Throws an exception if there is no runway on the body the vessel is at, or when set to the name of no such runway.

Game Scenes:

Flight

double distance_to_runway()#

The distance to the start of the runway, in meters.

Game Scenes:

Flight

void autoland()#

Land on the runway. Throws an exception if there is no runway on the body the vessel is at.

Game Scenes:

Flight

void abort()#

Stop the autoland.

Game Scenes:

Flight

bool enabled()#

Whether the autoland is running.

Game Scenes:

Flight

std::string state()#

The stage of the approach, as MechJeb’s window describes it.

Game Scenes:

Flight

double glideslope()#
void set_glideslope(double value)#

The glideslope of the approach, in degrees.

Game Scenes:

Flight

double approach_speed()#
void set_approach_speed(double value)#

The speed of the approach, in \(\mathrm{m/s}\).

Game Scenes:

Flight

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

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

Game Scenes:

Flight

bool engage_reverse_if_available()#
void set_engage_reverse_if_available(bool value)#

Whether to reverse the thrust at touchdown, on engines that can.

Game Scenes:

Flight

bool brake_as_soon_as_landed()#
void set_brake_as_soon_as_landed(bool value)#

Whether to brake as soon as the vessel is landed.

Game Scenes:

Flight