commit | 5ae4efde97b506c7fd49fd9ca90dbc8fa539c80b | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin@peloton-tech.com> | Sun Feb 15 23:34:22 2015 -0800 |
committer | Austin Schuh <austin@peloton-tech.com> | Mon Feb 16 15:50:32 2015 -0800 |
tree | 29443676a4a23492a6e090a1da1695b3a2f8d903 | |
parent | ac72479d89b3f174648f33f4329ef3b7bc892f63 [diff] [blame] |
Removed done state from fridge Change-Id: Ifb2b69b078f38b2533b8ac6ec73f1116146e6e94
diff --git a/frc971/control_loops/fridge/fridge.cc b/frc971/control_loops/fridge/fridge.cc index 3347da9..ad44f72 100644 --- a/frc971/control_loops/fridge/fridge.cc +++ b/frc971/control_loops/fridge/fridge.cc
@@ -508,8 +508,7 @@ } // TODO(austin): Populate these fully. - status->zeroed = false; - status->done = false; + status->zeroed = state_ == RUNNING; status->angle = arm_loop_->X_hat(0, 0); status->height = elevator_loop_->X_hat(0, 0); if (unsafe_goal) {