View Single Post
  #6   Spotlight this post!  
Unread 15-03-2004, 11:56
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: SW bug has ME stumped!!!

Quote:
Originally Posted by KenWittlief
teleDirection is initialzed to 0 = down...
I'd have to see the code that does the initialization -- in context -- to make an informed suggestion about what might be going on.

You might try getting a little fancier. Use +1 as an indication you were going up, and -1 as an indication you were going down. Then you can initialize to zero, and your operator should have complete authority to move the chain either direction once until the mark is seen.