View Single Post
  #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,599
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.