Log in

View Full Version : 2007 CMUcam2 Code


Kevin Watson
17-01-2007, 13:38
I've updated the camera code to version 2.1 with these minor changes:

Added IFI's new readme.txt file (replacing 2006 version).
Added IFI's new library files (replacing older versions).
Added IFI's new linker script files (replacing older versions).
Added IFI's new FRC_MASTER_V13.BIN file.
Added IFI's new LibReadMe.txt file.
Added IFI's new Using_a_2005_FRC.txt file (replacing older Using_Last_Years_FRC.txt).
Added new hardware-based PWM code (see pwm_readme.txt).
Added CMUCam2_commands.pdf file
Added CMUCam2_data_packets.pdf file
Updated user_routines.c/Default_Routine() with 2007 version.
Added Virtual_Window() function to camera.c/.h.

The code can be found here: http://kevin.org/frc.

-Kevin

Tom Bottiglieri
17-01-2007, 15:34
Thanks for the update Kevin; Your work is always appreciated.

The Virtual Window feature looks like it can be really useful this year.

DanDon
17-01-2007, 16:17
Thanks a bunch, Kevin! Your work is always greatly appreciated!!

Kevin Watson
17-01-2007, 17:56
The Virtual Window feature looks like it can be really useful this year.I just realized that I forgot to document the image orientation. If you've mounted the camera in the orientation I suggested, with the power switch down, the image is upside down with pixel 1,1 is located in the lower right corner. If you mounted the camera per the manual, with the power switch up, the image is right side up with pixel 1,1 in the upper left corner. If you mounted the camera any other way, you're on your own <grin>. I'll add this information to the camera FAQ (http://kevin.org/frc/camera).

-Kevin

Eric,1099
17-01-2007, 19:58
Thanks for the update it will defenetly help with the camera =)

SL8
08-03-2008, 16:18
The code wont compile in MPlab, it says that it can't locate stdio.h?

Chath Maral
10-01-2009, 14:06
Will this code work for the 2008-2009 competition?:confused: