|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Solution
You can't test your controls during autonomous control, because they default to 0/127. Instead you must test any autonomous selection switch in your non-autonomous code and then save this value in a "dummy variable" for the autonomous period.
ie.... if automode =0 if switch = 0 dummyvar = 0 else dummyvar = 1 if automode = 1 if dummyvar = 0 'Box mode if dummyvar = 1 'Ramp Mode Something like this should solve the problem Last edited by K. Skontrianos : 07-03-2003 at 23:11. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programming Autonomous mode | Jared Stofflett | Programming | 3 | 11-11-2003 09:32 |
| Autonomous mode | AntmanIV | General Forum | 1 | 17-02-2003 13:30 |
| autonomous mode timer | Don | Programming | 6 | 09-02-2003 22:16 |
| autonomous mode | Stephanie | Programming | 2 | 25-01-2003 19:57 |
| autonomous mode? | bigwalt | Technical Discussion | 1 | 21-01-2003 01:14 |