Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LEGO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
René Søndergaard Nilsson
LEGO
Wiki
Lesson 3
Changes
Page history
New page
Templates
Clone repository
Added video and comments for ex3
authored
9 years ago
by
ivangrujic
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Lesson-3.markdown
+6
-3
6 additions, 3 deletions
Lesson-3.markdown
with
6 additions
and
3 deletions
Lesson-3.markdown
View page @
a2ca81b7
...
@@ -32,10 +32,13 @@ At time = 28 a high peak is detected. This was caused by a nearby group making a
...
@@ -32,10 +32,13 @@ At time = 28 a high peak is detected. This was caused by a nearby group making a
### Exercise 3
### Exercise 3
The SoundCtrCar.java program ha
ve
four states. Whenever a loud sound is recorded, the state
will be
change.
The SoundCtrCar.java program ha
s
four states. Whenever a loud sound is recorded, the state change
s
.
As it is shown in the video below, the four states are driving forward, turning right, turning left and stopping.
As it is shown in the video below, the four states are driving forward, turning right, turning left and stopping
in that order
.
TBD: Add video.
[
![Controlling the car with claps
](
http://img.youtube.com/vi/4ZlUZsZn74Y/0.jpg
)
](http://www.youtube.com/watch?v=4ZlUZsZn74Y)
We noticed whilst doing the exercise that it was important to clap right in front of the sensor.
As the clap is recognized as a loud sound, if we didn't clap close enough, the sound would be to weak and not recognized as a clap.
### Exercise 4
### Exercise 4
TBD: Add codesnippet of ButtonListener implementation
TBD: Add codesnippet of ButtonListener implementation
...
...
This diff is collapsed.
Click to expand it.