You need to transfer this file onto your GoPiGo (a robot available through Dexter Industries). It will use the ultrasonic sensor to detect objects in front of the robot, scanning 180 degrees.
This uses the Gopigo from Dexter Industries, equipped with the ultrasonic sensor. Kitty cat will look all round for obstacles and will point in the direction of the closest object. The servo will turn the ultrasonic sensor in a similar fashion, detect the distance to the nearest object, and draw a turquoise dot representing that object. GoPiGo motors are not used, just the servo and the ultrasonic sensor on port A1