View Single Post
  #1   Spotlight this post!  
Unread 18-01-2017, 15:37
Repasky379's Avatar
Repasky379 Repasky379 is offline
Registered User
AKA: Matt
FRC #0379
Team Role: Programmer
 
Join Date: Jun 2013
Rookie Year: 2012
Location: Ohio
Posts: 5
Repasky379 is an unknown quantity at this point
Reading Values from Pixy

This is our first time using the Pixycam, so we've been having a lot of problems figuring out how to work the camera. So far, we've been able to wire it directly into our roboRIO and get values from it. However, we don't know how to interpret the values we're getting.

Through pixymon, we set the data out port to I2C and the I2C address to 0x2. We then wired the pixycam directly into the I2C port on the roboRIO.

Using the attached code, we display the values we get from the pixy on the front panel of the teleop vi. (The open code is in the begin and the read is in teleop).

If anyone can tell us how to interpret these values or if we're doing something wrong, we'd really appreciate it if you let us know. Thanks.
Reply With Quote