Ideas on how to program automatically aligning motors

Hello, I was wondering if there’s somebody who could help me with my problem, I need ideas on how I could program so the motors could automatically align our wheels.

You could use the gear tooth sensors provided in the kit to measure the speed of the wheels or output shaft or any gear on both sides and adjust it accordingly to make it the same.

Our code team has created functions that basically uses a quadrature enocoder attached to both drive wheel axis to read the speed of the motor. We then use a PID loop to adjust the motor speed appropriately. We’re testing the code now. Once we get it all worked out I’ll see if I can post it here. :smiley: