Go to Post So why are we trying to go to Mars? It's because it's bigger, better, and bolder. Doing what nearly no other team can do, and defying all those who say it can't be done. That reward is a lot more than 9 points. - Mike [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 18-02-2014, 19:33
raptaconehs raptaconehs is offline
Registered User
FRC #3200
 
Join Date: Dec 2013
Location: Colorado
Posts: 54
raptaconehs will become famous soon enoughraptaconehs will become famous soon enough
Locking Controller in Driver Station

Currently our team uses one Xbox 360 controller and one 3-axis joystick. The Xbox controller is supposed to be recognized as the primary controller. When we were at scrimmage the driver station recognized the 3-axis controller as controller number 1 on the driver station which caused malfunctioning of the robot. Is there any way to lock the Xbox 360 controller as the number 1 controller on the driver station?
  #2   Spotlight this post!  
Unread 18-02-2014, 19:36
jvriezen jvriezen is offline
Registered User
FRC #3184 (Burnsville Blaze)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Burnsville, MN
Posts: 636
jvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond reputejvriezen has a reputation beyond repute
Re: Locking Controller in Driver Station

Quote:
Originally Posted by raptaconehs View Post
Currently our team uses one Xbox 360 controller and one 3-axis joystick. The Xbox controller is supposed to be recognized as the primary controller. When we were at scrimmage the driver station recognized the 3-axis controller as controller number 1 on the driver station which caused malfunctioning of the robot. Is there any way to lock the Xbox 360 controller as the number 1 controller on the driver station?
I don't know if there is or not, but regardless, you can have a driver pre-match checklist that is taped to the laptop or driver station that includes checking that this is correct before every match. Might be a few other pre-match checklist items that you might want to add also... like say, pre-loading a ball. We forgot to do that in 2012 on our first match.
__________________
John Vriezen
FRC, Mentor, Inspector #3184 2016- #4859 2015, #2530 2010-2014 FTC Mentor, Inspector #7152 2013-14
  #3   Spotlight this post!  
Unread 18-02-2014, 19:45
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Locking Controller in Driver Station

We originally tried to use a USB hub and make the order match the hub ports. But USB has its own idea of how things get enumerated, and it rarely matches the ink on the case.

The typical joystick also doesn't have a serial number, so there is no way to identify a joystick uniquely and follow it from port to port. All we have is VID and PID -- vendor and product IDs. Many teams with multiple joysticks use the same model.

So in the end, we rely on the enumerate order of what is plugged in and we consistently index it. It is certainly a good idea to verify the joysticks are as expected. It should be pretty predictable, but if you randomly plug stuff in, it won't be, and the setup page is how you adjust it.

Greg McKaskle
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


All times are GMT -5. The time now is 02:34.

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