|
THS
|
Robots /
MarkLab3Writeup:Goal:
The goal of Lab 3 was to write a program that would allow the create to follow a black line on the ground using the cliff sensors.
Summary:
My line follow was a success. My robot was able to follow a white line on a black background as well as a black line on a white background. I found that the robot sometimes couldn't make really sharp turns due to the width of the line at the angle it was approached. I think it would've worked better if the robot had made turns relative to the left and right wheels as opposed to the center of itself, which is something I would change if I were to do this again.
Conclusions:
This lab helped me learn how the cliff sensors work better, that they are IR sensors and that different surfaces/colors can change their values significantly. This lab also reinforced the idea that simplicity in your code is always the best option, as my original code and the code of some others were a lot more involved, confusing to look at, and didn't work as well.
CodeFlowchart:![]() |