Bugfix: added resetPID() call in RESET_ENCODERS statement,

to ensure that PID gets reset when encoders get reset.
This commit is contained in:
Kristof Robot 2013-08-16 15:04:33 +02:00
parent dad031ee2c
commit 2c9881552b

View File

@ -197,6 +197,7 @@ int runCommand() {
break;
case RESET_ENCODERS:
resetEncoders();
resetPID();
Serial.println("OK");
break;
case MOTOR_SPEEDS: