<< return to Pixycam.com

Pix2 and Zumo line sensor problem

Hi,

I recently got a Pixy2 and mounted it with its pan&tilt on a Pololu Zumo robot. I’ve started to explore with the object chasing demo and all worked fine in a snap. I’ve made some extensions to the demo to add different behaviours, and it’s still working like a charm.

The situation changed as soon as I tried to use the Zumo reflectance array sensor accessory for adding playground border detection. It seems to be some conflict between the Pixy and the sensor, since the program breaks as soon as either the Pixy or the sensor init is called in the setup() function, whichever is called first.

Any suggestion or clue for finding what’s wrong and how to fix it would be welcomed.

Thanks in advance.

Eric

Hey Eric,

hmm, we haven’t encountered this before. Could you post your code?

Thanks!
Jesse

Hi Jeese,

Thanks for replying.

I just found the origin of the problem : there were two different versions of QTRSensors sources around, with a slight difference in the class definitions. Putting one of them out of sight cured the problem.

All is fine now. Issue closed :wink:

Best

Eric

Hooray! Nice work Eric!