|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Auton Mode simple question
All right, from what I understand before the match the inputs will be this:
comp_mode = 1 auton_mode = 0 then when autonomous mode is engaged it will change to: comp_mode = 0 auton_mode = 1 and after the match is over it will be: comp_mode = 1 auton_mode = 0 So if I put code in my robot like this: autonloop: if (comp_mode = 0 AND auton_mode = 1) then 'whatever you want it to do during autonmode goto autonloop: endif then you shouldn't have to worry about timing assuming that you can take your ques off of the comp and auton variable changes. Would this work? |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| autonomous mode problem on field | Chris_C | Programming | 17 | 26-03-2003 19:11 |
| auton mode running motors incorrectly | BK36 | Programming | 2 | 12-03-2003 02:43 |
| Can't figure out auton mode | TangoBravo1318 | Programming | 1 | 20-02-2003 10:06 |
| Canvas in Delphi - Simple question | archiver | 2000 | 1 | 24-06-2002 00:30 |
| simple engineering question | Ben Mitchell | Technical Discussion | 2 | 07-11-2001 07:50 |