The Corridor Challenge The Corridor Challenge requires programming of a robot to negotiate obstacles and the corridor walls in order to reach the finish line. Finish Start
The Corridor Challenge An Ultrasonic Sensor will need to be added to the EduBot to detect upcoming obstacles and walls. The addition is shown on pages 28-30 of the NXT Building Guide Booklet that comes with the Education Kit. or You could add your own by free-building to the front of the EduBot.
The Corridor Challenge This program is a start. What does it do? Try it out.
The Corridor Challenge Finish The program should make the EduBot move forward until it gets close to an object and then stop. How would the program need to be changed to get past obstacles? Try a right and then a left turn before continuing forward in your program. …and again Start
The Corridor Challenge Reverse a little for a clear turn. Turn Right Pivot turn. Forward to get out of obstacle path. Turn Left Pivot turn.
The Corridor Challenge What’s the problem? The wall gets in the way!
The Corridor Challenge This is a better path. But how to program? Clues: Why won’t two Switch blocks work? Try a Wait for block.
…For the teacher
The Corridor Challenge The whole program is repeated. A possible solution: A left turn at the first obstacle. A right turn at the second obstacle. Wait for Ultrasonic block – until next obstacle approaches. Unlimited Forward Move block