commit | 4f8633fbe1332049767ad48645d431a2bef783c7 | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin@peloton-tech.com> | Sun Mar 02 13:59:46 2014 -0800 |
committer | Austin Schuh <austin@peloton-tech.com> | Sun Mar 02 13:59:46 2014 -0800 |
tree | 5451d4cbde93ae24b71dc413a5d584aa18d18d6f | |
parent | d29689fb772d5ad7b379ea1cc9ba0c2683094ba1 [diff] [blame] |
Added a zeroed flag.
diff --git a/frc971/control_loops/claw/claw.cc b/frc971/control_loops/claw/claw.cc index f7b1ffe..64db8b4 100755 --- a/frc971/control_loops/claw/claw.cc +++ b/frc971/control_loops/claw/claw.cc
@@ -758,6 +758,8 @@ status->done_with_ball = is_ready() && separation_done_with_ball && bottom_done && bottom_velocity_done; + status->zeroed = is_ready(); + was_enabled_ = ::aos::robot_state->enabled; }