Program the robot to shoot when it detects an object with the Ultrasonic sensor.