Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   CODE FUSION! (http://www.chiefdelphi.com/forums/showthread.php?t=42845)

magical hands 28-01-2006 13:27

CODE FUSION!
 
I want to fuse 2005 accelerometer code, 2006 gyro code, 2006 camera code and 2006 default code into one Code! How can i do that?
I tried adding accelerometer.c, accelerometer.h, gyro.c, gyro.h into 2006 camera code and it compiled the code and i was happy that it worked but when i downloaded that code into the robot! Neither Gyro worked, Nor accelerometer. Can someone tell me the proper way to fuse the codes together! :) Please and Thank You

E-mail: jigarjuhi@yahoo.ca

chris31 28-01-2006 18:19

Re: CODE FUSION!
 
Not only do you have to have the .c and .h files as part of your project you need to have the methods called. Just including the methods will not have them do anything.

magical hands 28-01-2006 19:32

Re: CODE FUSION!
 
Quote:

Originally Posted by chris31
Not only do you have to have the .c and .h files as part of your project you need to have the methods called. Just including the methods will not have them do anything.

So wut should i include? and how do i do it? Can you please provide step by step instructions because many teams will come across this problem later on! Thank You

Alan Anderson 28-01-2006 19:56

Re: CODE FUSION!
 
The step by step instructions you need are in the code you downloaded. Look for files named gyro_readme.txt and the like.

magical hands 28-01-2006 20:13

Re: CODE FUSION!
 
Quote:

Originally Posted by Alan Anderson
The step by step instructions you need are in the code you downloaded. Look for files named gyro_readme.txt and the like.

I understand what you are saying but I did everything as it stated in readme.txt but it doesn't work out. So I have no idea what to do now cuz all my hard work goes down the drain if i am not able to successfuly fuse the codes

Alan Anderson 28-01-2006 20:34

Re: CODE FUSION!
 
Without more information about what you're expecting to happen and what it's doing instead, I only have one suggestion. Look to make sure your Default_Routine() isn't still commented out.

magical hands 29-01-2006 14:06

Re: CODE FUSION!
 
The default routine is fine, i checked its not commented out. I anyone has 5 minutes and if they want to do something. I think they should try fusing the code themselves because using MPLAB i wasn't able to do it. :ahh:

Cuog 29-01-2006 15:57

Re: CODE FUSION!
 
if u email me with your codes in a .zip file i can fuse them together for u(possibly there may be issues with the code itself causeing the problems and things like that i will leave to you to try and fix but i will still help you as much as possible): fst79ta AT gmail DOT com


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

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