Hi everyone,
I can’t get pixy to track anything using a python script. I followed this example:
http://cmucam.org/projects/cmucam5/wiki/Building_libpixyusb_as_a_Python_module_on_Linux
and got the python script to run. I added in some code to print a message to confirm that it is getting to the while loop (i.e. it’s not getting stuck at pixy_get_blocks as some posts on here had). Other than what I added in, the only output I get is the first print statement: “Pixy Python SWIG Example – Get Blocks”.
I’m using a CMUcam5 Pixy with a Raspberry Pi 3 running NOOBS.
I’ve used PixyMon on a windows computer to get an idea of what to expect from the program and learn how to teach pixy different signatures, so I’m fairly familiar with that.
I also got the pixy to track objects as expected through the Pi using terminal commands, following this example:
http://www.cmucam.org/projects/cmucam5/wiki/Hooking_up_Pixy_to_a_Raspberry_Pi
The trouble just seems to occur when I try using python.
Any help would be greatly appreciated.