|
Explore TEAMS!
|
Student /
GarciaLab5LightFollowLight Following![]() Purpose:The purpose of this lab was to program the create to find a light source in the room using photo sensors (while it is safe!). This is a useful code to have because it helps with other codes like the Egg Hunt, which also involves the need to light follow. Results:The create searches for the light through the excution of wimp mode (15 seconds). The create then rotates in place as it records the highest sensor reading and time it took to get there. Once it has completed the revolution, it will travel that amount of time and drive forward. The create will then continue to excute wimp and repeate the process until unsafe or it has reached the light. (Please see code attached for more details). Important Lessons Learned:
|