motor synchronization

I am using a controller to move my robot but when I make the robot move forward the wheels don’t rotate equally and one is always faster than the other. Is there a way I can use shaft encoders or gyroscopes to equalize motor power when I use a controller to move it?

Z10987654321X,

This is an interesting question.
If your motors are the same model, they should perform within the same range. Please verify that your motors are the same model and that they have the same gear ration configuration (torque vs speed). Also please check for any other factors that could be generating additional friction on one side of the robot.

Other than that, you can use Integrated Encoder Modules or Optical Shaft Encoders to monitor the speed of your motors.

Regards.

-Eli