Two identical metal gearmotor, but two different speeds

Hello, I bought two micro metal gearmotor hp 30:1, but i have a problem, one motor runs at different speed than the other using the same voltaje, causing that my robot can’t run in straight line, can you help me?

Hello,

Going in a straight line is pretty hard, even if both motors have the same speed. Motors tend to have a motor to motor variation on their speed at a given voltage. If you are using PWM speed control, you can fix this by adding an offset to the duty cycle.

- Ryan