... | ... | @@ -42,7 +42,8 @@ The cardboard and trashcan differs around 1 to 2 cm. This is ok a ok result sinc |
|
|
Ink problems
|
|
|
We experienced problems with an ink ""patron"" at a distance of 120 cm. It hits the bumps on the front of the catridge as seen on Figure and the sound goes of into another direction. Which result in the "ping" not returning.
|
|
|
|
|
|
[Figure - Inkpatron](http://i.imgur.com/sAR8ELR.jpg)[2]
|
|
|
![Figure - Inkpatron](http://i.imgur.com/Va7TO4F.jpg)[2]
|
|
|
> The ink patron
|
|
|
|
|
|
### Exercise 2
|
|
|
A smaller amount of sleeping seems to update distance faster. This makes sense.
|
... | ... | @@ -75,7 +76,7 @@ On an upwards angled wall the NXT could not measure beyond 101 cm and using a la |
|
|
|
|
|
Using the speed of sound (340,29 m/s) and the max distance of 255 cm we can calculate the time limit of the sensor:
|
|
|
|
|
|
$2,55 m * 2 / 340,29 m/s = 0,015 ms$
|
|
|
2,55 m * 2 / 340,29 m/s = 0,015 ms
|
|
|
|
|
|
This is half of the delay leJOS has built into the getDistance function. This time limit can most likely limit the usage of the sensor as you will never be able to measure beyond 255 cm even if the sensor could measure the sound coming back from the speaker. In some good conditions we could actually measure 254 cm which means we probably would be able to measure beyond 255 cm in the right conditions.
|
|
|
|
... | ... | |