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:
id – The identifier of the AircraftApproach object.
- 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:
id – The identifier of the AircraftApproach object.
- 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:
id – The identifier of the AircraftApproach object.
- 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:
id – The identifier of the AircraftApproach object.
- 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:
id – The identifier of the AircraftApproach object.
- POST /mech-jeb/aircraft-approach/(id)/abort#
Stop the autoland.
- Parameters:
id – The identifier of the AircraftApproach object.
- GET /mech-jeb/aircraft-approach/(id)/enabled#
Whether the autoland is running.
- Parameters:
id – The identifier of the AircraftApproach object.
- Response JSON Object:
value (bool)
- GET /mech-jeb/aircraft-approach/(id)/state#
The stage of the approach, as MechJeb’s window describes it.
- Parameters:
id – The identifier of the AircraftApproach object.
- Response JSON Object:
value (string)
- GET /mech-jeb/aircraft-approach/(id)/glideslope#
The glideslope of the approach, in degrees.
- Parameters:
id – The identifier of the AircraftApproach object.
- Response JSON Object:
value (double)
- PUT /mech-jeb/aircraft-approach/(id)/glideslope#
The glideslope of the approach, in degrees.
- Parameters:
id – The identifier of the AircraftApproach object.
- 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:
id – The identifier of the AircraftApproach object.
- Response JSON Object:
value (double)
- PUT /mech-jeb/aircraft-approach/(id)/approach-speed#
The speed of the approach, in \(\mathrm{m/s}\).
- Parameters:
id – The identifier of the AircraftApproach object.
- 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:
id – The identifier of the AircraftApproach object.
- Response JSON Object:
value (double)
- PUT /mech-jeb/aircraft-approach/(id)/touchdown-speed#
The speed at touchdown, in \(\mathrm{m/s}\).
- Parameters:
id – The identifier of the AircraftApproach object.
- 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:
id – The identifier of the AircraftApproach object.
- 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:
id – The identifier of the AircraftApproach object.
- 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:
id – The identifier of the AircraftApproach object.
- 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:
id – The identifier of the AircraftApproach object.
- Request JSON Object:
value (bool) – The new value.