commit | 7ffb138c872f66ebd2b42f90a055d42d8e4a7a4b | [log] [tgz] |
---|---|---|
author | Brian Silverman <brians> | Sun Sep 29 16:55:12 2013 -0700 |
committer | Brian Silverman <brians> | Sun Sep 29 16:55:12 2013 -0700 |
tree | 081896dbdb0661529cf5b6cc62fff5c576897089 | |
parent | 6da70211b0bac3c3d19d432822b2ebc15f809c10 [diff] [blame] |
added a lockout so it won't stop the shooter too soon
diff --git a/frc971/control_loops/shooter/shooter.h b/frc971/control_loops/shooter/shooter.h index 77c605b..7947f7a 100644 --- a/frc971/control_loops/shooter/shooter.h +++ b/frc971/control_loops/shooter/shooter.h
@@ -45,6 +45,9 @@ double position_goal_; double last_position_; + // For making sure it keeps spinning if we're shooting. + double last_velocity_goal_; + DISALLOW_COPY_AND_ASSIGN(ShooterMotor); };