package org.usfirst.frc.team4828;

import edu.wpi.first.wpilibj.DigitalInput;
import edu.wpi.first.wpilibj.Victor;

public class Climber {

    private Victor climberMotor1;
    private Victor climberMotor2;
    private DigitalInput halleffect;
    private static final double MOTOR_SPEED = 0.8;
    private static final double RESET_SPEED = 0.2;

    /**
     * Create climber object encapsulating the climber motor.
     *
     * @param motorPort1 port of the first climber motor
     * @param motorPort2 port of the second climber motor
     */
    public Climber(int motorPort1, int motorPort2, int halleffectPort) {
        climberMotor1 = new Victor(motorPort1);
        climberMotor2 = new Victor(motorPort2);
        halleffect = new DigitalInput(halleffectPort);
    }

    /**
     * Raise the robot at a given speed.
     *
     * @param speed double speed
     */
    public void raise(double speed) {
        climberMotor1.set(-speed);
        climberMotor2.set(speed);
    }

    /**
     * Raise the robot at the default speed.
     */
    public void raise() {
        climberMotor1.set(-MOTOR_SPEED);
        climberMotor2.set(MOTOR_SPEED);
    }

    public void reset() {
        if (halleffect.get()) {
            raise(RESET_SPEED);
        }
        else{
            stop();
        }
    }

    public void reset(double speed) {
        if (halleffect.get()) {
            raise(speed);
        }
        else{
            stop();
        }
    }

    /**
     * Lower the robot at a given speed.
     *
     * @param speed double speed (positive)
     */
    public void lower(double speed) {
        climberMotor1.set(speed);
        climberMotor2.set(-speed);
    }

    /**
     * Lower the robot at the default speed.
     */
    public void lower() {
        climberMotor1.set(MOTOR_SPEED);
        climberMotor2.set(-MOTOR_SPEED);
    }

    /**
     * Stop raising or lowering the robot.
     */
    public void stop() {
        climberMotor1.set(0);
        climberMotor2.set(0);
    }

    public void printDebug() {
        System.out.println(halleffect.get());
    }

}

@@ -226,25 +226,25 @@
 alInput hall
-e
+E
 ffect;%0A    p
@@ -470,24 +470,65 @@
 limber motor
+ todo: figure out which one is left/right
 %0A     * @par
@@ -759,25 +759,25 @@
         hall
-e
+E
 ffect = new 
@@ -873,41 +873,8 @@
   *%0A
-     * @param speed double speed%0A
     
@@ -1158,32 +1158,111 @@
 _SPEED);%0A    %7D%0A%0A
+    /**%0A     * Move the hook to face forward using hall effect sensor.%0A     */%0A
     public void 
@@ -1279,33 +1279,33 @@
         if (hall
-e
+E
 ffect.get()) %7B%0A 
@@ -1446,25 +1446,25 @@
     if (hall
-e
+E
 ffect.get())
@@ -1572,426 +1572,17 @@
   * 
-Lower the robot at a given speed.%0A     *%0A     * @param speed double speed (positive)%0A     */%0A    public void lower(double speed) %7B%0A        climberMotor1.set(speed);%0A        climberMotor2.set(-speed);%0A    %7D%0A%0A    /**%0A     * Lower the robot at the default speed.%0A     */%0A    public void lower() %7B%0A        climberMotor1.set(MOTOR_SPEED);%0A        climberMotor2.set(-MOTOR_SPEED);%0A    %7D%0A%0A    /**%0A     * Stop raising or lower
+Stop rais
 ing 
@@ -1750,25 +1750,25 @@
 println(hall
-e
+E
 ffect.get())

Improve docs and remove lowering code