u4099 created page: Template authored by Daniel Jung Moltzen's avatar Daniel Jung Moltzen
...@@ -117,10 +117,10 @@ As seen in the above code snippet we implemented a ButtonListener that didn't in ...@@ -117,10 +117,10 @@ As seen in the above code snippet we implemented a ButtonListener that didn't in
### Exercise 5 - Clap Controlled Car ### Exercise 5 - Clap Controlled Car
#### Goal #### Goal
Our goal is to make a method, using Sivan Toledos method[1], that detects clap, and compare this method to the SoundCtrCar.java. Our goal is to make a method, using Sivan Toledos method[2], that detects clap, and compare this method to the SoundCtrCar.java[4].
#### Plan #### Plan
We plan on writing the necessary code and use a Datalogger to record the data and afterwards conclude on the pattern. We plan on writing the necessary code and use a Datalogger[3] to record the data and afterwards conclude on the pattern.
#### Results #### Results
...@@ -130,8 +130,10 @@ We plan on writing the necessary code and use a Datalogger to record the data an ...@@ -130,8 +130,10 @@ We plan on writing the necessary code and use a Datalogger to record the data an
### Exercise 6 - Party Finder Robot ### Exercise 6 - Party Finder Robot
#### Goal #### Goal
The goal is to make the robot drive towards the location with a loud sound.
#### Plan #### Plan
We are going to do this by using the the raw-value from the sensor, for better precision, and by implementing another sensor, so there is two of them.
#### Results #### Results
...@@ -145,3 +147,4 @@ We plan on writing the necessary code and use a Datalogger to record the data an ...@@ -145,3 +147,4 @@ We plan on writing the necessary code and use a Datalogger to record the data an
1. leJos tutorial, [Threads, Listeners and Events.](http://lejos.sourceforge.net/nxt/nxj/tutorial/ListenersAndEvents/Listeners_Events.htm) 1. leJos tutorial, [Threads, Listeners and Events.](http://lejos.sourceforge.net/nxt/nxj/tutorial/ListenersAndEvents/Listeners_Events.htm)
2. Sivan Toledo, [A Clap Counter](http://www.tau.ac.il/~stoledo/lego/ClapCounter/), Oct 2006. 2. Sivan Toledo, [A Clap Counter](http://www.tau.ac.il/~stoledo/lego/ClapCounter/), Oct 2006.
3. [Datalogger](http://en.wikipedia.org/wiki/Data_logger), Wikipedia. 3. [Datalogger](http://en.wikipedia.org/wiki/Data_logger), Wikipedia.
4. Sourcecode can be found in [Lesson3programs.zip.](http://legolab.cs.au.dk/DigitalControl.dir/NXT/Lesson3.dir/Lesson3programs.zip.