Ops Manager Learn 4: Turn a Corner
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. Planning
Let’s plan out our line following strategy. We must consider how we want to react to each possible response value that can be returned by the position() function.
- If the line is centrally located, we simply continue on our path.
- Where it isn’t, we steer towards the line to return it to the central position.
- If we cannot see a line then we’re “flying blind” and we should simply stop.
The last rule is a fail-safe.