Ops Manager Learn 3: First Steps / Line Follower

This is the fourth challenge within the Robotics with GoPiGo and Python Curriculum.

Your task is to design a robot program that increases the volume of products that Amazing.com can ship out to its customers on a daily basis without increasing the number of robot pickers it employs.

Learn how to program and calibrate the Line Follower while they try to design an efficient system.

2. Functions

In the following steps, we will create a function to test our line follower.

function is a piece of code that doesn't execute right away. It's stored in memory and awaits being called. This allows you to call it when you want, where you want, without repeating the code.


Let’s write some basic code to test that everything is set up correctly and works as expected and learn a little about using the line follower. To do this, we will write a simple function that we will call from within the Test Code cell.