|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Autonomous code
Hi,
I was just trying to make my robot controller run forward for some time, and then backward. I have tried so hard but the thing acts so wierd. I started with the following code, before the serout statement: count VAR byte FOR count=1 TO 100 p1_y=150 debug ? count NEXT I can see the counter going from 1 to 100 and repeating infinitely in the debug screen, but the p1_y doesn't go to 150, and the operator interface says BASIC ERROR I'm a newbie, so please tell me what is wrong with this code, and help me write code for making the robot just move forward for some time, and then backwards for some time 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 |
| Autonomous code tutorial | miketwalker | Programming | 2 | 23-02-2003 12:28 |
| Overcomplicated Autonomous Code | EbonySeraphim | Programming | 33 | 20-02-2003 21:53 |
| Autonomous Code | Adrian Wong | Robotics Education and Curriculum | 1 | 18-11-2002 22:34 |