View Full Version : how do i track colors?
pollyproof12
17-01-2009, 09:54
does anyone have a samplel code. i'm not sure what to do. i've been playing around with the options but i don't get it
Shadow503
17-01-2009, 10:47
FIRST includes several demo programs in Windriver. To access these projects go to File -> New -> Example. . .
Then select VxWorks Downloadable Kernel Module Sample Project.
For a dashboard vision demo: FRC Dashboards sample showing images. . .
For servo based color tracking (red is default): FRC Vision Simple tracker
For a vision demo to really blow your mind: FRC Vision Demonstration
I'd recommend starting with the servo demo and modifying the code to drive the robot instead of simply moving the servos.
pollyproof12
17-01-2009, 12:12
any pictures for setting up servos to camera?
If you are using Labview to track the colors, check out this most excellent thread on the subject (hint, look at the last post to see who dunnit)
http://www.chiefdelphi.com/forums/showthread.php?t=71887
Alexa Stott
17-01-2009, 14:28
Please search before you post. There are already many threads pertaining to color tracking.
Here is one that links to code released by FIRST for both LabView and WindRiver.
http://www.chiefdelphi.com/forums/showthread.php?t=72066
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.