ArduPilot has introduced support for Lua scripting. Scripting provides a safe, “sandboxed” environment for new behaviours to be added to the autopilot without modifying the core flight code. Scripts are stored on the SD card and run in parallel with the flight code.
This category is for users and developers to share and discuss Lua scripting in ArduPilot.
To use scripting, you’ll need a flight controller with 2MB of flash.
Start here: https://ardupilot.org/copter/docs/common-lua-scripts.html for an overview and setup guide.
Sample scripts are here: https://github.com/ArduPilot/ardupilot/tree/master/libraries/AP_Scripting/examples