I started to dust off my Ranger EX after sitting around all winter. It won’t be long now before I test my initial transitions so I decided to install a few more cables like my camera trigger for CHDK and my FrSky-to-Pixhawk telemetry cable from Craft & Theory.
I then realized that my favorite LUA script, called LuaPilot, was written for APM and PX4 copters, not plane, so I made some minor changes and came up with “LuaPlane” that correctly calls out Plane and QuadPlane flight modes. It’s still a work in progress as I hunt for better QuadPlane audibles but it works nicely now. You don’t need Mission Planner running to get positive feedback on a flight mode change from telemetry.
You can use APM Copter 3.x for LuaPilot without issue and use APM Plane 3.x or QuadPlane with LuaPlane without issue. The standard smartport telem setting 4 in Mission Planner. I’m using OpenTX 2.1.9 and the Pixhawk Telemetry 2 port with my Craft & Theory cable. No teensy is needed. Be sure to copy the the “TELEMETRY” directory inside the “SCRIPTS” directory and set up your lua script to “LuaPilot” or “LuaPlane” appropriately on the Telemetry tab screen for your particular model in OpenTX. You can pull LuaPilot from the links below and then just add my attached ZIP file. The PLANEWAV directory for sounds goes in the SCRIPTS folder and the LuaPlane.lua file goes in the TELEMETRY directory along side the LuaPilot.lua file.
[B]Lua Script Links:[/B]
- R/C Settings - Lua Scripts for OpenTX
- LuaPilot script on RC Settings
- LuaPilot Taranis Telemetry Script Page on Github
- Craft & Theory Telemetry Cables
- FrSky Telemetry for APM
LuaPlane.zip (2.1 MB)