Robotics
Last Tuesday in class Candice and I were able to make the robotic lego car we built move in circles. We inputted our measurements of the car whEels into the program we used in class, with the circumference measurements of (.173). Using the software on the computer we constructed a motor for our vehicle and was able to signal the car to go in different directions at various speeds. By giving out ports A and C, and B and D a speed of 30, we were able to discover the distance that the car traveled, the wheel rotation and the velocity of the vehicle. After we compared the programs measurements and our own measurements with a ruler, and discovered a slight error between the two.
After measuring the distance with a ruler we found an error of about 6.1 percent, but we were accurate when we calculated the number of turns the wheel performed when traveling. The distance traveled going by what the program said was a distance of .35 meters, and the number of wheel turns to be about 1.46 rotations after the car ran for 1 second. The actual distance traveled we discovered to be .27 meters. When we calculated the distance and measured the wheel diameter it was 5.3cm x 3.14(pie) x the calculated number of wheel turns 1/46 to see that the car should have really traveled .25 meters.