... | ... | @@ -119,7 +119,10 @@ We have not implemented adaptive minimum and maximum light values in our program |
|
|
|
|
|
A way to experiment with this adaptation to investigate the improvements introduced by it could be to place the robot in an environment where the ambient lighting could be controlled to a high degree, for example with the ability to completely darken the room and then light it up again. By having the 2b in the exitatory mode, having the robot drive around in a medium lit environment and suddenly turning off all the lights should cause the robot to stop dead, as the new ambient lighting is far too low to set the power level of the motors high enough. However, after enough time has passed for all the recorded light values in the queue to be shoved out, the robot would adapt to the new dim ambient lighting and start driving around normally again, searching for sources of light.
|
|
|
|
|
|
While we have no video to see the behavior of the robot described in figure 6, we can assume that it would crash into any small object placed directly in front of it, as the sensors are placed far too wide to detect any hindrance like this. A solution to this problem would be to simply place the sensors much closer to the center of the robot. There is no need for them to be further away than the edge of the robot, in order to prevent it from bumping into anything.
|
|
|
In the lesson plan, an alternative build is presented (see Figure 5, "Figure 6" in the lesson plan). We have no video showing the behavior of the robot shown in Figure 5, but we assume that it would crash into any small object placed directly in front of it, as the sensors are placed with far too large a space in between them to detect a hindrance of this form. A solution to this problem would be to simply place the sensors closer to the center of the robot. There is no need for them to be further away than the edge of the robot, in order to prevent it from bumping into anything. (TODO: kunne det ikke være, at der er en god grund til, at sensorerne er så langt ude? (Ida))
|
|
|
|
|
|
![alternative build](https://gitlab.au.dk/LEGO/lego-kode/raw/master/week8/img/fig6.PNG)
|
|
|
*Figure 5: Alternative build, as illustrated in the lesson plan*
|
|
|
|
|
|
|
|
|
### Vehicle 3
|
... | ... | |