Problems and questions about programming

Hey,

First i cant get the new compiler to install on XP and if you cant tell im a newbie to programming so if i can get a step by step and if i have to remove anything and add sumthing let me know.

Where can i find the code to the camera sensor so i can practice and tinker with it…

thanks

-Hedgehogger

Here is a great guide to getting your compiler up and running. It’s a few megabytes so give it time to load if you have a slow connection.

I myself have only started tinkering with the camera code and controlling motors with it and whatnot. I’m pretty sure most of what you’ll be using for the camera is in user_routines.c. From what I have found most of the stuff that communicates the camera with the rest of your robot is in here. Look for lines like this: “#if _USE_CMU_CAMERA” in the code to find sections relating to the camera.

Also, be sure to download this guide. It has code explanation, a getting started guide, the GUI for calibrating the camera, and the 71-page user guide.

Hey again

um… did they give us a new default code this year and if so where is it at???
thanks
-chris

http://www.ifirobotics.com/rc.shtml down at the bottom. :slight_smile:

(Direct download: http://www.ifirobotics.com/docs/frc-code-1-12-2005v2.4.zip)

The code is located at: http://www.ifirobotics.com/rc.shtml#Programming

Make sure you have downloaded the new master code (also located there) and installed the new C compiler and MPLAB development environment. MPLAB can be found at: http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en019469&part=SW007002 and the compiler has a link on the FIRST website.

This has also been discussed here: http://www.chiefdelphi.com/forums/showthread.php?t=32842 see that thread for more information.