marvin:lab10
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:lab10 [2008/11/28 09:01] – deva | marvin:lab10 [2008/11/28 09:14] – deva | ||
---|---|---|---|
Line 9: | Line 9: | ||
{{marvin: | {{marvin: | ||
//Marvin// | //Marvin// | ||
+ | |||
====Plan==== | ====Plan==== | ||
- | The plan for today is devided into two parts. First we will investigate and evaluate the behaviour of BumperCar((BumperCar.java can be found in the example folder of the LejOS source code - http:// | + | The plan for today is devided into two parts. First we will investigate and evaluate the behaviour of BumperCar((BumperCar.java can be found in the example folder of the LejOS source code - http:// |
===Part One=== | ===Part One=== | ||
Line 17: | Line 18: | ||
* Behaviour of BumberCar((BumperCar.java can be found in the example folder of the LejOS source code - http:// | * Behaviour of BumberCar((BumperCar.java can be found in the example folder of the LejOS source code - http:// | ||
* Investigate the source code for the Arbitrator((http:// | * Investigate the source code for the Arbitrator((http:// | ||
- | * Implement a third behaviour called | + | * Implement a third behaviour called |
- | * Implement a fourth behaviour called | + | * Implement a fourth behaviour called |
===Part Two=== | ===Part Two=== | ||
- | Implementation | + | Suggest alternative implementation |
====Execution==== | ====Execution==== | ||
Line 108: | Line 109: | ||
// | // | ||
\\ | \\ | ||
- | The first time Marvin hits the wall his motivation to backout | + | The first time Marvin hits the wall his motivation to back out and turn should be major. If '' |
The implementation of this could be e.g. 10-20 seconds time interval from first hit to full motivation and could be an integer or percentage (floating point number) that will increase the speed Marvin backs up with and second the degree of turn that he makes. | The implementation of this could be e.g. 10-20 seconds time interval from first hit to full motivation and could be an integer or percentage (floating point number) that will increase the speed Marvin backs up with and second the degree of turn that he makes. | ||
- | ====Discussion==== | + | ====Conclusion==== |
+ | The LejOS implementation of the Arbitrator seems very random, and in many cases it disqualifies as an arbitrator.\\ | ||
+ | A new implementation of the arbitrator could be made using the Krink model. | ||
- | |||
- | ====Conclusion==== |
marvin/lab10.txt · Last modified: 2008/11/28 09:16 by deva