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 = CompanionComputer / MAVLinkPLND_ALT_MAX≈ half of the landing target's max detection distance. (Use5 metersfor the landing target included in the box.)PLND_YAW_ALIGN: ArduPilot assumes the Landmark module's X axis points forward. If not, set a yaw offset in centidegrees.- For example, if the module points rearward (an offset of 180º), set
PLND_YAW_ALIGN = 18000.
- For example, if the module points rearward (an offset of 180º), set
RTL_LOIT_TIME = 0to remove delay between RTL and precision landing.