cvf06035 created page: home authored by Camilla Marie Vinther Frederiksen's avatar Camilla Marie Vinther Frederiksen
......@@ -97,7 +97,7 @@ The plot of this data can be seen in Figure 2, and a video recording of it can b
Additionally, we decided to log the sound sensor recording of a loud clap, as we thought this data could be useful to have in Exercise 5 and so decided that we might as
well log it when we were using the ***SoundSampling.java*** program anyway.
![Plot of consistent high pitch noise being moved away from the sound sensor](week5/img/PauseskærmLog.png)
![Plot of consistent high pitch noise being moved away from the sound sensor](https://gitlab.au.dk/LEGO/lego-kode/raw/master/week5/img/PauseskærmLog.png)
*Figure 2: Plot of consistent high pitch noise being moved away from the sound sensor.*
......@@ -142,7 +142,7 @@ Figure 3: It simply calls **System.exit(0)** when escape is pressed. We consider
but since the button listener is not defined inside the loop, this would not work. Neither could we just call the **Car** class and tell it to stop its engines, as
the program would still be running. We therefore decided that System.exit was the best (simple) solution, and it turned out to work perfectly.
![Button listener implemenation](week5/img/ButtonListener.png)
![Button listener implemenation](https://gitlab.au.dk/LEGO/lego-kode/raw/master/week5/img/ButtonListener.png)
*Figure 3: Button listener implementation.*
......@@ -204,7 +204,7 @@ Comparing the resulting graph in Figure 4 with Toledo's numbers, we see that it
within 250 ms. This hints that, given optimal (/bathroomish) conditions, the robot should be able to recognize our claps as claps. I.e. our conclusions about disturbances
from the environment being the reason for the suboptimal behaviour of the robot are probably correct, as the values used in our implementation fit with our claps.
![Plot of bahtroom clap](week5/img/figure_1.png)
![Plot of bahtroom clap](https://gitlab.au.dk/LEGO/lego-kode/raw/master/week5/img/figure_1.png)
*Figure 4: Plot of bathroom clap.*
### Exercise 6: Party finder robot
......
......