View Single Post
  #1   Spotlight this post!  
Unread 07-02-2008, 00:12
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
"Manual" Autonomous?

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 default forward until any other command or 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?

A copy of our code is attached.
Thanks for the help! Team 2348!
Attached Files
File Type: txt manual_autonomous.txt (1.5 KB, 54 views)
__________________
I have nothing important to say here, thus I've wasted a few seconds of your life. Isn't that depressing?