View Single Post
  #11   Spotlight this post!  
Unread 31-01-2008, 22:46
darkdwarven's Avatar
darkdwarven darkdwarven is offline
Registered User
AKA: Phantom
FRC #2348
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2005
Location: Hawaii
Posts: 8
darkdwarven is an unknown quantity at this point
Re: ir sensor Board ??????????????????????

We were trying to find a way to program the Robot Cotroller so that when any of 2 inputs receive a signal, it will leave the autonomous code and enter a 'maual' autonomous code. The manual autonomous code would work based on 2 if statements that loop back to the other. The if statements would either say left or right and cotinue until our timer value ran out. Our code in the attached file, only makes the motors pulse for some other direction or go to one and continue straight without any further response. Any problems with our coding? Also does anyone know an easier way of accomplishing the same tasks?


Thanks always for the help,
Team 2348
Attached Files
File Type: txt manual_autonomous.txt (1.2 KB, 61 views)
__________________
I have nothing important to say here, thus I've wasted a few seconds of your life. Isn't that depressing?