Print

Activity

Line Tracking Module

Create a module to make the Finch track a line!

Free Teacher Materials

Get Access

MATERIALS

  • Large sheets of white paper
  • Black electrical tape to make a line to track
  • The line to track should be about 2.5 cm wide

ADVANCED: Going Further

Required lessons: Control Structures & Line Tracking, Modularity

Make a module that tracks a line using your favorite line tracking algorithm. Now, anytime you need to track a line, you will be able to reuse this module! 

MakeCode/Snap: Make a block that only includes the if-else statements and turns that you use to track the line. It should not contain a loop. To test your block, write a program that uses your block in a loop. 

BirdBlox: Make a module that only includes the if-else statements and turns that you use to track the line. It should not contain a loop. To test your block, write a program that broadcasts a message to your module in a loop.