... | ... | @@ -36,7 +36,8 @@ A range of 0 to 100 could make sense as it incorporates noise levels up to shout |
|
|
|
|
|
Ideally we would run some more thorough experiments to figure out the exact range that the sound sensor can measure, but we opted not to do this. The result of running this program can be seen in Video 1.
|
|
|
|
|
|
[TODO: Video]
|
|
|
[![Shitty SoundLover](http://img.youtube.com/vi/wv9ga8l1Ta0/0.jpg)](https://www.youtube.com/watch?v=wv9ga8l1Ta0)
|
|
|
|
|
|
*Video 1: The robot running SoundLover.java*
|
|
|
|
|
|
As can be seen in the video, the robot starts driving forward fine when measuring some noise, however it keeps driving forward with full speed despite receiving (almost) no sound. We judged this as being a result of one of two things: The sound sensor could be vibrating too violently when the robot is driving full force, which the sensor interprets as a loud sound thereby causing a constant feedback loop making the robot continue to drive forward. Alternatively, it could simplu be that the sound made by the motors is loud enough to cause the robot to keep driving. A combination of the two being the cause is also likely.
|
... | ... | |