Chapter Computer Simulation of Human- Robot Collaboration ...
Chapter 11 - comsatsseschool.files.wordpress.com · Chapter 11 MAPS. A Robot Monitoring System...
Transcript of Chapter 11 - comsatsseschool.files.wordpress.com · Chapter 11 MAPS. A Robot Monitoring System...
![Page 1: Chapter 11 - comsatsseschool.files.wordpress.com · Chapter 11 MAPS. A Robot Monitoring System •Each robot will have a unique name and a mode, which can be WORKING, IDLE or BROKEN.](https://reader035.fdocuments.net/reader035/viewer/2022071210/6020ed63d1cba237b143d23b/html5/thumbnails/1.jpg)
Chapter 11
MAPS
![Page 2: Chapter 11 - comsatsseschool.files.wordpress.com · Chapter 11 MAPS. A Robot Monitoring System •Each robot will have a unique name and a mode, which can be WORKING, IDLE or BROKEN.](https://reader035.fdocuments.net/reader035/viewer/2022071210/6020ed63d1cba237b143d23b/html5/thumbnails/2.jpg)
A Robot Monitoring System
• Each robot will have a unique name and a mode, which can be WORKING, IDLE or BROKEN. There are two sectors, A and B, in which a robot can be set to work. The following operations are required:
• addRobot: accepts the name of a new robot and records the fact that this robot has been added to the collection. Its mode is set to idle and it is therefore not allocated a sector to work in.
• removeRobot: accepts the name of a robot and records the removal of this robot from the system.
![Page 3: Chapter 11 - comsatsseschool.files.wordpress.com · Chapter 11 MAPS. A Robot Monitoring System •Each robot will have a unique name and a mode, which can be WORKING, IDLE or BROKEN.](https://reader035.fdocuments.net/reader035/viewer/2022071210/6020ed63d1cba237b143d23b/html5/thumbnails/3.jpg)
Operations requirements
• setToWork: accepts the name of a robot, that must currently be idle, and records the fact that it has been set to work in a given sector.
• finishWork: accepts the name of a robot, and records the fact that this robot has been removed from the sector and that its mode has been set to idle.
• needsRepair: as above but records its mode as broken.• fixed: accepts the name of a broken robot and records that
that its mode has been set to idle.• inSector: accepts a given sector and returns the names of
those robots in that sector.• numberToRepair: returns the number of broken robots.
![Page 4: Chapter 11 - comsatsseschool.files.wordpress.com · Chapter 11 MAPS. A Robot Monitoring System •Each robot will have a unique name and a mode, which can be WORKING, IDLE or BROKEN.](https://reader035.fdocuments.net/reader035/viewer/2022071210/6020ed63d1cba237b143d23b/html5/thumbnails/4.jpg)
![Page 5: Chapter 11 - comsatsseschool.files.wordpress.com · Chapter 11 MAPS. A Robot Monitoring System •Each robot will have a unique name and a mode, which can be WORKING, IDLE or BROKEN.](https://reader035.fdocuments.net/reader035/viewer/2022071210/6020ed63d1cba237b143d23b/html5/thumbnails/5.jpg)
![Page 6: Chapter 11 - comsatsseschool.files.wordpress.com · Chapter 11 MAPS. A Robot Monitoring System •Each robot will have a unique name and a mode, which can be WORKING, IDLE or BROKEN.](https://reader035.fdocuments.net/reader035/viewer/2022071210/6020ed63d1cba237b143d23b/html5/thumbnails/6.jpg)
![Page 7: Chapter 11 - comsatsseschool.files.wordpress.com · Chapter 11 MAPS. A Robot Monitoring System •Each robot will have a unique name and a mode, which can be WORKING, IDLE or BROKEN.](https://reader035.fdocuments.net/reader035/viewer/2022071210/6020ed63d1cba237b143d23b/html5/thumbnails/7.jpg)
![Page 8: Chapter 11 - comsatsseschool.files.wordpress.com · Chapter 11 MAPS. A Robot Monitoring System •Each robot will have a unique name and a mode, which can be WORKING, IDLE or BROKEN.](https://reader035.fdocuments.net/reader035/viewer/2022071210/6020ed63d1cba237b143d23b/html5/thumbnails/8.jpg)
![Page 9: Chapter 11 - comsatsseschool.files.wordpress.com · Chapter 11 MAPS. A Robot Monitoring System •Each robot will have a unique name and a mode, which can be WORKING, IDLE or BROKEN.](https://reader035.fdocuments.net/reader035/viewer/2022071210/6020ed63d1cba237b143d23b/html5/thumbnails/9.jpg)
![Page 10: Chapter 11 - comsatsseschool.files.wordpress.com · Chapter 11 MAPS. A Robot Monitoring System •Each robot will have a unique name and a mode, which can be WORKING, IDLE or BROKEN.](https://reader035.fdocuments.net/reader035/viewer/2022071210/6020ed63d1cba237b143d23b/html5/thumbnails/10.jpg)
![Page 11: Chapter 11 - comsatsseschool.files.wordpress.com · Chapter 11 MAPS. A Robot Monitoring System •Each robot will have a unique name and a mode, which can be WORKING, IDLE or BROKEN.](https://reader035.fdocuments.net/reader035/viewer/2022071210/6020ed63d1cba237b143d23b/html5/thumbnails/11.jpg)
![Page 12: Chapter 11 - comsatsseschool.files.wordpress.com · Chapter 11 MAPS. A Robot Monitoring System •Each robot will have a unique name and a mode, which can be WORKING, IDLE or BROKEN.](https://reader035.fdocuments.net/reader035/viewer/2022071210/6020ed63d1cba237b143d23b/html5/thumbnails/12.jpg)
![Page 13: Chapter 11 - comsatsseschool.files.wordpress.com · Chapter 11 MAPS. A Robot Monitoring System •Each robot will have a unique name and a mode, which can be WORKING, IDLE or BROKEN.](https://reader035.fdocuments.net/reader035/viewer/2022071210/6020ed63d1cba237b143d23b/html5/thumbnails/13.jpg)
![Page 14: Chapter 11 - comsatsseschool.files.wordpress.com · Chapter 11 MAPS. A Robot Monitoring System •Each robot will have a unique name and a mode, which can be WORKING, IDLE or BROKEN.](https://reader035.fdocuments.net/reader035/viewer/2022071210/6020ed63d1cba237b143d23b/html5/thumbnails/14.jpg)
![Page 15: Chapter 11 - comsatsseschool.files.wordpress.com · Chapter 11 MAPS. A Robot Monitoring System •Each robot will have a unique name and a mode, which can be WORKING, IDLE or BROKEN.](https://reader035.fdocuments.net/reader035/viewer/2022071210/6020ed63d1cba237b143d23b/html5/thumbnails/15.jpg)
![Page 16: Chapter 11 - comsatsseschool.files.wordpress.com · Chapter 11 MAPS. A Robot Monitoring System •Each robot will have a unique name and a mode, which can be WORKING, IDLE or BROKEN.](https://reader035.fdocuments.net/reader035/viewer/2022071210/6020ed63d1cba237b143d23b/html5/thumbnails/16.jpg)
![Page 17: Chapter 11 - comsatsseschool.files.wordpress.com · Chapter 11 MAPS. A Robot Monitoring System •Each robot will have a unique name and a mode, which can be WORKING, IDLE or BROKEN.](https://reader035.fdocuments.net/reader035/viewer/2022071210/6020ed63d1cba237b143d23b/html5/thumbnails/17.jpg)
![Page 18: Chapter 11 - comsatsseschool.files.wordpress.com · Chapter 11 MAPS. A Robot Monitoring System •Each robot will have a unique name and a mode, which can be WORKING, IDLE or BROKEN.](https://reader035.fdocuments.net/reader035/viewer/2022071210/6020ed63d1cba237b143d23b/html5/thumbnails/18.jpg)
![Page 19: Chapter 11 - comsatsseschool.files.wordpress.com · Chapter 11 MAPS. A Robot Monitoring System •Each robot will have a unique name and a mode, which can be WORKING, IDLE or BROKEN.](https://reader035.fdocuments.net/reader035/viewer/2022071210/6020ed63d1cba237b143d23b/html5/thumbnails/19.jpg)
Thanks