Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Connecting xBox 360 Controller to the Robot (http://www.chiefdelphi.com/forums/showthread.php?t=100355)

Murphys_Outlaws 16-01-2012 09:54

Connecting xBox 360 Controller to the Robot
 
Our team is having trouble with the xBox controller for the robot. We can interface the controller with the computer, but it is not compatible with the cRIO. How would we go about making the controller compatible with the cRIO?
Thanks!

tilky 16-01-2012 11:43

Re: Connecting xBox 360 Controller to the Robot
 
it is just a joystick, so you would open it the same way. here are the different axis and buttons for this:
1: A
2: B
3: X
4: Y
5: Left Bumper
6: Right Bumper
7: Back
8: Start
9: Left Joystick
10: Right Joystick

The axis on the controller follow this mapping
(all output is between -1 and 1)•1: Left Stick X Axis
-Left:Negative ; Right: Positive
•2: Left Stick Y Axis
-Up: Negative ; Down: Positive
•3: Triggers
-Left: Positive ; Right: Negative
•4: Right Stick X Axis
-Left: Negative ; Right: Positive
•5: Right Stick Y Axis
-Up: Negative ; Down: Positive
•6: Directional Pad (Not recommended, buggy)

cgmv123 16-01-2012 11:59

Re: Connecting xBox 360 Controller to the Robot
 
We made our own XBox controller class last year to make things a bit easier. I would upload it, but it's not mine to upload.

Doc543 16-01-2012 13:56

Re: Connecting xBox 360 Controller to the Robot
 
there should be installer for the XBox 360 controlers for WinXP, we had to do that 2010

pudgeball 16-01-2012 14:09

Re: Connecting xBox 360 Controller to the Robot
 
I bought an Onza TE for our team this year, and I wrote a custom class to deal with it's differences. It'll be up on my github before the week is over. It should work with any Xbox controller, but I mean technically it is specified designed for the Onza TE.

Github: http://www.github.com/pudgeball

Murphys_Outlaws 16-01-2012 14:49

Re: Connecting xBox 360 Controller to the Robot
 
Thanks, that seems to work.


All times are GMT -5. The time now is 09:36.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi