@@ -80,12 +80,14 @@ Change the program so that the car drives backwards a little when all the three
...
@@ -80,12 +80,14 @@ Change the program so that the car drives backwards a little when all the three
We wish to implement a behavior that handles a situation where the robot is close to a surface in the directions front, left and right and makes a u-turn and drives in the opposite direction. To do this we use the following code (Fig.4):
We wish to implement a behavior that handles a situation where the robot is close to a surface in the directions front, left and right and makes a u-turn and drives in the opposite direction. To do this we use the following code (Fig.4):