... | ... | @@ -180,4 +180,46 @@ However, it could also be due to the angle towards the wall that makes it hard f |
|
|
The implemented code can be found in reference 12.
|
|
|
|
|
|
### Conclusion
|
|
|
In the process of conducting the first experiment the robot had some problems when trying to find the dark garage. When conducting the next experiment, finding the light, it worked better. It drove towards the light and stopped right in the brightest light. In the video[9] that used two ultrasonic sensor to navigate the vehicle, which resulted it to bump into obstructions. It looked like it was using the continuous mode for sensors and poor angles resulting in the bad results. |
|
|
\ No newline at end of file |
|
|
In the process of conducting the first experiment the robot had some problems when trying to find the dark garage. When conducting the next experiment, finding the light, it worked better. It drove towards the light and stopped right in the brightest light. In the video[9] that used two ultrasonic sensor to navigate the vehicle, which resulted it to bump into obstructions. It looked like it was using the continuous mode for sensors and poor angles resulting in the bad results.
|
|
|
|
|
|
|
|
|
## Exercise 3 - Vehicle 3
|
|
|
|
|
|
### Goal
|
|
|
The goal with this exercise is to make a vehicle that moves with two kind of sensors. We want to figure out how to map the values that are coming from the two kind of sensors to the motor power.
|
|
|
|
|
|
![Braitenberg Vehicle 3](http://gitlab.au.dk/uploads/u4099/legolabtimadala/fbbbc5e031/Braitenberg_Vehicle_3.png)
|
|
|
##### Figure 3 - Braitenberg Vehicle 3
|
|
|
|
|
|
|
|
|
### Plan
|
|
|
We are planning to use two light sensors and two ultrasonic sensors when conducting the experiment. The sensors will be placed accordingly to figure 3, and the end result can be seen below. We will try to make the vehicle follow light via the light sensors, and when there is an object within the range of 20 cm, the ultrasonic sensors will take over to avoid obstacles.
|
|
|
|
|
|
|
|
|
![IMG_0143](http://gitlab.au.dk/uploads/u4099/legolabtimadala/d68b95ba48/IMG_0143.JPG)
|
|
|
##### Picture 3: Our vehicle with 2 lightsensor and 2 ultrasonic sensors.
|
|
|
|
|
|
|
|
|
### Results
|
|
|
|
|
|
|
|
|
### Implemented code:
|
|
|
|
|
|
|
|
|
### Conclusion
|
|
|
|
|
|
|
|
|
### References
|
|
|
1 Tom Dean [Introduction to Machina Speculatrix and Braitenberg Vehicles](http://www.cs.brown.edu/people/tld/courses/cs148/02/introduction.html).
|
|
|
2 [Lesson3programs.zip.](http://www.google.com/url?q=http%3A%2F%2Flegolab.cs.au.dk%2FDigitalControl.dir%2FNXT%2FLesson3.dir%2FLesson3programs.zip&sa=D&sntz=1&usg=AFQjCNEju6Cq5BeMAErxwgBMbIBRcepsYg).
|
|
|
3 [Exercise1.java](https://www.dropbox.com/s/hltktpes3xdw2zc/SoundCtrCar.java?dl=0).
|
|
|
4 [Video 1](http://www.youtube.com/watch?v=6xmiIcyXkkI).
|
|
|
5 [Video 2](http://www.youtube.com/watch?v=RjXNnXft9nQ).
|
|
|
6 [Video 3](http://www.youtube.com/watch?v=4LKgasz8anE).
|
|
|
7 [Video 4](https://youtu.be/8DpxHx9AwUU).
|
|
|
8 [Video 5](https://youtu.be/PZUEhHuiW0I).
|
|
|
9 [Vehículo de Braitenberg Sensores Ultrasónicos](http://www.youtube.com/watch?v=fMIJ_Qhzg_8).
|
|
|
10 [Video 6](https://youtu.be/otqaDsVZj0s).
|
|
|
11 [Video 7](https://youtu.be/uJr25tRH6FQ).
|
|
|
12 [Exercise2.java](https://www.dropbox.com/s/zuhoyhj7pqa6mh1/Exercise2.java?dl=0).
|
|
|
|