jessvi created page: Lab6 authored by Jesper Kurtzmann Svith's avatar Jesper Kurtzmann Svith
...@@ -67,7 +67,7 @@ We will test three different positions of the light sensors and test how it affe ...@@ -67,7 +67,7 @@ We will test three different positions of the light sensors and test how it affe
For the first experiment we mounted the two sensors at the front of the robot at an angle of ~45 degrees and a space of 12 cm. For the second experiment we used an angle of ~10 degrees, and for the third we placed the sensors at 0 degrees, where the sensors pointed in the direction of the robot. (see picture) For the first experiment we mounted the two sensors at the front of the robot at an angle of ~45 degrees and a space of 12 cm. For the second experiment we used an angle of ~10 degrees, and for the third we placed the sensors at 0 degrees, where the sensors pointed in the direction of the robot. (see picture)
![IMG_0567 angle 0 smaller](http://gitlab.au.dk/uploads/group-22/lego/c8e25114fd/IMG_0567_angle_0_smaller.jpg) ![opstillinger](http://gitlab.au.dk/uploads/group-22/lego/985a2cafa8/opstillinger.jpg)
##### Fig. 4 - ##### 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). 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).
... ...
......