![]() |
Re: What is wrong with this code???? It won't Compile and I don't know why? Please He
indent...indent...indent
|
Re: What is wrong with this code???? It won't Compile and I don't know why? Please He
Quote:
If the trouble is with an unprintable character in the source code, the problem character probably wouldn't have survived being pasted here. But I believe that the definition of LOST_TARGET_TIMEOUT in navigate.h is a likely culprit and should be investigated. |
Re: What is wrong with this code???? It won't Compile and I don't know why? Please He
Quote:
|
Re: What is wrong with this code???? It won't Compile and I don't know why? Please He
Quote:
|
Re: What is wrong with this code???? It won't Compile and I don't know why? Please Help
well here is the navigate.h file:
Code:
/******************************************************************************* |
Re: What is wrong with this code???? It won't Compile and I don't know why? Please Help
There's your problem: "#define LOST_TARGET_TIMEOUT 100" is commented out.
|
Re: What is wrong with this code???? It won't Compile and I don't know why? Please Help
THANK YOU GREATLY!!!
One more thing well my code is posted, In user_routines_fast.c I have the following code for auto mode: Code:
void User_Autonomous_Code(void) |
Re: What is wrong with this code???? It won't Compile and I don't know why? Please Help
Probable the simplest would be something like this:
Code:
if ((Tracker_Data[left].Status == NONE_IN_VIEW) &&*Potential problems: The Tracker code probably STARTS out in NONE_IN_VIEW state, so the Navigate code will never get a chance to get a fix on the beacons. And I'm sure there are others, but I'm rushing right now, and can't think of them. |
Re: What is wrong with this code???? It won't Compile and I don't know why? Please Help
I can not figure out how to fix up that code and make it work; becuase as you said it starts out at NONE_IN_VIEW and would never get a chance to fix on the beacons; Any help that anyone could offer would be very much appriceated! :ahh: Only less then a week left and it still doesn't work! :ahh:
|
| All times are GMT -5. The time now is 08:00. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi