|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||||
|
|||||
|
Autonomous code tutorial
Sorry about the lateness of this, I just haven't had time to sit down and write this up. But I figure some teams still might be able to use it. At http://www.combbat.com/programming/autonomous.shtml I have the tutorial. I came up with this code and then I saw in the white pages that some other people had a pretty similar idea for it too, so I wrote this up to help explain to rookie teams. Also, if any teams need help with their coding at the UCF Regionals or Nationals just come on by Team 21's pit and ask for me (Mike) and I'll come on over and help out. Good luck to everyone! If you need any help with your code you can also e-mail me at miketwalker@cfl.rr.com and I'll try to see what I can do to help out. Can't wait to see what you guys do on the field! Good luck programmers.
|
|
#2
|
||||||
|
||||||
|
There is one big problem with your code.
Code:
if counter = 50 ... You should be using >= In my assembly class, we had a problem similar to this, except my professor rigged it so that if you just used = it was going to fail almost every time (to make it easier to find out). Since then, that's been one thing that I've always been careful about. |
|
#3
|
|||||
|
|||||
|
Thanks for that, I'll fix that now. That might explain why every now and then we have that glitch. Thanks.
|
![]() |
| 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 From Experience | EbonySeraphim | Programming | 7 | 14-03-2003 21:56 |
| 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 |