commit | f111327854807baf366023b84427ad2ebd2e1433 | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin@peloton-tech.com> | Mon Mar 31 17:59:25 2014 -0700 |
committer | Austin Schuh <austin@peloton-tech.com> | Mon Mar 31 17:59:25 2014 -0700 |
tree | 0612d262c7f645fb6d7f50681963de60ecadb6ec | |
parent | 7e29439343aaeaa52aa06efecb24dc22e882474a [diff] |
fixed the shooter crashing when unloaded before zeroed
diff --git a/frc971/control_loops/shooter/shooter.cc b/frc971/control_loops/shooter/shooter.cc index e664baa..da2aa42 100755 --- a/frc971/control_loops/shooter/shooter.cc +++ b/frc971/control_loops/shooter/shooter.cc
@@ -397,8 +397,6 @@ LOG(ERROR, "Estopping because took too long to load.\n"); } } - } else if (goal->unload_requested) { - Unload(); } brake_piston_ = false; break;