commit | f3dceb76e761cc16ffc5f2ff4faf43e7fe08d521 | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin.linux@gmail.com> | Sun Mar 29 18:25:10 2015 -0700 |
committer | Brian Silverman <brians> | Mon Mar 30 14:21:50 2015 -0400 |
tree | f37f087c0370582b187867f8dc5a4838d6b0487b | |
parent | d5314d86b2c70b331741fb4e2cba033a0abe8470 [diff] |
Fixed fridge lurching down. Change-Id: I4058077bf38a92b5b547a19893d08a9a898bf23b
diff --git a/frc971/control_loops/fridge/fridge.cc b/frc971/control_loops/fridge/fridge.cc index 14514a9..b5e0ab6 100644 --- a/frc971/control_loops/fridge/fridge.cc +++ b/frc971/control_loops/fridge/fridge.cc
@@ -340,9 +340,7 @@ // We want it stopped at whatever height it's currently set to. elevator_goal_velocity_ = 0; } - break; } - } else if (!disable) { elevator_goal_velocity_ = elevator_zeroing_velocity(); elevator_goal_ += elevator_goal_velocity_ *