Tuesday, October 23, 2007

Lego Robots: Linear & Conditional Programming

Today in our lab I was working with Anja and Honore. We each had a robot and had to make it do something. My own challenge for my robot, was to go straight turn left and go straight and go through a gate. I had to guess how long to go striaght for and and how to turn. I figured out that the robot had to go straight for 6 seconds with the speed of 3, turn to the left .5 way, then go straight for 4 seconds with the speed of 3, then it would go through the gates. I tried it and it worked! I thought it was difficult at the beginning but once you got to watch it happen and see what your mistake was, it was easy to fix.

No comments: