ArduPilot引入了对Lua脚本的支持; Lua脚本存放在 SD card 中; Copter-4.0 及以上版本才支持Lua脚本; scripting API ? scripting applets ? 飞控条件:2 MB of flash and 70 kB of memory ; 使能:Set SCR_ENABLE to 1,然后 reboot ; 将Lua脚本上传到 SD card’s APM/scripts 文件夹中;If using Mission Planner, this can be done using MAVFTP;