Go to Post There are two types of competitors in this world, those who aim to rise above their opponents and those who seek to drag them down. Which group do you want to belong to? Which group is more beneficial to our society? Think about it. - Karthik [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Spotlight this post!  
Unread 28-01-2017, 17:45
Hadi379's Avatar
Hadi379 Hadi379 is offline
Registered User
FRC #0379
 
Join Date: Jan 2007
Location: Girard
Posts: 171
Hadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to beholdHadi379 is a splendid one to behold
Re: How to use the Pixy

Quote:
Originally Posted by rockinthespecs View Post
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.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 15:31.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi