Tuesday, May 17, 2011

3/4/11

Today, our goal was to alter our line followers so that they would be able to drive in a straight line, self-correcting for any mistakes.  We did this by measuring the rotation of each wheel, multiplying the difference by a gain of 0.7, and adjusting the wheel speed accordingly by either adding or subtracting power.

Here is our code:
T

Here is a clip of our follower in action:
 

As you can see, he seems to enjoy tracking to the right.  Both Lyn and Chris looked at our program and couldn't figure out why our robot would be doing such a thing, so we were all slightly confused.  Hande and I decided that our problem must be structural (or that we had somehow come across a motor with a mind of it's own).

No comments:

Post a Comment