
02-05-2016, 20:56
|
|
Jack of all trades, Master of none
AKA: Brian Wagg
 FRC #2386 (Trojans)
Team Role: Alumni
|
|
Join Date: Jan 2013
Rookie Year: 2012
Location: Burlington, Ontario
Posts: 319
|
|
|
Re: What Did you use for Vision Tracking?
Quote:
Originally Posted by nighterfighter
We already had our tracking code written for the Axis camera, so our P loop only had to have a tiny adjustment (instead of a range of 320 pixels, it was 5 volts), so the PixyCam swap was almost zero code change.
We got our PixyCam hooked up and running in a few hours. We only used the analog output, didn't have time to get the digital output on it working. So if it never saw a target, (output value of around .43 volts I believe) the robot would "track" to the right constantly. But that is easy enough to fix in code...(if the "center" position doesn't update, you aren't actually tracking).
If we had more time we probably would have used I2C or SPI to interface with the camera, in order to get more data.
I know of at least 2 other teams from Georgia who used the PixyCam as well, being added in after/during the DCMP.
|
Do you know if it is possible to take the image that the PixyCam sees and stream it back to the driver station? Perhaps using MJPG Streamer or another method.
|