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.
11. Other Line Follower Methods
So far we've been using line_follower.position()
to know where the line is.
Experiment with the following methods
position_01()
position_bw()
position_val()
by modifying your test_line_follower() function:
def test_line_follower():
print(f"Position of line = {line_follower.position()}")
print(f"Position of line as 01 = {line_follower.position_01()}")
print(f"Position of line as BW = {line_follower.position_bw()}")
print(f"Position of line as value= {line_follower.position_val()}")
Can you figure out how these methods are similar and how they differ?
Download the Line Follower Methods document for extra information.