<< return to Pixycam.com

Color Code Detecting with hello_pixy

I’ve met some problems with color code detecting. I’ve downloaded the new version of the software and firmware recently, and it worked well for the PixyMon software, I could set CC signature with it. However, after building the libpixyusb, I found that the block information cannot be shown by hello_pixy when I was tracking the color code.

After this, I’ve tried to use the previous version, but I found it also didn’t work. BTW, these all worked well before I installed the new version. Thus, I think there may be some problems with the new release of libpixyusb, but I’m not sure. Could you please give me a little help about this? I’m really confused.

Thank you,
Frank

After I built the libpixyusb Python module, it could work and print like this:

Pixy Python SWIG Example – Get Blocks
[BLOCK_TYPE=1 SIG=10 X=204 Y= 88 WIDTH= 35 HEIGHT= 32]
[BLOCK_TYPE=1 SIG=10 X=204 Y= 88 WIDTH= 34 HEIGHT= 32]
[BLOCK_TYPE=1 SIG=10 X=204 Y= 87 WIDTH= 34 HEIGHT= 33]
[BLOCK_TYPE=1 SIG=10 X=204 Y= 88 WIDTH= 34 HEIGHT= 33]
[BLOCK_TYPE=1 SIG=10 X=204 Y= 89 WIDTH= 34 HEIGHT= 32]
[BLOCK_TYPE=1 SIG=10 X=204 Y= 88 WIDTH= 34 HEIGHT= 33]

But for hello_pixy, it could only print like this:

*Hello Pixy:
libpixyusb Version: 0.4
Pixy Firmware Version: 1.0.2 (or 2.0.5, they perform the same)
Detecting blocks…






-------------------------------*

Hello Frank,
There was a bug with libpixyusb and color codes that was fixed and checked in last night (Sunday). Please try to pull the latest code and rebuild libpixyusb.

Let me know if you still have this problem.

thank you!

It works now.

Thanks, Edward