|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
One Joystick Control
How might I map all controls for all four of my motors to one joystick control? Can someone help? I think I know how, by changing all instances of p2_y, p3_y, and p4_y to p1_y, but im not sure, can someone help ASAP!? Needs shipped in two days....
|
|
#2
|
|||
|
|||
|
Re: One Joystick Control
it is in the default code. just comment out the part above it that states te 2 joystick drive mappings. i think you do that at least.
|
|
#3
|
|||||
|
|||||
|
Re: One Joystick Control
Quote:
Code:
pwm13 = pwm14 = Limit_Mix(2000 + p1_y + p1_x - 127); pwm15 = pwm16 = Limit_Mix(2000 + p1_y - p1_x + 127); Last edited by Mark McLeod : 24-02-2004 at 16:10. |
|
#4
|
|||
|
|||
|
Re: One Joystick Control
I actually just saw that too, thanks anyway guys, Im an idiot, thats why ill be a computer network specialist and not a programmer!
|
|
#5
|
|||||
|
|||||
|
Re: One Joystick Control
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Changing 1 joystick code to 2 (rookie team) | Brawler006 | Programming | 5 | 20-02-2004 17:00 |
| how do i control a piston with a joystick | Ryan Foley | Programming | 2 | 27-05-2003 17:13 |
| robot goes haywire with the one joystick default code | Miles | Programming | 7 | 24-01-2003 14:58 |
| joystick problem | archiver | 2000 | 12 | 23-06-2002 23:08 |
| switching joystick axis????? | team222badbrad | Technical Discussion | 9 | 16-01-2002 23:07 |