- private double motorVal;
-
- public RunWinchContinuous(double motorVal) {
- requires(Robot.getClimber());
- this.motorVal = motorVal;
+ Climber climber = Robot.getClimber();
+ private double climbingSpeed;
+
+ /**
+ * See JavaDoc comment in class for details
+ *
+ * @param motorVal
+ * value range is from -1 to 1
+ */
+ public RunWinchContinuous() {
+ requires(climber);
+ climbingSpeed = climber.CLIMBER_SPEED;