Skip to main content

reset pid error

Block#

reset PID error block image

Description#

Resets the sum of the gyro error and integral error that accumulated over. Reset the PID error after using forward_step() to drive more accurately. This does not reset the P, I, and D values of the Zumi PID control. To set those parameters use set_PID().

Parameters#

None

Returns#

None

Example#

reset PID error example