Ops Manager: Try It Out
Site: | GoLabs |
Course: | Robotic Challenges with Python and GoPiGo |
Book: | Ops Manager: Try It Out |
Printed by: | Guest user |
Date: | Saturday, 23 November 2024, 6:34 AM |
Description
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.
1. Speed Control
Start by setting your motor speed to 300 right after initializing your picker.
2. Ready? Set? Go!
- Place your stock picker at the packing department end of the line, facing towards the stock shelf end, with the line follower centered over the black line.
- Run your notebook by selecting Cell >> Run All Cells from the Jupyter menu.
- If your stock picker successfully navigates the line to the stock shelf, place an item in its basket while the robot waits.
- When it returns to the packing department remove that item.
- Repeat that process as many times as your robot runs back and forth along the line.
3. Adjust & Improve
If your stock picker weaves to and fro along the straight portions of the line (much like the Bang! Bang! Controller does) your proportional control is too strong.
To reduce the weave, reduce the magnitude of your steering responses by lowering the proportional controller’s motor speed adjustment.
Repeat the timed run.
You should see improved times as less weave means less distance to travel.
4. Dial Up the Speed
When your robot reliably follows the line and you’ve got the quickest possible elapsed time that you can, increase the motor speed in steps (e.g. 500, 700, 900) and repeat the adjust and improve process for the new speed.
How fast can you dial your robot up to before it ceases to reliably navigate the line? What is your fastest elapsed time for completing 3 fetch and carry runs?
5. Congratulations!
You have successfully completed the Ops Manager mission. Your warehouse is functioning at top speed and your clients are happy!
If you're ready for a little more, you can try your hands at the PD extension or Line Follower Explained extension.