Recent Changes - Search:

TEAMS Academy Wiki

Explore TEAMS!
for visiting sophomores & juniors

Robotics

EnvBioTech

Bat Design

Assistive Tech


Students


Instructors

TEAMS Forum

TEAMS Calendar

TEAMS Web Site

Wiki Info

edit Student.SideBar

Lab3LineFollowingByLisaPinals

Lab 3 Line Following

By Lisa Pinals
Blue cohort

Summary

The purpose of this lab was to have the Create follow a line. The line is made up of black electrical tape and has many curves and sharp turns. There is also a T spot where the line comes to a sharp intersection. The Create must do it's best to stay on the path at all times. This is done by using the cliff sensors, which can sense different colors on the ground and different types of surfaces. The values for the black tape had to be found by testing the cliff sensors.

Conclusions

My code can handle sharp right angles and many other curves. It sometimes has a difficult time with the right angles, though. It starts twitching back and forth, but the problem usually resolves itself and the Create continues traveling on the line in a few seconds. I tried out multiple speeds and wait times, but the values I picked are moderate speeds with minimal twitching at right angles. I made the delays and wait times very short so that the robot is constantly reading the sensors. The delays make the program run smoothely with minimal twitching. There are a couple of spots that the robot does completely get off of the line. These are the hard right angles and the quick switch backs. The Create cannot follow this because of the configuration of the sensors. Although they are ideal for this purpose, sometimes the Create drives by the right angles without seeing the black line. The sensors are ideal for this purpose because with two cliff sensors on the right front and left front, the Create is generally able to keep the black line between the sensors.

Lessons Learned

  • My expectations of computers are too high
  • They often times have many more problems than anticipated
  • I learned how to use the C programming language
  • how to work off of my flowchart
Edit - History - Print - Recent Changes - Search
Page last modified on December 19, 2007, at 01:52 PM