nhaulrik created page: Lab7 authored by Nikolaj Cilleborg Haulrik's avatar Nikolaj Cilleborg Haulrik
...@@ -94,4 +94,6 @@ We wish to implement a behavior that handles a situation where the robot is clos ...@@ -94,4 +94,6 @@ We wish to implement a behavior that handles a situation where the robot is clos
If all distances are less than the stopThreshold the car backs up a little before it turns 180 degrees. If all distances are less than the stopThreshold the car backs up a little before it turns 180 degrees.
#### Result: #### Result:
As the program was executed we observed the following:
[![image alt text](http://img.youtube.com/vi/Lsahzi8ipL4/0.jpg)](http://www.youtube.com/watch?v=Lsahzi8ipL4) [![image alt text](http://img.youtube.com/vi/Lsahzi8ipL4/0.jpg)](http://www.youtube.com/watch?v=Lsahzi8ipL4)
The robot drives through a closed alley. When the robot meets the dead end, and can't find space in any direction it makes a u-turn and drives in the opposite direction.
\ No newline at end of file