|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
We are a rookie team and we have noobies working on the C code.
We see the code for 1 joystick drive i.e. /*---------- 1 Joystick Drive ---------------------------------------------- *-------------------------------------------------------------------------- * This code mixes the Y and X axis on Port 1 to allow one joystick drive. * Joystick forward = Robot forward * Joystick backward = Robot backward * Joystick right = Robot rotates right * Joystick left = Robot rotates left * Connect the right drive motors to PWM13 and/or PWM14 on the RC. * Connect the left drive motors to PWM15 and/or PWM16 on the RC. */ pwm13 = pwm14 = Limit_Mix(2000 + p1_y + p1_x - 127); pwm15 = pwm16 = Limit_Mix(2000 + p1_y - p1_x + 127); etc.... This is a 4 motor robot and we need one joystick to control the left side and a second joystick to control the right side. HELP US PLEASE!!!! WE HAVE NO IDEA WHAT WE ARE DOING!!! Thanks, A Rookie Team |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Am I the only person with this job? | A. Leese | General Forum | 55 | 22-06-2006 20:10 |
| The Death of FIRST | Anton Abaya | General Forum | 23 | 03-05-2006 17:18 |
| A ? about NASA grants | computhief263 | General Forum | 18 | 29-03-2004 13:35 |
| Novi Kickoff Seminar List (Tentative) | Joe Johnson | General Forum | 1 | 05-12-2001 13:47 |