nhaulrik created page: Lab7 authored by Nikolaj Cilleborg Haulrik's avatar Nikolaj Cilleborg Haulrik
...@@ -81,6 +81,7 @@ We wish to implement a behavior that handles a situation where the robot is clos ...@@ -81,6 +81,7 @@ We wish to implement a behavior that handles a situation where the robot is clos
``` ```
// Back up and turn 180 degrees. // Back up and turn 180 degrees.
if(leftDistance < stopThreshold && rightDistance < stopThreshold && frontDistance < stopThreshold ){ if(leftDistance < stopThreshold && rightDistance < stopThreshold && frontDistance < stopThreshold ){
// back up // back up
... ...
......