private PIDController driveController;
private PIDController gyroController;
+ private boolean isClimbing;
+ private static double CLIMBER_SPEED;;
+
private DriveTrain() {
driveController = new PIDController(driveP, driveI, driveD);
rightGearPiston = new DoubleSolenoid(Constants.DriveTrain.PISTON_MODULE,
Constants.DriveTrain.RIGHT_GEAR_PISTON_FORWARD,
Constants.DriveTrain.RIGHT_GEAR_PISTON_REVERSE);
+
+ CLIMBER_SPEED = Constants.DriveTrain.CLIMBER_SPEED;
}
public PIDController getDriveController() {
protected void initDefaultCommand() {
setDefaultCommand(new JoystickDrive());
}
+
+ public boolean isClimbing() {
+ return this.isClimbing;
+ }
+
+ public double getClimbingSpeed() {
+ return this.CLIMBER_SPEED;
+ }
+
}