Register to receive free access to all teacher materials.
Make your Finch stay a set distance away from an object.
Free Teacher Materials
INTERMEDIATE: Add Sensors
Required Lessons: Sensor Overview, Direct Control
Use direct control to have your Finch stay exactly 40 centimeters (cm) away from an object. The Finch should move forward quickly if no object is in front of it, but should move increasingly slowly the closer it gets to 40 cm away from the object. If the object is closer than 40 cm, the Finch should back up to try to keep its distance.
For best results, we recommend using a large object, like a cardboard box, and holding it perpendicular to the Finch’s distance sensor.