... | @@ -59,6 +59,11 @@ Switching on everything else again: all behaviours were observable - we saw avoi |
... | @@ -59,6 +59,11 @@ Switching on everything else again: all behaviours were observable - we saw avoi |
|
TODO: insert program code
|
|
TODO: insert program code
|
|
|
|
|
|
### SharedCar and Arbiter
|
|
### SharedCar and Arbiter
|
|
|
|
|
|
|
|
In the provided code, the arbitration suggested by Jones, Flynn, and Seiger [2, pp. 306] is implemented in the classes ***SharedCar*** and ***Arbiter*** in the "reverse order" compared to the code presented by Jones et al.: The Arbiter goes through the list and enters
|
|
|
|
|
|
|
|
Compare this with the arbiter of Fred Martin, [4, page 214-218].
|
|
|
|
|
|
"reverse order": goes through list and enters loop on the first SharedCar that has a command waiting and then performs the command before breaking the for loop and starting over with the list.
|
|
"reverse order": goes through list and enters loop on the first SharedCar that has a command waiting and then performs the command before breaking the for loop and starting over with the list.
|
|
|
|
|
|
|
|
|
... | @@ -70,7 +75,6 @@ TODO: |
... | @@ -70,7 +75,6 @@ TODO: |
|
- samlet konklusion (succes? hvad har vi lært?)
|
|
- samlet konklusion (succes? hvad har vi lært?)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## References
|
|
## References
|
|
[1] Rodney Brooks, [A robust layered control system for a mobile robot](http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=1087032), IEEE Journal of Robotics and Automation, RA-2(1):14-23, 1986
|
|
[1] Rodney Brooks, [A robust layered control system for a mobile robot](http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=1087032), IEEE Journal of Robotics and Automation, RA-2(1):14-23, 1986
|
|
|
|
|
... | | ... | |