Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Problems integrating CMUCAM code and IFI Default Code (http://www.chiefdelphi.com/forums/showthread.php?t=53522)

Windward 05-02-2007 18:43

Problems integrating CMUCAM code and IFI Default Code
 
We've had problems with integrating Kevin's streamlined v2.1 camera code into the IFI default code for 2007. I followed the instructions in the readme(s) from the camera code, and when I had finished, there were no code errors. When I finally downloaded the .hex file to our robot, which was working fine before, I got a code error and nothing would respond. Is it possible for the IFI 2007 code to even be integrated with Kevin's camera code, and, if so, is there any way to figure out what I did wrong in combining the two. The camera.c and camera.h files are both in the project. Also, when I first built it, I had 2 errors, but when I took them out, it compiled fine. Any help would be nice.

P.S. We tried using Kevin's default code instead of the IFI code and we couldn't get it to run.

kitscuzz 05-02-2007 23:57

Re: Problems integrating CMUCAM code and IFI Default Code
 
Are you putting this onto the 2007 Robot controller? The code for 2006-2007 won't work on boards from before 2006

If you are using the current board, try just compiling the default streamlined code with none of your own and see if it compiles and uploads and runs without error. If it doesn't run (as you've indicated) give some extra information. What exactly goes wrong? Does the red light that indicates a code error light up?

If you can't get Kevin's code to run on its own, then you won't be able to run it integrated either.

Windward 06-02-2007 16:48

Re: Problems integrating CMUCAM code and IFI Default Code
 
Sorry. I forgot to mention it, but we did get the streamlined camera code working before we had finished building the robot. We were using a different circuit, but the same code, O/I, RC, and everything else. It was working perfectly.


All times are GMT -5. The time now is 12:59.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi