|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Autonomous and joystick problems
I have no programing experience and my team wants two things from me one is to desensitize the joysticks, and the other is to have the robot drive straight forward during auto mode. I know there are threads on both of these, but I don't know where to put the snippets into the code, and how to create a new hex file to download into the RC. So if anyone could tell me the exact code I need to do these things and where to put it along with getting the whole deal into the RC that would be great.
|
|
#2
|
||||
|
||||
|
Re: Autonomous and joystick problems
As for exact code... for the autonomous driving forward, you first need a timer, exact code not in my mind at the moment, and the rest is easy.
if(timer_overflowed* == 1) { pwm01** = ###*** timer_overflowed == 0 } |
|
#3
|
|||||
|
|||||
|
Re: Autonomous and joystick problems
Look for the Programming Quick Start white paper by Mark McLeod. It was written for people in exactly your situation.
|
|
#4
|
|||||
|
|||||
|
Re: Autonomous and joystick problems
Or Chuck Bolin's autonomous programming guide. It describes exactly how to make your robot drive forward and such.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Autonomous weirdness in user_routines_fast.c | Roland | Programming | 6 | 30-03-2004 11:36 |
| Joystick Problems | anupalsingh | Programming | 0 | 23-02-2004 17:50 |
| Autonomous to Manual control? | Lint_Ninja | Programming | 5 | 16-02-2004 21:48 |
| Programming Autonomous mode | Jared Stofflett | Programming | 3 | 11-11-2003 09:32 |
| autonomous sensor programming ? | Laura_d | Programming | 1 | 10-02-2003 17:46 |