PDA

View Full Version : Ideas on how to program automatically aligning motors


Team_STORM
02-11-2008, 03:53 PM
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.

kevin.li.rit
02-11-2008, 03:54 PM
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.

slavik262
02-11-2008, 04:10 PM
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. :D