|
Re: How to end an auto mode after gyro gets out of deadband
Quote:
|
Originally Posted by kaszeta
Just to keep weird things like this from happening, our code has a global flag (called auto_done) that is set once the autonomous mode is completed. If the flag is set, the autonomous code won't do anything.
|
This is more along the lines of what we want to happen. Once we get hit and the gyro senses rotation, we want the robot to just stop.
__________________
-Travis Covington
2008-2017 - Engineering Mentor of Team 254
2001-2008 - Engineering Mentor of Team 968
1998-2001 - Mechanical Director/Driver/Member of Team 115
|