Skip to content

Commit d84c41f

Browse files
committed
Updated quickStop() method
1 parent 79f8c97 commit d84c41f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/robotpilot/RobotPilot.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -657,19 +657,15 @@ public void resetRightTachoCount() {
657657
}
658658

659659
public void quickStop() {
660-
synchronizeMotors();
661660
motor1.setAcceleration(QUICK_ACCELERATION);
662661
motor2.setAcceleration(QUICK_ACCELERATION);
663-
motor1.endSynchronization();
664662
stop();
665663
setAcceleration(acceleration);
666664
}
667665

668666
public void quickStop(boolean immediateReturn) {
669-
synchronizeMotors();
670667
motor1.setAcceleration(QUICK_ACCELERATION);
671668
motor2.setAcceleration(QUICK_ACCELERATION);
672-
motor1.endSynchronization();
673669
stop(immediateReturn);
674670
setAcceleration(acceleration);
675671
}

0 commit comments

Comments
 (0)