What we have found to be a very reliable way to track the target colors is a two step process:
1) Determine the optimized HSL numbers for the lighting conditions you are in.
2)Enter those numbers into the tracking vi. and adjust the tracking controls for good solid tracking.
Start by opening the example programs list in LV. Select the "Locate Colored Object" project. Set the project to run on your system's IP. Open the "LocateColoredObjectExample.vi". Start with the simple tab. Run the vi.
On the simple tab, select the color you want to track, red or green are the two that have the most relevance this year. Follow the directions to get it to identify the color you selected as accurately as possible. Once that is set, move to the "Color Wheel" tab and fine tune the Hue, Saturation and Luminance sliders for the best possible identification of your color. Now, go to the "HSL numbers" tab and right down the numbers for H,S and L. Close out the sample project.
Now open the "Servo Camera Example" project. Set it up for your system's IP. Set the PWM numbers for your X & Y servo's. Enter the HSL numbers for the color you want to track. Open the "Gimbel Control". Switch back to the front panel for the displays and run the project. Once you see the images on the top screen, switch to "gimbal track".
You should now see the camera lock onto the color you want and track it.
To fine tune the servo tracking, switch to the "Gimbel control" front panel and adjust the values to get the best response.
You should now be tracking with the big dogs.
