View Single Post
  #3   Spotlight this post!  
Unread 20-01-2012, 07:28
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Multiple camera targets..?

The VI will list the targets that it found. You do not have to use them all. You should probably evaluate your robot's capabilities and decide which are most useful.

A simple version is to look for only the low target using the Y position. You could also choose the one that is closest to where your turret or mechanism is pointing, which may be the one with the smallest absolute X value. Another simple choice is to use the first in the array and pretend the VI didn't even send the others. Your choice.

Greg McKaskle
Reply With Quote