mirror of
https://github.com/YikeStone/ros_arduino_bridge.git
synced 2025-08-04 03:34:08 +05:30
Bugfix: added resetPID() call in RESET_ENCODERS statement,
to ensure that PID gets reset when encoders get reset.
This commit is contained in:
parent
dad031ee2c
commit
2c9881552b
@ -197,6 +197,7 @@ int runCommand() {
|
|||||||
break;
|
break;
|
||||||
case RESET_ENCODERS:
|
case RESET_ENCODERS:
|
||||||
resetEncoders();
|
resetEncoders();
|
||||||
|
resetPID();
|
||||||
Serial.println("OK");
|
Serial.println("OK");
|
||||||
break;
|
break;
|
||||||
case MOTOR_SPEEDS:
|
case MOTOR_SPEEDS:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user