|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
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 YouE-mail: jigarjuhi@yahoo.ca |
|
#2
|
|||
|
|||
|
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.
|
|
#3
|
|||
|
|||
|
Re: CODE FUSION!
Quote:
|
|
#4
|
|||||
|
|||||
|
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.
|
|
#5
|
|||
|
|||
|
Re: CODE FUSION!
Quote:
|
|
#6
|
|||||
|
|||||
|
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.
|
|
#7
|
|||
|
|||
|
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.
![]() |
|
#8
|
|||||
|
|||||
|
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
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Out of the Box Camera Code | russell | Programming | 9 | 21-10-2009 05:28 |
| Code suddenly fails to initialize | miketwalker | Programming | 11 | 19-02-2005 15:23 |
| Team THRUST - Kevin's Code and Camera Code Combine | Chris_Elston | Programming | 3 | 31-01-2005 22:28 |
| Sourceforge for Code Repository and other stuff | SilverStar | Programming | 9 | 15-01-2005 21:16 |
| heres the code. y this not working | omega | Programming | 16 | 31-03-2004 15:18 |