|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#4
|
|||||
|
|||||
|
Re: OI Input Autonomous
Put that snippet of code in user_routines.c and call it from the same place you're reading the joysticks for other purposes. Default_Routine(), perhaps.
Your compiler errors are probably because you didn't get the hint to replace AUTON_UP and AUTON_DN with the actual OI controls you will be using to step the number up and down. p1_sw_trig and p1_sw_top, for example. You will also have to declare auton_select as a global variable so you can use it in your actual autonomous routine. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| User Input | railerobotics | Programming | 4 | 29-08-2006 00:54 |
| Powered OI input | EricS-Team180 | Programming | 7 | 28-09-2003 21:23 |
| Graphic Input | Raven_Writer | Computer Graphics | 7 | 08-08-2003 15:43 |
| Autonomous user-input loophole? | Jeff McCune | Programming | 20 | 14-02-2003 22:44 |
| 2.5 is alive !!!! (input ! .. more input ! ) | Lloyd Burns | Programming | 2 | 14-01-2003 19:15 |