... | ... | @@ -70,8 +70,15 @@ For the first experiment we mounted the two sensors at the front of the robot at |
|
|
![IMG_0567 angle 0 smaller](http://gitlab.au.dk/uploads/group-22/lego/c8e25114fd/IMG_0567_angle_0_smaller.jpg)
|
|
|
##### Fig. 4 -
|
|
|
|
|
|
To conduct our experiments we configured a LightVehicle.java class which mapped the light readings from each of the two sensors to the motors (see snippet).
|
|
|
|
|
|
For each experiment we implemented both the inhibitory and the exitatory behavior (ref). The exitatory behavior causes the robot to accelerate as it nears the light source, and the inhibatory behavior caused the robot to decelerate as it detects more light. The different behaviors were implemented using this mapping of the motors and sensors:
|
|
|
|
|
|
Exitatory behavior:
|
|
|
|
|
|
## References
|
|
|
|
|
|
#### Literature
|
|
|
[1] Braitenberg, V. 1984. Vehicles, Experiments in Synthetic Psychology London, Cambridge: The MIT Press.
|
|
|
|
|
|
[2] Tom Dean, http://cs.brown.edu/people/tld/courses/cs148/02/introduction.html |
|
|
\ No newline at end of file |