Hello,
In order to reliably read color codes such as 121 for colors 1,2,1 in a row I have found the setting of the ‘brightness’ parameter using PixyMon to be required so I can read the color sequence close in with brightness 30 and farther away using brightness 60. This is a common issue with other persons I know using Pixy so to fix the issue I could look for objects using 3 brightness levels and thus see things close all the way to far away. This is a key and critical requirement in my case.
I cannot find if setting type parameters can be set using I2C or not. I am a very experienced I2C user using many devices already on my robots by the way. I do need some sort of spec or maybe a hidden wiki page or something to move forward.
So can parameters be set and then the objects found from that point on use that new brightness value?
I also would be very interested if saturation and some other things could be set too but brightness is the key value I need very badly.
Lastly I have been using Pixy over USB using a complex shared memory scheme but am going to abandon that so am now converting to I2C as that is far more natural for my ROS OS based robotics needs I think.
In your discussions of how to get the blocks using I2C it is never stated but I am thinking that as a Master I address the Pixy using it’s address (default is 0x54 I think it was) and then I do readback and I get the 16-bit words of course in bytes. But do I have to WRITE to something first in the Pixy like an address or anything?
If I am to write config parameters, maybe I have to use an internal secondary address for that (gosh I hope this is possible).
Thank You,
Mark Johnston