Modular lua scripts

Hi,

I wrote a simple python bundler to compile modular lua scripts into a single file to run in Ardupilot. It is based on the require statement in lua. I’m not sure if my understanding of the lua require statement is correct but it works pretty well and has allowed me to write much more readable scripts.

I’ve shared the script here: GitHub - ThomasDavid0/lua_bundler: A simple python package to bundle lua scripts into a single file to run in Ardupilot

The script is very simple and was inspired by this stack overflow answer: build - How can I bundle Lua scripts to single file - Stack Overflow

cheers,

Tom