View Single Post
  #3   Spotlight this post!  
Unread 14-02-2009, 19:26
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,752
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: Change two color tracking vi from tracking pink AND green to orange OR grape ball

There is also a LV example for finding a single color object. To update it to find a second color, you have two choices -- prioritize one and do the second only if you don't find the first, or search for them in parallel and take the biggest/best one you find. The first version will duplicate some of the code, put it in a case, and only execute it if you don't find a good first target. The second approach will search for both, compare the results, and then decide on the outcome.

Greg McKaskle