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:
parent
5211275da5
commit
3c3d14f01b
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user