|
Explore TEAMS!
|
Student /
Lab3-WilnelySummaryThe purpose for Lab 3 was to get the create to follow a black line. The cliff sensors of the create was used throughout this lab.To be able to have the create follow the black line I had to make a code that will do what it has to do. Through experimental results I found out that the sensors recognize black as a number less than 700,and white as a number greater than 700.Depending on the color it recognized the creat will move on certain direction. Also if both sensors were recognizing white the will move straight. Lessons Learned- Always remember to check ports -Remember to update sensors -Make sure there are no mistakes in the code -Be patient, code will eventually work ProblemsSome of the problems i had with this lab was when i was coding that my "if' and "else if" didn't match up. Because of that mistake my code didn't want to work at first. another problem i had was that i didn't updated the sensors. |