Stuffination

Sweet Line Following

I’m in a class called Introduction to Robotics.  In this class we have labs where we make robots to do things using the LEGO NXT Mindstorms kits.  (Part of) Our current assignment is to make a robot that can follow a fairly complex line.  In our team, I’m the Mechanical Engineer, so I built the robot.  Our Computer Scientist, Rich, wrote a really sweet line following program based on the general algorithm our group came up with.

I’m not going to reveal the black magics he used in his program, or our general algorithm, but, from the video you can probably deduce the general idea.  The line it follows is complex, containing both a 90 degree bend and a hairpin.  As you can also see in the video, the robot could follow this line indefinitely until its batteries die.