... | ... | @@ -101,3 +101,14 @@ Table 3 |
|
|
We can see there is a difference between using a string directly and a predetermined variable when writing to the LCD screen. The memory usage of the direct input was somewhat higher than the predetermined variable, as depicted on the graph, where it is observable that the time between the graphs’ minimums and maximums are different. The sudden drop of memory use can indicate there is a garbage collector clearing the memory.
|
|
|
|
|
|
## Conclusion
|
|
|
|
|
|
After having completed the exercices we can conclude the following:
|
|
|
|
|
|
Light Values
|
|
|
Sensed light values will change dependant of the colors of the material. Also, how far away you move the sensor from the material will also impact how well it is sensed. Furthermore, turned the red LED on/off will have an impact according to the ambient lighting in the room.
|
|
|
|
|
|
Different Sensing Intervals
|
|
|
We have found that changing the sensing intervals will change the behavior of the robot. If the sensing interval is large (e.g. 1000ms), the robot will behave more inaccurate.
|
|
|
|
|
|
Memory Use
|
|
|
We have shown that the memory usage of a direct input is higher than a predetermined variable. This means that we should avoid using the strings if possible and instead point to a variable in the memory. |
|
|
\ No newline at end of file |