<< return to Pixycam.com

getBlocks behaving unreliably

I am using Pixy with Arduino. I have two static objects in the camera’s field of view (signature # 1 and 2). When I run my program in a loop with getBlocks, it starts with returning “2”, but soon goes to “1”, and it is always the object with signature=1. After an arbitrary time (a few minutes) it would again switch to returning “2”, and it switches back and forth. When I look at the same scene using PixyMon I see two very well tracked objects. Could you please advice what could be wrong? Thanks.

Hello Kunal,
For debugging purposes, have you running the hello_world program (unmodified)? Are you using SPI (ICSP) communications?

Edward