Quote:
Originally Posted by Addison4300
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.