Lesson: Robot Detects Object
Objectives:
Attach one touch sensor to the front of your two wheel robot.
- Program the robot so that it drivers straight forward until it touches something. (Hint: Add a short axle to the front of the touch sensor to help it detect objects.)
- Then have the robot back up and turn 90 degrees.
- Then have the robot go forward until it touches something.
- Then have the robot back up and turn 90 degrees.
- Have this repeat in a loop. Note: You can use the two large motor block, move-steering works better than move-tank for this exercise.
Watch "Task8-v2: Robot detects objects in front of it"
Education Level:
Any
HW Platform:
Any
SW Platform:
Any
Interactivity Style:
Active