Go to Post This is where a tenacious NEM comes in very handy. - Mark McLeod [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-03-2010, 08:34
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Using x-box 360 controller

Quote:
Originally Posted by sparks-1784 View Post
Quote - "No, you can't use the wireless on it. If you plan on using it in your driver station, it all has to be wired."

That is not what I meant. I am not a 'gamer' so I don't know what functionality this x-box controller has besides the obvious wire coming out of it. If the x-box 360 controller has wireless capability (functionality that is not employed for robotic operation) in addition to the serial hardwired interface it has, can it still be used?
The answer is still no. During an FRC event, you may not use wireless communication other than the specified DS-to-robot link.

Quote:
As it is right now, it is only used with the wired interface - if it has wireless capability, I am unaware of that nor would I know how to use the wireless capability.
You're not going to get a lot of help here, because you are not permitted to use wireless controllers. Is that clear enough?

(When you're not at a competition, the restrictions do not apply. Use whatever controller you want to.)
  #2   Spotlight this post!  
Unread 23-03-2010, 08:42
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Re: Using x-box 360 controller

There are 2 kinds of XBox 360 Controllers, one with a USB cable attached directly, and one that has a USB cable that can be removed to give it wireless capability (the cable allows the battery to be recharged and to give wired capability). The one that is wired and not capable of being unplugged has no wireless functionality at all and is perfectly legal. The other kind is not.
__________________
  #3   Spotlight this post!  
Unread 23-03-2010, 09:58
sparks-1784 sparks-1784 is offline
Lance Stronk
FRC #1784 (Litchbots)
Team Role: Engineer
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Litchfield, CT
Posts: 46
sparks-1784 is on a distinguished road
Re: Using x-box 360 controller

Quote:
Originally Posted by Alan Anderson View Post
The answer is still no. During an FRC event, you may not use wireless communication other than the specified DS-to-robot link.



You're not going to get a lot of help here, because you are not permitted to use wireless controllers. Is that clear enough?

(When you're not at a competition, the restrictions do not apply. Use whatever controller you want to.)
Yes - thanks.
The question was never, "can I use a wireless xbox 360 controller?". The question was whether or not the controller we have has wireless capability because one post implied that all xbox 360 controllers are wireless - which is not true. I wanted to clarify that point (as another poster subsequently stated).
  #4   Spotlight this post!  
Unread 23-03-2010, 10:02
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Using x-box 360 controller

Back to the original question of the thread, the XY of joystick 2 is 3 and 4.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
  #5   Spotlight this post!  
Unread 23-03-2010, 10:16
Zme Zme is offline
Registered User
FRC #2619
 
Join Date: Jan 2009
Location: Michigan
Posts: 83
Zme is on a distinguished road
Re: Using x-box 360 controller

just for reference for everyone else, here is a button/axis mapping for most of the xbox 360 controller, its missing the D-Pad. Please note that this is only what we came up for one so someone else confirming it would be nice.

button numbers
ButtonA = 1;
ButtonB = 2;
ButtonX = 3;
ButtonY = 4;
LeftBumper = 5;
RightBumper = 6;
Select = 7;
Start = 8;
LeftClick = 9;
RightClick = 10;

joystick axises
LeftXAxis = 1;
LeftYAxis = 2;
TriggerAxis = 3;
/* Both triggers are in this.
* Right Trigger is [-1,0]
* Left Trigger is [0,1]
* Return value = Right Trigger + Left Trigger */
RightXAxis = 4;
RightYAxis = 5;

please excuse the semicolons
as for the trigger mapping, it might be inversed of that, not sure been a while since we made this

Last edited by Zme : 23-03-2010 at 10:20. Reason: revised wording
  #6   Spotlight this post!  
Unread 23-03-2010, 12:41
sparks-1784 sparks-1784 is offline
Lance Stronk
FRC #1784 (Litchbots)
Team Role: Engineer
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Litchfield, CT
Posts: 46
sparks-1784 is on a distinguished road
Re: Using x-box 360 controller

thank you for the info. Didn't realize that the 'unbundle' was that easy.
  #7   Spotlight this post!  
Unread 23-03-2010, 20:17
Stealth Stealth is offline
Registered User
FRC #2073
Team Role: Programmer
 
Join Date: Nov 2007
Rookie Year: 2008
Location: Elk Grove
Posts: 17
Stealth is an unknown quantity at this point
Re: Using x-box 360 controller

Thanks for the values Zme, they worked flawlessly. You saved us some time with that.
Closed Thread


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Xbox 360 controller viper110110 Programming 7 18-02-2010 19:58
Xbox 360 Controller Rumble bubushkinator C/C++ 5 09-02-2010 15:05
Xbox 360 controller LabView CJBrick General Forum 12 17-12-2008 13:58
xbox 360 controller installation kuelin Technical Discussion 17 07-01-2008 19:43
if we are using an xbox 360 controller, how much can we...... waialua359 Control System 1 24-02-2007 02:43


All times are GMT -5. The time now is 22:33.

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