Python code example to play audio from RPI when armed ord disarmed drone

Hi i not programmer can somebody help to get some code example to get audio out from RPI when armed or disarmed status changes and vhen GPS are fixed ?

Hi there!

Sure, it can be done. Take a look at this post that explains how to make use of audio using Python. The next thing is to import dronekit and get vehicle’s state.

The script should end up being like a couple of hundreds lines of code maximum.

1 Like

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.