Fix minor calibration issue
This commit is contained in:
parent
6f0719e4b6
commit
247e00ab75
@ -32,7 +32,7 @@ public class MainArm extends PIDSubsystem {
|
||||
}
|
||||
protected void usePIDOutput(double output) {
|
||||
// Only run if neither limit switch is hit
|
||||
if (calibrate()) {
|
||||
if (!calibrate()) {
|
||||
moveArm(output);
|
||||
} else {
|
||||
moveArm(0);
|
||||
|
Loading…
Reference in New Issue
Block a user