Mavlink reading in lua

Hello, I want to run a lua script inside my orange cube where it reads a serial port, specifically SERIAL 3, where a winch is connected that sends its status every 1 second, I’ve been doing some research but it seems like I can’t do mavlink readings inside the lua script, can anyone help me?

Is that winch supported be the ardupilot firmware? If yes all you need to do is add function bindings to the desired winch control functions.

And update to ArduCopter 4.4.2. You seam to be running ArduCopter 4.0 FW.

2 Likes

It is possible to read and send mavlink messages from script, but it is still in the master (4.5).

3 Likes