... | ... | @@ -169,3 +169,24 @@ As seen in our experiments, when the lego car goes uphill from the steep area to |
|
|
#### Making it faster:
|
|
|
If given more time, we would have liked to make the Lego car complete the track in lesser time. We believe that this could be done by more tweaking and experimenting with motor power values and better code. Although, it should be very likely to achieve such a thing by using 4 light sensors as we ended up doing in our process.
|
|
|
|
|
|
|
|
|
## Final Results
|
|
|
Our final version of the trial and error was successful, we managed to get the robot to complete the track by following the line and by using our premade turns. Our final time for the track was a bit over 55 second.
|
|
|
|
|
|
|
|
|
[![image alt text](http://img.youtube.com/vi/CTrrWSmLX140.jpg)](http://www.youtube.com/watch?v=CTrrWSmLX14)
|
|
|
#####Video 3: Robot completing the track - Time: 55 seconds
|
|
|
|
|
|
|
|
|
## Conclusion
|
|
|
After a lot of trial and error, experimenting and testing, we have reached a robot version that can complete the track in 55 seconds. We have used 4 light sensors, two in the front and two in back of the lego car. The two in front makes sure that the Lego car follows the black line up the ramp, and the two rear sensors detects when the Lego car has to turn. The turns and motor power are hard coded.This supports the sequential mechanism since we can create a counter that increments each time a turn has been accomplished. Our tweaking and testing have hereby led us to a car that can complete the track.
|
|
|
|
|
|
|
|
|
## References
|
|
|
1. [http://www.techbrick.com/Lego/TechBrick/TechTips/NXTCalibration/]
|
|
|
2. [Video 1: Motor Testing](https://youtu.be/wqnneXyvkh4)
|
|
|
3. [Video 2: 1 Llightsensor+PID](http://youtu.be/Yf35GVgVinQ)
|
|
|
4. [racingTrack.java](https://www.dropbox.com/s/7hpp5oebwzxofdy/racingTrack.java?dl=0)
|
|
|
5. [Video 3: Robot completing the track - Time: 55 seconds](https://youtu.be/CTrrWSmLX14)
|
|
|
6. [colorChecker.java](https://www.dropbox.com/s/yomfwtn98i7frpc/colorChecker.java?dl=0)
|
|
|
7. [BlackWhiteSensor](https://www.dropbox.com/s/eteum8qgmyt8xok/BlackWhiteSensor.java?dl=0) |
|
|
\ No newline at end of file |