Wiki source code of UC02.1: Doing a dance

Last modified by Rick Dekker on 2023/04/10 17:00

Show last authors
1 |**Objective**|[[OB01: Entertain and stimulate PwD>>path:/xwiki/wiki/sce202306/view/2.%20Specification/Objectives/]](((
2 [[OB02: Give life to the room of the PwD>>path:/xwiki/wiki/sce202306/view/2.%20Specification/Objectives/]]
3
4 [[OB05: Reduce stress and offer a distraction for the PwD>>path:/xwiki/wiki/sce202306/view/2.%20Specification/Objectives/]]
5 )))
6 |**TDP**|N/A
7 |**Actors**|[[Person with Dementia>>path:/xwiki/wiki/sce202306/view/Main/sdf/Stakeholders/Direct%20Stakeholders/Person%20with%20dementia/]], [[Nurse/Caretaker>>path:/xwiki/wiki/sce202306/view/Main/sdf/Stakeholders/Direct%20Stakeholders/NurseCaretaker/]], [[Dogg0>>doc:0\. Introduction.WebHome]]
8 |**Pre-condition**|(((
9 [[Person with Dementia >>path:/xwiki/wiki/sce202306/view/Main/sdf/Stakeholders/Direct%20Stakeholders/Person%20with%20dementia/]]is in the same room as the robot;
10
11 Dogg0 is ready to start a dance, in a spot that's visible to the [[Person with Dementia>>path:/xwiki/wiki/sce202306/view/Main/sdf/Stakeholders/Direct%20Stakeholders/Person%20with%20dementia/]];
12 )))
13 |**Post-condition**|The dance has finished.
14 |**Action sequence**|(((
15 1. [[Person with Dementia>>path:/xwiki/wiki/sce202306/view/Main/sdf/Stakeholders/Direct%20Stakeholders/Person%20with%20dementia/]] or [[Nurse/Caretaker >>path:/xwiki/wiki/sce202306/view/Main/sdf/Stakeholders/Direct%20Stakeholders/NurseCaretaker/]]initiates the dance. A dance can be initiated in two ways
16 11. [[Person with Dementia>>path:/xwiki/wiki/sce202306/view/Main/sdf/Stakeholders/Direct%20Stakeholders/Person%20with%20dementia/]] claps
17 11. [[Person with Dementia>>path:/xwiki/wiki/sce202306/view/Main/sdf/Stakeholders/Direct%20Stakeholders/Person%20with%20dementia/]] or [[Nurse/Caretaker>>path:/xwiki/wiki/sce202306/view/Main/sdf/Stakeholders/Direct%20Stakeholders/NurseCaretaker/]] turns on music
18 1. [[Dogg0>>doc:0\. Introduction.WebHome]] does a dance for a maximum of 1 minute.
19 1. If the music stops before the robot has finished or if [[Person with Dementia>>path:/xwiki/wiki/sce202306/view/Main/sdf/Stakeholders/Direct%20Stakeholders/Person%20with%20dementia/]] has stopped clapping the robot will stop dancing.
20 )))
21
22 |**UC Step**|**Requirements**|**Claims**|**IDP**
23 |2|[[Doing a dance>>path:/xwiki/wiki/sce202306/view/2.%20Specification/Requirements/RQ02.0%3A%20Doing%20a%20dance/]]|[[Improved mood>>path:/xwiki/wiki/sce202306/view/2.%20Specification/Claims/]]|...