stopAndResetMotors

This function resets all 3 motors.

That includes:

  • Their encoder position

  • Their run mode

  • Their braking behavior

  • Their direction

If you manually changed something like a motor's direction, you'll have to do it again after calling this function. This also stops all the wheels, due to the nature of resetting encoder values.