One last question about our code

WE got our code from kevin.org this year. When we run our final copy of the autonomous code the recievers move back and forth on our servos to find the beacons since i do not have the beacons i am not sure if it then switchs back to the navigate part of the program or just stops and says sensor 1 found . The thing that i want to know the most is why doe our sensors move back and forth when we are in normal mode but when we are in autonomous they stop and no other functions seem to happen like our navigate code. Also the default is included in the assembly file but it does not seem to work in our normal mode. Any help will be gladly accepted

You could e-mail or PM Kevin himself and I bet he’d get you a good answer real fast. :slight_smile:

make sure whatevers in process_data_from_local_IO is being called durring autonomous mode

i don’t know how to do that

underneath the “//add autonomus code here”
put
“Process_Data_From_Local_IO();”

then move your tracker code to the process_data_from_local_IO function at the end of the file.
Or you can call the tracker function from where ever it is. Like if the tracker code is named Track_Beacon(void). Then under process_data_from_local_IO put “Track_Beacon();”
that shuold take care of it.
:cool:

Thanx i’ll try that.