CMUCam Object Tracking (with Cortex and RobotC!)

Hey Guys,

Have been meaning to post something with the CMUCam for a while now. It is one of my favourite robotics toys (and VEX compatible)!

The CMUCam is a small but powerful embedded camera module that is able to track objects based on their colour. It can track at around 25 fps at 320*240 resolution, and about 11fps at double that resolution. It can detect both position and size of an object.

Here is a video I made of the CMUCam2+ tracking a green clean sweep ball:

And here is another one I made a few months back on a small fire fighting robot that can track a flame (The shell is a rapid prototyped Hummer I made in CAD).

[

Big thanks to the RobotC Team for adding CMUCam support for the Cortex, and for helping me to get it working at the last worlds.

Pikey ~ Team aMEss, Massey University, New Zealand](Firefighting robot with CMUCAM 2+ - YouTube)

I’d love to see a basic tutorial on how you setup the flame tracking robot.

Consider this a video request!

Excellent work,
-Cody

Cheers mate,

I would like to set up a video tutorial, but am in the middle of exams right now and it would take quite a while to go through the whole setup and explain it properly.

Will be finished in a couple of weeks though, so will post some more detailed info then.

The best place to start would be here:

ifilive.robotc.net/VEX_Cortex_UART_Info.pdf

And the CMUCam2 Manual::

http://www.cs.cmu.edu/~cmucam2/downloads.html

If you have any specific questions about the camera (or the rapid prototyping) I am happy to answer them.

Pikey ~ Team aMEss, Massey University, New Zealand

Hey, I’m seeing that in your screen capture that you actually have the CMU camera functions in the function library…how do you get that?