From 3c3d14f01b1a763effbd008a1fc8a850bcb00c93 Mon Sep 17 00:00:00 2001 From: Jason Date: Thu, 11 Feb 2016 22:26:11 -0500 Subject: [PATCH] added SPINUP_TIME define for the shotClock Timer. Adjust the value of this define to wait longer before shooting the ball into the launch wheel. : --- Robot2016/src/Shooter.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Robot2016/src/Shooter.h b/Robot2016/src/Shooter.h index 22e2eb8..f9892bd 100644 --- a/Robot2016/src/Shooter.h +++ b/Robot2016/src/Shooter.h @@ -9,6 +9,7 @@ #define SRC_SHOOTER_H_ #define PICKUP_POWER 1.0 +#define SPINUP_TIME 1.5 // seconds. class Shooter { @@ -89,7 +90,7 @@ private: CANTalon *pickup; CANTalon *launch_spinny; - Timer shotClock; + Timer shotClock; bool ready; };