Servers by jDrones

Run the Lua Script triggered by a mission command

Hi all.

Is it possible to run Lua Script triggered by a mission command?

When the autopilot is powered on the update function will be called periodically.
I’d like to implement something that starts processing triggered by a user instruction (such as the mavlink command).

To explain more specifically, I would like to enable the drone to automatically fly the missions saved in the SD card by triggering the reception of the newly added MavLink Command.


You cant trigger a script. But you can sit in the script and keep checking to hit a specific WP command.

Servers by jDrones