stopAndResetMotors

This function resets all 3 motors.

That includes:

  • Their speed.

  • 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.