Week 2 - Section 2 - Using Variables and Detecting Obstacles
In the first week we will learn about the edison robot, its capabilities, sensors and communication with the software. We will also learn how to use the EdWare, the software for programming edison robots.
Chapter 5.3 - Detect obstacle and stop
Write the following program to have the Edison robot drive until it encounters an obstacle.
The red (control group) detect obstacle icon is required to turn the obstacle detection system on and starts the IR light emitters.
The dual drive speed is set to 5 to allow the robot to detect an obstacle before colliding with it. If the speed is too fast then the robot will crash into obstacles.