... | ... | @@ -201,9 +201,15 @@ We are planning to use two light sensors and two ultrasonic sensors when conduct |
|
|
|
|
|
|
|
|
### Results
|
|
|
When implementing the ultrasonic sensors we ran into problems. The values that was shown directly on the robot from the sensors was wrong. We wanted to have values from 0 - 255, but instead the values started on 150 and went all the way up to 900. A datalogger was then implemented to log the values from the sensors[13]. The logged values, however, seemed correct, and we do not know why this is, because it ought to be the same values directly on the robots screen as well as in the datalogger.
|
|
|
|
|
|
|
|
|
[![image alt text](http://img.youtube.com/vi/5DnDGT5rjyc/0.jpg)](http://www.youtube.com/watch?v=5DnDGT5rjyc)
|
|
|
##### Video 8 - Video of vehicle 3 with Datalogger
|
|
|
|
|
|
|
|
|
### Implemented code:
|
|
|
The code used for this exercise can be found in reference 14.
|
|
|
|
|
|
|
|
|
### Conclusion
|
... | ... | @@ -222,4 +228,6 @@ We are planning to use two light sensors and two ultrasonic sensors when conduct |
|
|
10. [Video 6](https://youtu.be/otqaDsVZj0s).
|
|
|
11. [Video 7](https://youtu.be/uJr25tRH6FQ).
|
|
|
12. [Exercise2.java](https://www.dropbox.com/s/zuhoyhj7pqa6mh1/Exercise2.java?dl=0).
|
|
|
|
|
|
13. [DataloggingExercise3]()
|
|
|
14. [Exercise3.java](https://www.dropbox.com/s/q63ox9o6sg8zofa/finalTest.java?dl=0)
|
|
|
15. [MaxMinLight.java](https://www.dropbox.com/s/arie1uzp15dvs0h/braitenbergAdapt.java?dl=0). |