Location of Lua scripts on Navio2

I know this topic has been brought up before but it was closed and none of the solutions worked. I am trying to do some scripting on Mission Planner but continue to get the “Lua: No scripts to run” error. I was wondering if anyone has determined where the scripts need to be located in order for them to run?

We had some try without success.

https://community.emlid.com/t/location-of-apm-scripts-on-navio2-rpi/19526

Marc,

I believe I may have found the solution. I need to do more testing but APM was able to find the Lua scripts in the “scripts” directory encircled below. I believe my code is wrong so I don’t know for sure, but I will update after some testing. image

Ran hello_world.lua from the ardupilot github and it worked. Can confirm that this is the solution.

Good guess

Thanks