Go to Post FIRST is aimed at those girls on your team. They don't know anything about mechanics, or electricity, or programming, or machining. They have no interest in it, either. They're perfect candidates for FIRST. - Madison [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 03-04-2015, 13:46
Addison4300's Avatar
Addison4300 Addison4300 is offline
FRC is love, FRC is life
AKA: Addison
FRC #4300 (The Lion Kings)
Team Role: Leadership
 
Join Date: Jan 2015
Rookie Year: 2013
Location: McKinney, Texas
Posts: 142
Addison4300 is on a distinguished road
Xbox Controllers

So, at Hub City, our drive team experienced our Xbox controllers disconnecting in the middle of a match causing our robot to uncontrollably continuing the action it was taking at the moment of disconnection. For example, we were driving forward to push a stack onto the scoring platform when the controller disconnected, then the robot continued to move forward causing us to knock the stack off the step and continue driving forward.

Does anyone have a suggestion/solution/input on this situation?
__________________
  #2   Spotlight this post!  
Unread 03-04-2015, 13:52
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,666
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Xbox Controllers

Quote:
Originally Posted by Addison4300 View Post
So, at Hub City, our drive team experienced our Xbox controllers disconnecting in the middle of a match causing our robot to uncontrollably continuing the action it was taking at the moment of disconnection. For example, we were driving forward to push a stack onto the scoring platform when the controller disconnected, then the robot continued to move forward causing us to knock the stack off the step and continue driving forward.

Does anyone have a suggestion/solution/input on this situation?
This is what the watchdog module is designed to address. If a motor does not receive input with a certain regularity, it shuts off. How you access it depends on what language you use to program.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
  #3   Spotlight this post!  
Unread 03-04-2015, 13:52
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,835
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Xbox Controllers

A couple of common causes:
  • Keep your PC plugged into the power outlet at each Player Station to avoid having the laptop start power saving because it's on battery.
  • Turn off power saving for the USB ports (and everything else for that matter)
Device Manager -> Universal Serial Bus controllers -> USB Root Hub -> Power Management
unclick "Allow the computer to turn off this device to save power"
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #4   Spotlight this post!  
Unread 03-04-2015, 15:53
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,666
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Xbox Controllers

You should still implement a watchdog in case of a physical disconnect of the controller, or a dropout of the field connection, which would have had the same effect. We've also implemented watchdogs on our non-competition devices, like our air cannon -- we have no desire to have 100+ pounds of robot running amok on the football field based on a joystick position from a minute ago!
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
  #5   Spotlight this post!  
Unread 04-04-2015, 09:41
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,230
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Xbox Controllers

Quote:
Originally Posted by Addison4300 View Post
Does anyone have a suggestion/solution/input on this situation?
One would think if the controller disconnected that the Class would return either: 1) 0,0 for joystick position (your robot should have stopped); or 2) some type of error code.

I should have our team check it out this week.

In any case, hitting "f1" on the driver station will have the computer scan for devices and reconnect the controller.
  #6   Spotlight this post!  
Unread 04-04-2015, 11:01
FrankJ's Avatar
FrankJ FrankJ is offline
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,933
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: Xbox Controllers

Drop of the DS to robot connection always disables robot. Loss of a controller disables the robot when not connected to FMS. The windows controller driver assumes the analogs are centered when the controller connects to window. So if you have an intermittent controller connection & you reconnect with the joysticks off center, you will get strange results.
__________________
If you don't know what you should hook up then you should read a data sheet
  #7   Spotlight this post!  
Unread 04-04-2015, 11:03
FrankJ's Avatar
FrankJ FrankJ is offline
Robot Mentor
FRC #2974 (WALT)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: Marietta GA
Posts: 1,933
FrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond reputeFrankJ has a reputation beyond repute
Re: Xbox Controllers

Quote:
Originally Posted by Mark McLeod View Post
A couple of common causes:
  • Keep your PC plugged into the power outlet at each Player Station to avoid having the laptop start power saving because it's on battery.
  • Turn off power saving for the USB ports (and everything else for that matter)
Device Manager -> Universal Serial Bus controllers -> USB Root Hub -> Power Management
unclick "Allow the computer to turn off this device to save power"
+1. This should be in the DS set up instructions if it not there already.
__________________
If you don't know what you should hook up then you should read a data sheet
  #8   Spotlight this post!  
Unread 04-04-2015, 18:12
techplex's Avatar
techplex techplex is offline
Blake B
AKA: Blake
FRC #4909 (The Bionics)
Team Role: Mentor
 
Join Date: Mar 2009
Rookie Year: 2007
Location: Massachusetts
Posts: 94
techplex is just really nicetechplex is just really nicetechplex is just really nicetechplex is just really nice
Re: Xbox Controllers

Consider strain refiling the USB cable. We had a similar issue where the driver would notice the controller being intermittent or disconnect altogether.

We used a wire tie and a sticky wire tie mount.


This makes sure that if the driver pulls on the cable the USB port does not wiggle or see the strain.
__________________
Blake
Electrical, Programming and Design

Creator FRC Q&A 2017
Mass FRC Team 4909: The Bionics
Maine FRC Team 5122: The RobOTies (2014-2015)
Maine FRC Team 2648: Infinite Loop (2008-2011)
  #9   Spotlight this post!  
Unread 06-04-2015, 13:45
Addison4300's Avatar
Addison4300 Addison4300 is offline
FRC is love, FRC is life
AKA: Addison
FRC #4300 (The Lion Kings)
Team Role: Leadership
 
Join Date: Jan 2015
Rookie Year: 2013
Location: McKinney, Texas
Posts: 142
Addison4300 is on a distinguished road
Re: Xbox Controllers

We had our laptop's power saver mode disabled.

Team 3310 said the Xbox controllers "burn out" a lot. (today our controller wont work at all now)

team 3310 also suggested to use a logitech game pad which we might try and see.
__________________
  #10   Spotlight this post!  
Unread 06-04-2015, 15:16
BitTwiddler's Avatar
BitTwiddler BitTwiddler is offline
electronics/programming mentor
AKA: Mr Tanguay
FRC #1726 (N.E.R.D.S.)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2006
Location: Sierra Vista, AZ
Posts: 251
BitTwiddler is on a distinguished road
Re: Xbox Controllers

Quote:
Originally Posted by Addison4300 View Post
We had our laptop's power saver mode disabled.

Team 3310 said the Xbox controllers "burn out" a lot. (today our controller wont work at all now)

team 3310 also suggested to use a logitech game pad which we might try and see.
Team 1726 is experiencing a similar issue with our Logitech gamepads "disappearing" from the DS during the matches. I don't think it's the Xbox controller per se (unless it's defective of course).
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 03:13.

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