Lua controled video overlay
krzysztofkuczek opened this issue · 2 comments
Hi,
Do you think that it's possible to implement lua scripting to draw on a video overlay ?
There would be great to simply load lua script to sd card, which would utilize telemetry data and draw whatever we want, let say virtual obstacle, augmented reality things, etc...
Kris
Sorry for taking a while to respond.
Possible yes, and we've had something like this on our mind for a while. It's not very easy to do well though, at a high update rate.
msp-osd is a good starting point for anyone looking at how to deal with the framebuffer. Lua itself should be fairly easily to integrate, the sticky part is the drawing library.
Closing this issue here as there is now work in progress at https://github.com/fpv-wtf/lua-sandbox