Executing Mission Planner Actions from Radio

Hi there,

Mission Planner’s Actions tab has several actions, such as PREFLIGHT_CALIBRATION and PREFLIGHT_REBOOT_SHUTDOWN. If I am only using a simple radio like the TBS Tango2, is there any way to execute that type of Action? Is it possible to invoke it through Lua script?

Thank you

Hi @tdempsey,

Sorry for the slow response, but the closest we have is the auxiliary functions all of which can be executed using an RC switch, a Lua script or by sending a mavlink message.

I found the mapping I was looking for in the documentation.

So now I have written a Lua script that monitors for a certain combination of RC switches and then executes this command:
vehicle:reboot(false)

When the command executes, my ESCs give off a series of chimes and then the autopilot reboots very quickly. It is my hope that I don’t have to use this, but it is nice knowing that if I am faced with some kind of issue where the vehicle needs rebooting, I am able to do so.

Maybe by posting this update, that command will help someone else.

1 Like