|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
I would just like to inquire as to how autonomous mode is started in competition, and how it is timed. It is my understanding that the signal received through the competition port enables, and disables, the autonomous mode period within the alloted 15 seconds; Therefore you do not need an autonomous code timer built into your code. Is this correct? Thank you
Team 870 |
|
#2
|
||||
|
||||
|
This is true. The autonomous mode status is controlled through the competition port.
In your program, there is a way to tell when autonomous mode is on. There's a variable called "auton_mode". It will be 1 when your robot is running in autonomous mode. Just do a simple "IF" statement that checks if this variable is "1". If it is, run the autonomous code, otherwise, run the regular code. |
![]() |
| 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 |
| Autonomous code tutorial | miketwalker | Programming | 2 | 23-02-2003 12:28 |
| Overcomplicated Autonomous Code | EbonySeraphim | Programming | 33 | 20-02-2003 21:53 |
| Autonomous code | PBoss | Programming | 7 | 14-01-2003 15:29 |
| Autonomous Code | Adrian Wong | Robotics Education and Curriculum | 1 | 18-11-2002 22:34 |