02 Quick Start


In this mission, you are an engineer tasked with creating a robotic guide dog. There are two parts to this challenge:

Design a leash for your GoPiGo that will allow the handler to feel the robot coming to a stop, and 
Develop a program that uses a distance sensor to sense obstacles. 

Design: Guide Harness

A seeing eye dog wears a harness with a rigid metal handle that allows the handler to feel the dog’s movement. What will you use to harness your GoPiGo? 


Plug the distance sensor into an I2C port on your GoPiGo. Then attach the sensor to your robot.

Then, build and attach your harness to your GoPiGo. 

Design: Obstacle Avoidance Program

          •  How close to an object should the GoPiGo get before it reacts? 
          •  How should the GoPiGo react to an obstacle?
          •  What else could your robot do?


Choose which version of the repeat [until] block that you want to use, and try a few different programs!


The most important thing to test in this program is how far away the robot should stop from an object. Put one obstacle in your space and walk with your robot directly toward it. Do you stop before you trip on it?


 If the program is working as expected, it is time to choose an area for improvement.

Maybe your harness isn't staying attached and you want to iterate on the harness design. 
Maybe you want your robot to turn instead of just stopping so it can find a safe path around the obstacle.
Depending on how you program your robot, you may discover that you need to redesign how the harness attaches to the robot. 
Perhaps you want to make the robot a little more flashy by using the eyes like turn signals.

Last modified: Tuesday, 6 October 2020, 8:37 AM