Changes
Page history
nhaulrik created page: Lab7
authored
Apr 17, 2015
by
Nikolaj Cilleborg Haulrik
Show whitespace changes
Inline
Side-by-side
Lab7.markdown
View page @
e5730a00
...
@@ -82,7 +82,7 @@ We wish to implement a behavior that handles a situation where the robot is clos
...
@@ -82,7 +82,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 ){
// back up
// back up
car.backward(power, power);
car.backward(power, power);
...
...
...
...