How to write autonomous code and run?

Hi @MikeFair -
Using LUA scripts with Mavlink is also possible, and an easy way to link things like controller button presses to output actions. By setting a Servo#_Function parameter to RCIN#, and then putting a lua script like the one shared below (explanatory forum post coming soon) in the correct scripts directory as detailed here and here, lots of things become possible!

Lua_buttoncontrol.lua (2.8 KB)

1 Like