|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#2
|
|||
|
|||
|
Re: Turning the Robot
You have to mix the values in the code. In the default code, pins 13-16 have a mixed signal for one joystick drive.
Look for the one joystick drive section in user_routines.c You'll see something like pwm13 = pwm14 = LimitMix (2000 + p1_y - p1_x + 127); that may not be exactly it, but it will be similar. I have heard that if you use a lot of interrupts in the code, pwms 13-16 get twitchy, so you may want to change them in the code to another pwm channel. We are keeping it simple on ours, 01 for right, 02 for left, 03 for the arm motor. Good luck |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is allowing a practice robot good for FIRST? | Matt Adams | General Forum | 38 | 19-01-2005 11:35 |
| [moderated] You write <G34> and <G35> | Aidan F. Browne | General Forum | 109 | 21-04-2004 17:00 |
| Robot Collaboration | Karthik | General Forum | 153 | 18-02-2004 03:40 |
| Kamikaze Robot Strategy... | Joe Johnson | Rules/Strategy | 30 | 07-04-2002 21:42 |
| Calling all Lawyers... ...Define "all parts" | Joe Johnson | General Forum | 10 | 13-03-2002 15:12 |