Presentation is loading. Please wait.

Presentation is loading. Please wait.

EducateNXT The Corridor Challenge The Corridor Challenge requires programming of a robot to negotiate obstacles and the corridor walls in order to reach.

Similar presentations


Presentation on theme: "EducateNXT The Corridor Challenge The Corridor Challenge requires programming of a robot to negotiate obstacles and the corridor walls in order to reach."— Presentation transcript:

1 EducateNXT 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

2 EducateNXT 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.

3 EducateNXT The Corridor Challenge This program is a start. What does it do? Try it out.

4 EducateNXT The Corridor Challenge 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? Finish Start Try a right and then a left turn before continuing forward in your program. …and again

5 EducateNXT 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.

6 EducateNXT The Corridor Challenge Whats the problem? The wall gets in the way!

7 EducateNXT The Corridor Challenge This is a better path. But how to program? Clues: - Why wont two Switch blocks work? - Try a Wait for block.

8 EducateNXT …For the teacher

9 EducateNXT The Corridor Challenge A possible solution: A left turn at the first obstacle. Unlimited Forward Move block Wait for Ultrasonic block – until next obstacle approaches. A right turn at the second obstacle. The whole program is repeated.

10 EducateNXT


Download ppt "EducateNXT The Corridor Challenge The Corridor Challenge requires programming of a robot to negotiate obstacles and the corridor walls in order to reach."

Similar presentations


Ads by Google