I'm using the PXfmini with the raspberrypi3 for a project and I need to use mavros and python code. My operative system is Frambuesa. I created the catkin workspace and I tested the c++ file takeoff_land_ and it works very well.
Now I need to test the python code, because I have to work with it, I’m using this example and I followed all the instructions to compile the statusleds.py :
But this is the error that the screen showed me:
Do you have any idea how can I fix this?
I already tried this commands: