Changes
Page history
jessvi created page: Lab6
authored
Apr 13, 2015
by
Jesper Kurtzmann Svith
Show whitespace changes
Inline
Side-by-side
Lab6.markdown
View page @
612b399e
...
...
@@ -30,7 +30,7 @@ To use two motors to drive the vehicle and apply the same sound value as the pow
We started by equipping the robot with a sound sensor as seen in the picture below:


##### Fig. 1 - robot with microphone
Then we configured a SoundVehicle.java class which reads values from the sound sensor and maps the value to both motors on the robot. The code snippet[Fig. 2] below shows how the program reads the sound value and maps it to the motors:
...
...
...
...