AircraftApproach#

class MechJeb.AircraftApproach()#

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

AircraftApproach.getRunways()#

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

Property:

Read-only, cannot be set

Return type:

Array of string

Game Scenes:

Flight

AircraftApproach.getRunway()#
AircraftApproach.setRunway(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.

Property:

Can be read or written

Return type:

string

Game Scenes:

Flight

AircraftApproach.getDistanceToRunway()#

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

Property:

Read-only, cannot be set

Return type:

number

Game Scenes:

Flight

AircraftApproach.autoland()#

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

Game Scenes:

Flight

AircraftApproach.abort()#

Stop the autoland.

Game Scenes:

Flight

AircraftApproach.getEnabled()#

Whether the autoland is running.

Property:

Read-only, cannot be set

Return type:

boolean

Game Scenes:

Flight

AircraftApproach.getState()#

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

Property:

Read-only, cannot be set

Return type:

string

Game Scenes:

Flight

AircraftApproach.getGlideslope()#
AircraftApproach.setGlideslope(value)#

The glideslope of the approach, in degrees.

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

AircraftApproach.getApproachSpeed()#
AircraftApproach.setApproachSpeed(value)#

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

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

AircraftApproach.getTouchdownSpeed()#
AircraftApproach.setTouchdownSpeed(value)#

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

Property:

Can be read or written

Return type:

number

Game Scenes:

Flight

AircraftApproach.getEngageReverseIfAvailable()#
AircraftApproach.setEngageReverseIfAvailable(value)#

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

Property:

Can be read or written

Return type:

boolean

Game Scenes:

Flight

AircraftApproach.getBrakeAsSoonAsLanded()#
AircraftApproach.setBrakeAsSoonAsLanded(value)#

Whether to brake as soon as the vessel is landed.

Property:

Can be read or written

Return type:

boolean

Game Scenes:

Flight