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.

:
This commit is contained in:
Jason 2016-02-11 22:26:11 -05:00
parent 83cbc89a0f
commit 91acd20f7d

View File

@ -9,6 +9,7 @@
#define SRC_SHOOTER_H_ #define SRC_SHOOTER_H_
#define PICKUP_POWER 1.0 #define PICKUP_POWER 1.0
#define SPINUP_TIME 1.5 // seconds.
class Shooter class Shooter
{ {
@ -89,7 +90,7 @@ private:
CANTalon *pickup; CANTalon *pickup;
CANTalon *launch_spinny; CANTalon *launch_spinny;
Timer shotClock; Timer shotClock;
bool ready; bool ready;
}; };