Fix minor calibration issue

This commit is contained in:
Austen Adler 2016-09-21 12:39:32 -04:00
parent 6f0719e4b6
commit 247e00ab75
No known key found for this signature in database
GPG Key ID: 7ECEE590CCDFE3F1

View File

@ -32,7 +32,7 @@ public class MainArm extends PIDSubsystem {
} }
protected void usePIDOutput(double output) { protected void usePIDOutput(double output) {
// Only run if neither limit switch is hit // Only run if neither limit switch is hit
if (calibrate()) { if (!calibrate()) {
moveArm(output); moveArm(output);
} else { } else {
moveArm(0); moveArm(0);