- authored by lildholdt's avatar lildholdt
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
## Lab Notebook - Lesson 10 ## Lab Notebook - Lesson 10
**Date:** 07/05 2015 **Date:** 21/05 2015
**Group members participating:** Ivan Grujic, Lasse Brøsted Pedersen, Steffan Lildholdt, René Nilsson **Group members participating:** Ivan Grujic, Lasse Brøsted Pedersen, Steffan Lildholdt, René Nilsson
...@@ -165,7 +165,7 @@ Odometry was used to track the movements performed in the two behaviors *Avoid o ...@@ -165,7 +165,7 @@ Odometry was used to track the movements performed in the two behaviors *Avoid o
![Behavioral control](https://gitlab.au.dk/rene2014/lego/raw/master/Lesson10/Images/BehavioralControl.jpg) ![Behavioral control](https://gitlab.au.dk/rene2014/lego/raw/master/Lesson10/Images/BehavioralControl.jpg)
Travel route was implemented to drive in a straight line to obtain a simple fixed route. Travel route was implemented to drive in a straight line to obtain a simple fixed route.
The Avoid Obstacle behavoir, which backs the car up 10 cms and turns 90 degrees to the left, is activated by the touch sensor. The Avoid Obstacle behavior, which backs the car up 10 cms and turns 90 degrees to the left, is activated by the touch sensor.
Both behaviors use the `Travel()` and `Rotate()` methods of the `DifferentialPilot`. Both behaviors use the `Travel()` and `Rotate()` methods of the `DifferentialPilot`.
These methods are both called with the `ImmediateReturn` parameter set to true, in order to let the them be suppressed. These methods are both called with the `ImmediateReturn` parameter set to true, in order to let the them be suppressed.
... ...
......