Go to Post Secure your battery well, or it will fly like a fish. - Nate Laverdure [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-05-2007, 06:43 PM
Windward's Avatar
Windward Windward is offline
Registered User
FRC #1452
Team Role: Programmer
 
Join Date: Nov 2005
Rookie Year: 2004
Location: So Cal
Posts: 88
Windward is an unknown quantity at this point
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.
__________________
  #2   Spotlight this post!  
Unread 02-05-2007, 11:57 PM
kitscuzz's Avatar
kitscuzz kitscuzz is offline
Not alotta posts
AKA: Kit
FRC #1389 (Worst Case Scenario)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Home
Posts: 47
kitscuzz will become famous soon enough
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.
  #3   Spotlight this post!  
Unread 02-06-2007, 04:48 PM
Windward's Avatar
Windward Windward is offline
Registered User
FRC #1452
Team Role: Programmer
 
Join Date: Nov 2005
Rookie Year: 2004
Location: So Cal
Posts: 88
Windward is an unknown quantity at this point
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.
__________________
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems Combining Camera Code and Driving Code cmurdoch Programming 20 02-10-2007 04:34 PM
2007 IFI default code question Japper Programming 4 01-22-2007 11:23 PM
New IFI Default/User and Master Code Alex698 Programming 6 02-28-2006 11:04 PM
CMUcam default code not responding Kyveck Programming 29 01-26-2006 04:25 PM
problems using gyro/adc code with camera default code tanstaafl Programming 7 01-22-2006 11:09 PM


All times are GMT -5. The time now is 09:58 AM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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