|
Explore TEAMS!
|
Student /
Lab3LineFollowingRobotics Lab 3: Line FollowingLessons Learned
Lab SummaryFor the most part, the Create maneuvered around the track fairly well using the code that I wrote for it. The wide turns and straight-aways were no match for my coding capabilities. The sharp turns and right angles, however, posed a problem. The way that I wrote my program was with a series of “if” statements that the robot would execute depending on its situation at the time. One situation in which the Create was not able to execute the desired command was when both the robot’s front left and front right cliff sensors were detecting a black line simultaneously. I programmed the robot to drive in a sharp left circle when this occurred. Instead of doing this, however, the robot “seizures” until I turned it off or moved it to another location on the track. This result could have potentially been due to an inherent error on the robot or a complex coding error. With such a vast variety of possibilities where the robot will be faced with a situation in which the front cliff sensors both detected black, it would be difficult to program the robot to react to each situation successfully. One way that I could potentially help the robot better navigate around these sort of situations would be if I installed a cliff sensor at the center front of the robot. Video sensors would also be quite helpful and could map out the entire course for the robot. These sensors are extremely complicated and expensive though, and might be harder to program. Robotic arms loaded with sensors such as cliff sensors would also be useful and give the robot a heads up on turns and other situations before it actually reaches them. These are just a few ways that I could alter the Create to help it better navigate around the track. |