|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#7
|
|||||
|
|||||
|
Re: Autonomous Switching
What we've been doing is putting a potentiometer on the Operator Interface, marking positions on it... and using it for autonomous selection. Even though your robot is disabled at the beginning of a match, it still reads what value the potentiometer is sending. This allows for unlimited autonomous modes.
The code is just saying that if the value is 0-50, then do one autonomous, and if it is between 50-100 do another, etc. or whatever values you want based on how many auto modes you have. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Switching Channels | Fred Agnir | Control System | 5 | 20-01-2006 20:54 |
| Question about switching autonomous modes | DemonYawgmoth | Programming | 2 | 23-03-2005 17:02 |
| switching joysticks | ten3brousone | Control System | 1 | 06-03-2005 20:51 |
| switching joysticks | ten3brousone | Electrical | 1 | 06-03-2005 20:51 |
| Switching allys? | archiver | 1999 | 1 | 23-06-2002 22:34 |