|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to use the Pixy
My team is thinking about buying a PixyCam for the SteamWorks Season and was wondering how to hook up the PixyCam and how to use it. Are there any tutorials? Would prefer direct connection to roboRio
Last edited by 414cnewq : 22-11-2016 at 18:57. |
|
#2
|
|||
|
|||
|
Re: How to use the Pixy
http://www.cmucam.org/projects/cmucam5/wiki Has a ton of info regarding how to setup, connect, etc with the pixy.
|
|
#3
|
||||
|
||||
|
Re: How to use the Pixy
This recent thread about the Pixy Camera may also be helpful to you:
https://www.chiefdelphi.com/forums/s...highlight=pixy |
|
#4
|
||||
|
||||
|
Re: How to use the Pixy
According to the information on the AndyMark web site, the PixieCam does both the acquisition and the processing of the image.
Quote:
|
|
#5
|
||||
|
||||
|
Re: How to use the Pixy
Any detail on how it connects to the RoboRio and what data should we expect ?
|
|
#6
|
|||
|
|||
|
Re: How to use the Pixy
We will be using a Pixy this year connecting via I2C and using C++. X, Y, Width, and Height are the values normally used. X = 0-319 pixels and Y = 0-200 pixels from the Pixy's field of view (0,0 is bottom left). The Pixy will send data for every object it detects, but this can be controlled to a certain number via the Pixymon setup application (connect via usb cable to windows pc). Exposure and other settings are done via the Pixymon program.
|
|
#7
|
||||
|
||||
|
Re: How to use the Pixy
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.
|
|
#8
|
||||
|
||||
|
Re: How to use the Pixy
Quote:
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. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|