View Single Post
  #4   Spotlight this post!  
Unread 16-07-2012, 22:48
androb4's Avatar
androb4 androb4 is offline
..is trying to take this year off.
AKA: Andrew A.
no team
Team Role: Alumni
 
Join Date: Feb 2010
Rookie Year: 2003
Location: Houston, TX
Posts: 220
androb4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to behold
Re: Vision Targeting on Laptop

That is exactly what I was working on the past few days, and I got it working just fine! I tested it today and found out it is WAY faster than processing on the cRio.

What I basically did was, I took all the camera vi's from the 'Begin.vi' in a FRC Project, and put it inside the 'Vision Processing.vi' from the 'Retangular Target Processing' template. I removed the 'Set Registery.vi' and 'Get Registery.vi' and just wired the two sections together. Then I sent the 'Target Info' Cluster/Array, through UDP port 1130 to 10.te.am.2 (cRio), and made a UDP receive vi in a separate loop.

I HIGHLY recommend this since you have a good processor on your driver station.

NOTE: This is VERY similar to on-board processing.

If you want, I can send you my code or some screenshots. I can't right now because I'm on an iPad.
__________________
FRC 441 Mentor 2012-2015
FRC 441 Alumni 2009-2012
FTC 4673 Alumni 2011-2012
FRC 1484 Alumni 2006-2008

Reply With Quote