ArduPilot Setup
info
QuadPlane (ArduPlane) precision landing requires the use of a Lua script. Please see this discussion for details. Documentation can be found here.
- Run AutoTune to ensure the UAV's PID values are well tuned.
- Serial port parameters
- Determine the serial index for the selected TELEM port using your flight controller's UART mapping.
- For example, on the Pixhawk 6X, TELEM1, TELEM2, and TELEM3 map to SERIAL1, SERIAL2, and SERIAL5, respectively.
SERIAL#_BAUD = 230400SERIAL#_PROTOCOL = MAVLink2
- Determine the serial index for the selected TELEM port using your flight controller's UART mapping.
- Precision landing parameters
PLND_ENABLED = Enabledthen reboot.PLND_TYPE = MAVLink or CompanionComputerPLND_EST_TYPE = RawSensorPLND_ALT_MAX≈ half of the landing target's max detection distance. (Use5 metersfor the landing target included in the box.)RTL_LOIT_TIME = 0to remove delay between RTL and precision landing.
- Camera offset
PLND_CAM_POS_X: Landmark module position forward of the vehicle origin, in metersPLND_CAM_POS_Y: Landmark module position right of the vehicle origin, in metersPLND_CAM_POS_Z: Landmark module position down from the vehicle origin, in metersPLND_YAW_ALIGN: yaw angle from the vehicle forward axis to the Landmark module X axis, in centidegrees- For example, if the module's X axis points right, set
PLND_YAW_ALIGN = 9000.
- For example, if the module's X axis points right, set