Day 4: Follow that Color!
Today's goal is to learn about functions. We will continue to hone our skills using conditionals and loops in our code. Finally, we will learn to use the color sensor to help our robots follow lines on the ground.
- Unplugged activity: Singalong...with functions!
- Lesson: Basic line following algorithms using the color sensor
- Lab: Follow that line!
Resources
Lab
For today's lab activity, we will learn how to follow different types of lines using the color sensor on the EV3. We will explore the challenges of different types of lines (straight, curved, sharp turns, stars) as well as ways to possibly help our robots out of tricky situations.