|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
"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! |
|
#2
|
|||||
|
|||||
|
Re: "Manual" Autonomous?
Code:
if (ButtonPressed = TRUE) got to love the equal and semicolons |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A statistical analysis of the "autonomous advantadge" | Greg Marra | General Forum | 51 | 25-03-2006 21:09 |
| 2006 "Aim High" Manual Translated | tribotec_ca88 | Rules/Strategy | 1 | 10-01-2006 12:02 |
| 2006 game poll #4 (type of "sensing" in autonomous mode) | dhitchco | Rumor Mill | 1 | 18-11-2005 12:27 |
| New NEMO White Papers! "Creating a Killer Packet" and "25 Ways to Sponsor" | Jessica Boucher | Team Organization | 0 | 10-08-2005 10:55 |
| "Thunderbirds" Vs. "Team America" Which one will rule the box office? | Elgin Clock | Chit-Chat | 3 | 07-09-2004 19:53 |