Week+5+-+Help,+I+am+Still+Stuck


 * REMEMBER:** A robot must ** sense ** its environment, have a **plan** of how to react to its environment, and **act**.

=Help! I'm Stuck - see Week 4=

**Overview:** While on NXTopia, your robot will undoubtedly come up against some terrains that are too difficult for the robot to navigate. NASA is worried about a particular chasm near the drop zone where the robot could get trapped. They have asked that you demonstrate your robots ability to detect such an obstacle and navigate out of the chasm.

Complete Student Worksheet 6 - Help! I'm Stuck

=Help! I'm (Still) Stuck=

**Overview:** NASA is happy with your bumper, but are concerned that the physical impact with the chasm walls will dislodge rocks sitting above. Modify your robot to include the Ultrasonic Sensor and run the same program, but this time recognising the walls before you touch them.

Connect the Ultrasonic Sensor to your robot.

Use the "**View**" menu on your robot to see what types of readings you get with the Distance Sensor. **View** - **Ultrasonic** (cm OR inch) - **Port 4**



We would like your robot to drive forward until it encounters obstacle.
 * 1) Drive until object is detected, then stop.
 * 2) Shout 'hello!' when you are close to an object.
 * 3) Turn around when you are close to the object.
 * 4) Repeat this action until you find your way out of the chasm.

Complete Student Worksheet 7 - Help! I'm (Still) Stuck