Quote:
Originally Posted by rockinthespecs
Does anyone have code for connecting to the pixy through labVIEW? I have gotten the camera set up with pixyMon, and I have tried to set it up through the SPI port but it has not been successful.
|
We have it working with labview, but we are connecting using the analog/digital connection. I'd have to check with my programming team to be sure, but I know were not getting all the info other teams are through other forms of connections like SPI or I2C.
For the most part, were getting a voltage between 0-3.3V, if the object is on the left edge of the screen, the pixy outputs a voltage closer to 0, and if its on the right edge of the screen, it outputs a value of 3.3v. Therefore, if the object is centered, you should get a voltage of around 1.65v.
I believe they converted the voltage to degrees and are using that to track the target. I'm not sure a gyro is even necessary to make this work, they have our robot tracking with no gyro on board currently.