Go to Post Congratulations! Welcome to the hardest fun you'll ever have. - Undertones [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-01-2017, 22:17
brackencloud brackencloud is offline
Registered User
AKA: Tiana
FRC #4655 (Stateline Robotics)
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2014
Location: Illinois
Posts: 2
brackencloud is an unknown quantity at this point
Pixy to labview

My team decided to buy a Pixy camera this year, and I'm supposed to figure out how to use it for competition this season (I was told this yesterday, and have been messing with the ball mostly for learning).
I have a couple questions about it, that I haven't found answers to, And so far with my playing and testing have run into a few issues.
1) can i get both X and Y from the Pixy at the same time, and can i do so with more objects than just the largest identified?(From what i read, it sounds like i can't, but a couple threads did make it seem possible)
2) Does anyone know how to correct the issue where every time i start the Pixy, it seems to be calibrated slightly differently where it doesn't quite recognize the same object I taught it.
3) Does anyone have recommendations for using the pixy to vision target to hang the gear? I haven't been able to get it to work on the reflective tape on polycarb with the bright green light ring we used last year for a different targeting program.
Any help, ideas, or links to such things would be greatly appreciated.
Reply With Quote
  #2   Spotlight this post!  
Unread 22-01-2017, 01:36
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Pixy to labview

If you use the simple analog output method of getting information from the camera, you can choose either X or Y, not both. You will only get the result for the largest detected object.

If you choose a full digital communication method, you will get data on X and Y location and size for as many objects as are detected (up to a configurable maximum number). You'll have to parse the data into a usable form.
Reply With Quote
  #3   Spotlight this post!  
Unread 25-01-2017, 17:06
brackencloud brackencloud is offline
Registered User
AKA: Tiana
FRC #4655 (Stateline Robotics)
Team Role: Programmer
 
Join Date: Jan 2017
Rookie Year: 2014
Location: Illinois
Posts: 2
brackencloud is an unknown quantity at this point
Re: Pixy to labview

Thank you. i got Analog working so i can detect a singular object, but as i am trying to use it t target the gear, i want to use the full digital you mentioned. Sadly, i cannot seem to find how to do so on the Porting guide wiki.
Reply With Quote
Reply


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 10:54.

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