From 91acd20f7dc1a1a96cfede4065857b8b9d265379 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. : --- src/Shooter.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Shooter.h b/src/Shooter.h index 22e2eb8..f9892bd 100644 --- a/src/Shooter.h +++ b/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; };