|
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
|