|
Re: Run Motors at the Same Speed
Yep. Use a gyro to sense the direction the robot is facing, and use the difference between that and the desired direction to adjust the motors so the robot turns toward the target direction.
One of the best software tools for doing that is PID control on the X axis "steering" input of an Arcade Drive function.
|