Go to Post This just goes to prove there was life before FIRST (but it wasn't as much fun!) - Ken Loyd [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 16-01-2012, 09:54
Murphys_Outlaws Murphys_Outlaws is offline
Registered User
FRC #0677
 
Join Date: Jan 2012
Location: Columbus, OH
Posts: 3
Murphys_Outlaws is an unknown quantity at this point
Exclamation 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!
Reply With Quote
  #2   Spotlight this post!  
Unread 16-01-2012, 11:43
tilky's Avatar
tilky tilky is offline
Registered User
AKA: Ryan Thielke
FRC #3137
Team Role: Programmer
 
Join Date: Nov 2011
Rookie Year: 2011
Location: Connetquot
Posts: 188
tilky is an unknown quantity at this point
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)
Reply With Quote
  #3   Spotlight this post!  
Unread 16-01-2012, 11:59
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,081
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
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.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

Reply With Quote
  #4   Spotlight this post!  
Unread 16-01-2012, 13:56
Doc543's Avatar
Doc543 Doc543 is offline
Electrical, Pneumatics, Driver
AKA: Eric
FRC #1891 (BullBots)
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2009
Location: Meridian Idaho
Posts: 63
Doc543 is an unknown quantity at this point
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
__________________

"Its just a prototype."
2011 Chairman's Award Utah Regional
2010 Gracious Perfectionism Utah Regional
2009 Gracious Perfectionism Portland Regional
Reply With Quote
  #5   Spotlight this post!  
Unread 16-01-2012, 14:09
pudgeball pudgeball is offline
Registered User
AKA: Nick McGuire
FRC #2386 (BCHS Trojan Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Ontario
Posts: 13
pudgeball is an unknown quantity at this point
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
Reply With Quote
  #6   Spotlight this post!  
Unread 16-01-2012, 14:49
Murphys_Outlaws Murphys_Outlaws is offline
Registered User
FRC #0677
 
Join Date: Jan 2012
Location: Columbus, OH
Posts: 3
Murphys_Outlaws is an unknown quantity at this point
Re: Connecting xBox 360 Controller to the Robot

Thanks, that seems to work.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 20:48.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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