... | ... | @@ -89,6 +89,7 @@ In our experiments so far we have included the entire range of raw light values |
|
|
|
|
|
We have not implemented adaptive minimum and maximum light values in our program, but a simple way to do this would be to maintain a list, or rather a queue, of the last *N* light readings from our sensors, where we throw the oldest value out when the queue is full, and then every update we take the maximum and minimum values from this queue to use for our calculations.
|
|
|
|
|
|
To experiment with the improvements of this adaptation, we would try to set the robot in an environment where we could freely control the ambient lighting to a strong degree, for example completely darken the room and then light it up again. By having the 2b exitatory the robot drive in a normal lighting environment and having it drive around, suddenly turning off all the lights should cause the robot to stop dead, as the new ambient lighting is far too low to give much power to the engines. 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 low ambient lighting, and start driving around normally again, searching light sources.
|
|
|
|
|
|
### Vehicle 3
|
|
|
|
... | ... | |