View Single Post
  #5   Spotlight this post!  
Unread 04-03-2004, 23:10
bhawkins bhawkins is offline
Registered User
#1444 (Lightning Lancers)
Team Role: Webmaster
 
Join Date: Mar 2004
Location: St. Louis
Posts: 3
bhawkins is an unknown quantity at this point
Re: IR Navigate in Autonomous Mode

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