marvin:lab8
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
marvin:lab8 [2008/11/07 13:01] – deva | marvin:lab8 [2008/11/07 13:19] – sohn | ||
---|---|---|---|
Line 15: | Line 15: | ||
====Execution==== | ====Execution==== | ||
We modified the code to be more modular. This was not part of the exercise, but it made it a lot easier to test individual modules. Below follows | We modified the code to be more modular. This was not part of the exercise, but it made it a lot easier to test individual modules. Below follows | ||
+ | |||
+ | {{marvin: | ||
* The constant tooCloseThreshold was initially set to be 20 cm, but this was not enough to take into account our modified Marvin which has a plate seperating the two lightsensors. There this constant was changed to 35 instead. | * The constant tooCloseThreshold was initially set to be 20 cm, but this was not enough to take into account our modified Marvin which has a plate seperating the two lightsensors. There this constant was changed to 35 instead. | ||
* The constants in the thread RandonDrive.java has been change to accomdate more action, less waiting. We wanted Marvin to move longere before there were the tread ended. This caused Marvin to be more " | * The constants in the thread RandonDrive.java has been change to accomdate more action, less waiting. We wanted Marvin to move longere before there were the tread ended. This caused Marvin to be more " | ||
+ | **Video of Marvin running with default code**\\ | ||
+ | [[http:// | ||
===RandomDrive=== | ===RandomDrive=== | ||
Line 27: | Line 31: | ||
+ | ====Modular Priority System==== | ||
+ | Bent writes this part | ||
- | http:// | + | ====Java Thread==== |
+ | The '' | ||
- | **Video and pictures**\\ | + | |
- | [[http:// | + | ====Threaded implementation of " |
- | {{marvin: | + | Bent writes this part |
**Video for "Drive towards light test" | **Video for "Drive towards light test" | ||
- | [[http:// | + | [[http:// |
+ | |||
+ | ====Conclusion==== | ||
+ | The layered behavior model seems to work very well for the implementation of an autonomous roboot. We believe that with an added push sensor Marvin would be able to navigate in any room avoiding any obstacles and find the exit with lights. |
marvin/lab8.txt · Last modified: 2008/11/14 08:50 by rieper