// Winch speeds
public final static double WINCH_STOP_SPEED = 0.0;
- public final static double WINCH_IN_SPEED = 0;
+ public final static double SCALE_SPEED = 0;
public final static double SECONDS_TO_CLAMP = 2.0;
// Winch timeout
- public final static int WINCH_TIMEOUT = 0;
+ public final static int SECONDS_TO_SCALE = 0;
public static boolean SCALING = false;
// intake button stops the winch
// shoot button extends the lift
toggleShooter.whenPressed(new RunWinchContinuous(
- Constants.Scaler.WINCH_IN_SPEED, Constants.Scaler.WINCH_TIMEOUT));
+ Constants.Scaler.SCALE_SPEED, Constants.Scaler.SECONDS_TO_SCALE));
compactRobot_1.whenPressed(new RetractLift());
compactRobot_2.whenPressed(new RetractLift());
public LiftRobot() {
requires(Robot.scaler);
- addSequential(new RunWinchContinuous(Constants.Scaler.WINCH_IN_SPEED, Constants.Scaler.WINCH_TIMEOUT));
+ addSequential(new RunWinchContinuous(Constants.Scaler.SCALE_SPEED, Constants.Scaler.SECONDS_TO_SCALE));
addSequential(new StopWinch());
}
}