Quote:
|
Originally Posted by KenWittlief
what do you mean about merging the tracker code into your user code?
in the default SW main.c calls the auton subroutine, and the code stays in that subroutine until auton mode ends - so maybe you unwittingly put your auton (tracker) code in a different place? that could be why its not running at all.
They tell us not to edit main.c, but it really helps if you study it, make a flowchart of it, and understand how it works and when it calls the different subroutines.
|
I am having problems merging the navigate code by kevin and the code from innovation first. I moved the the navigate.h and .c tracker.h and .c and reciever.h and .c and in user rutines fast I initialized them. also i copied the interupt handler low from the navigate to the end of the code that was already there. I also added Navigate(); where it says insert code here.
I read somewhere that i need to remove a line from the navigate code so that it will not wait for a push of a button. Could someone tell me what line needs to be removed, i know where it is but i really dont know what all has to be removed from it.
Thanks
