|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
xbox controller
The xbox controller only substitutes one joystick right? so how could we possiblly program the thumbsticks to act as the motions of our sepeate motors on a y axis?
|
|
#2
|
||||
|
||||
|
Re: xbox controller
The OI can handle up to four axes and four buttons per port. You can configure the Chicklet so that the right thumbstick registers as the wheel and aux axes... the Chicklet manual explains how.
|
|
#3
|
|||
|
|||
|
Re: xbox controller
I assume you mean that you want one of the thumbsticks to control each side of your robot.
Short version, the USB Dongle must be set to Mode 1 and have the xbox controller plugged in. The code will look similar to: Code:
pwm1 = p1_x; //Right Side pwm2 = p1_y; //Left Side Take a look at the user guide for the USB Dongle here Page 5 should show you what the code will reference. Look at XBOX/XBOX 360 Mode 1. Or if you need to still use the x axis on the controllers look at Mode 2. I hope this helps. Last edited by Andrew Schreiber : 06-02-2008 at 14:11. |
|
#4
|
||||
|
||||
|
Re: xbox controller
Thank you that certainly makes sense, we still have problems with our robot reading the analogs, so we switched in the joysticks and they didn't work either. hahah funn =] im sure we'll figure out the problem soon.
|
|
#5
|
||||
|
||||
|
Re: xbox controller
I love you guys xbox controller awesome.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| xbox controller | borabora | Technical Discussion | 8 | 06-02-2008 21:52 |
| Xbox Controller? | ScottieDo555 | Technical Discussion | 24 | 29-01-2008 16:24 |
| xbox 360 controller installation | kuelin | Technical Discussion | 17 | 07-01-2008 19:43 |
| Regular Xbox Controller...HELP! | lostandconfused | Control System | 1 | 13-02-2007 14:29 |
| chicklet USB/xbox 360 controller | spsteam1512 | Control System | 1 | 10-01-2007 23:14 |