Using AP_Camera in Lua Scripts

I want to use the camera alias in the lua scripts to trigger the camera periodically. But the script give an error saying attempt to index a nil value ‘camera’. I guess it is because of the following conditions:

Please help on how can I trigger camera periodically?

Use need to use a firmware that has both lua and camera support active.

Please build one using

1 Like

Great! Thanks for the link