commit | 4edad872d8ae01906a82d98dd0ba3992e1df5e68 | [log] [tgz] |
---|---|---|
author | Austin Schuh <austin@peloton-tech.com> | Sun Mar 02 11:56:12 2014 -0800 |
committer | Austin Schuh <austin@peloton-tech.com> | Sun Mar 02 11:56:12 2014 -0800 |
tree | c487a399fd0d3db5b2932c459e0a49edad5e965d | |
parent | a556b01edc9494f4355483a823ca8a325360431a [diff] [blame] |
Shooter now counts shots properly.
diff --git a/frc971/control_loops/shooter/shooter.h b/frc971/control_loops/shooter/shooter.h index 2743bad..742bb0c 100755 --- a/frc971/control_loops/shooter/shooter.h +++ b/frc971/control_loops/shooter/shooter.h
@@ -197,6 +197,7 @@ bool brake_piston_; int32_t last_distal_posedge_count_; int32_t last_proximal_posedge_count_; + uint32_t shot_count_; DISALLOW_COPY_AND_ASSIGN(ShooterMotor); };