View Single Post
  #2   Spotlight this post!  
Unread 09-02-2010, 16:31
Ziaholic's Avatar
Ziaholic Ziaholic is offline
Elec/SW Mentor
AKA: Marc
FRC #1164 (Project NEO)
Team Role: Mentor
 
Join Date: Jan 2008
Rookie Year: 2002
Location: Las Cruces, NM
Posts: 194
Ziaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the roughZiaholic is a jewel in the rough
Re: Camera Target (x,y) Position

I believe that the information you are looking for is within the TARGET INFO global variable.

Note that this can have more than one target within this array of clusters. The highest scoring target is always sorted to #0.

We extract the target info by first indexing the array with a "0", then unbundling the cluster for the X and Y values
__________________
----
There are 10 types of people. Those who understand binary, and those that do not.
Team #1164 - Project NEO Robotics

Last edited by Ziaholic : 09-02-2010 at 16:33.
Reply With Quote