View Single Post
  #3   Spotlight this post!  
Unread 24-06-2002, 00:42
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
code changed this year

Posted by Joe Ross at 2/12/2001 4:06 AM EST


Engineer on team #330, Beach Bot, from Hope Chapel Academy and NASA/JPL , J&F Machine, and Raytheon.


In Reply to: Re: Initial Power Spike
Posted by Joe Ross on 2/11/2001 11:36 PM EST:



: We wrote a few lines of code that checked for several of the values coming in being 0. If they are zero then we initialize everything to neutral.

I just checked the code and we are doing something different this year. We are automatically skipping the first packet, not worrying about whether it contains bad data.

We are using a byte in the scratchpad ram to let us keep track of whether it is the first packet. We check that byte and if it is zero, then we set it to a 1, set both wheels output to neutral (not sure if that is necessary) and goto the beginning of the loop (before the serin command) otherwise we continue with the main program.



__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.