|
Re: heres the code. y this not working
Quote:
|
Originally Posted by CrashZero
the only real change that was made was for it to follow a line and that was made in the user rutines fast.c file. we did not really change anything else. But the entire code is posted above (i can't for the life of me figure out y omega posted everything and didn't zip it but anyway) I hope someone can help us cuz the compition starts tommorow. 
|
If you've settled on line following comment out the call to navigate() and take a look at the code another team posted on this thread:
http://www.chiefdelphi.com/forums/showthread.php?t=27353
Your code effectively ignores your line sensor on rc_dig_in01 and only attempts to drive using the sensor on rc_dig_in02. It doesn't tell you the correct direction to turn to reacquire the line.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Last edited by Mark McLeod : 31-03-2004 at 10:19.
|