public double getRightEncoder(String inFt) { if (inFt.equals("in")) { double value = RIGHT_MOTOR1.getEncPosition(); return countsToInch(value); } else { double value = RIGHT_MOTOR1.getEncPosition(); return countsToFeet(value); } }