Have your Edison robot drive straight into a wall. When your Edison hits the wall, have it back up, turn and go around the obstacle.
Activate your Edison's obstacle detection using this line of code:
Read of obstacle detection beam using this line of code:
Reading the obstacle detection beam can give you these results:
You will need a loop that continually uses an if statement to check for the obstacle.