AircraftApproach#

AircraftApproach

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

A AircraftApproach object is passed and returned as its identifier, a number. A path that acts on an object takes it as (id).

GET /mech-jeb/aircraft-approach/(id)/runways#

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

Parameters:
Response JSON Object:
  • value (list<string>)

GET /mech-jeb/aircraft-approach/(id)/runway#

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.

Parameters:
Response JSON Object:
  • value (string)

PUT /mech-jeb/aircraft-approach/(id)/runway#

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.

Parameters:
Request JSON Object:
  • value (string) – The new value.

GET /mech-jeb/aircraft-approach/(id)/distance-to-runway#

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

Parameters:
Response JSON Object:
  • value (double)

POST /mech-jeb/aircraft-approach/(id)/autoland#

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

Parameters:
POST /mech-jeb/aircraft-approach/(id)/abort#

Stop the autoland.

Parameters:
GET /mech-jeb/aircraft-approach/(id)/enabled#

Whether the autoland is running.

Parameters:
Response JSON Object:
  • value (bool)

GET /mech-jeb/aircraft-approach/(id)/state#

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

Parameters:
Response JSON Object:
  • value (string)

GET /mech-jeb/aircraft-approach/(id)/glideslope#

The glideslope of the approach, in degrees.

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/aircraft-approach/(id)/glideslope#

The glideslope of the approach, in degrees.

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/aircraft-approach/(id)/approach-speed#

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

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/aircraft-approach/(id)/approach-speed#

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

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/aircraft-approach/(id)/touchdown-speed#

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

Parameters:
Response JSON Object:
  • value (double)

PUT /mech-jeb/aircraft-approach/(id)/touchdown-speed#

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

Parameters:
Request JSON Object:
  • value (double) – The new value.

GET /mech-jeb/aircraft-approach/(id)/engage-reverse-if-available#

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

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/aircraft-approach/(id)/engage-reverse-if-available#

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

Parameters:
Request JSON Object:
  • value (bool) – The new value.

GET /mech-jeb/aircraft-approach/(id)/brake-as-soon-as-landed#

Whether to brake as soon as the vessel is landed.

Parameters:
Response JSON Object:
  • value (bool)

PUT /mech-jeb/aircraft-approach/(id)/brake-as-soon-as-landed#

Whether to brake as soon as the vessel is landed.

Parameters:
Request JSON Object:
  • value (bool) – The new value.