Book
Day 3 - Section 1 - More obstacles avoiding
Day 3 - Section 1 - More obstacles avoiding
Completion requirements
View
After the completion of this section the students will be able to:
- program their robot to avoid an obstacle upon detection
- make the robot drive and avoid obstacles continuously
- create the code to detect obstacles to the left or to the right of the robot
Chapter 6.2 - Continous obstacle avoidance
Write the following program to have the Edison robot continuously drive avoiding obstacles.
Try experimenting with different amounts of time in the second event wait icon. This time setting determines how long the robot turns for and is indicated above by the orange question mark (?).