resetEncoder

open fun resetEncoder()

Reset the encoder value without stopping the motor. Will internally be called if the motor is attempted to be set to STOP_AND_RESET_ENCODER. The target position will also be reset to 0.