this.imu = new ADXRS450_Gyro(Constants.DriveTrain.GYRO_PORT);
// TODO: Not sure if MODULE_NUMBER should be the same for both
- leftGearPiston = new DoubleSolenoid(
+ leftGearPiston = new DoubleSolenoid(Constants.DriveTrain.PISTON_MODULE,
Constants.DriveTrain.LEFT_GEAR_PISTON_FORWARD,
Constants.DriveTrain.LEFT_GEAR_PISTON_REVERSE);
- rightGearPiston = new DoubleSolenoid(
+ rightGearPiston = new DoubleSolenoid(Constants.DriveTrain.PISTON_MODULE,
Constants.DriveTrain.RIGHT_GEAR_PISTON_FORWARD,
Constants.DriveTrain.RIGHT_GEAR_PISTON_REVERSE);
}
private static HallEffectSensor hallEffect;
private final CANTalon flyWheel1, flyWheel2, indexWheel;
- public static final double DEFAULT_INDEXING_SPEED = 0;
- public static final double DEFAULT_SHOOTING_SPEED = 0;
+ public static final double DEFAULT_INDEXING_SPEED = -0.75;
+ public static final double DEFAULT_SHOOTING_SPEED = 0.75;
public static double CURRENT_SHOOTING_SPEED = DEFAULT_SHOOTING_SPEED;
- public static final double SHOOTING_SPEED_INCREMENT = 0;
+ public static final double SHOOTING_SPEED_INCREMENT = 0.05;
private Shooter() {
flyWheel1 = new CANTalon(Constants.Shooter.FLY_WHEEL1);