Changes for page Use Cases

Last modified by Sofia Kostakonti on 2022/04/05 16:54

From version Icon 19.1 Icon
edited by Aleksanteri Hämäläinen
on 2022/02/23 13:50
Change comment: There is no comment for this version
To version Icon 71.1
edited by Sofia Kostakonti
on 2022/04/05 16:54
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ahamalainen
1 +XWiki.SKostakonti
Content
... ... @@ -1,15 +1,13 @@
1 1  {{html}}
2 2  <!-- Your HTML code here -->
3 3  
4 -<h2>UC001: Meal Time Discourse </h2>
5 -<table width='100%'>
6 -<tr>
7 -<td width='30%' style="font-size:16px">
8 -<table border='1px' width='50%'>
9 -<tr border='1px' width='30%'><td bgcolor='gainsboro'>
4 +<h2>UC01: Meal Time Discourse </h2>
5 +
6 +<table border='1px' width='100%'>
7 +<tr border=1px' width='30%'><td bgcolor='gainsboro'>
10 10   <b>Objective</b>
11 11  </td><td width='70%'>
12 - OB01: Meal Time Discourse
10 + OB02: Provide the PwD company
13 13  </td></tr>
14 14  <tr><td bgcolor='gainsboro'>
15 15   <b>TDP</b>
... ... @@ -19,27 +19,39 @@
19 19  <tr><td bgcolor='gainsboro'>
20 20   <b>Actors</b>
21 21  </td><td>
20 +Robot, PwD
22 22  </td></tr>
23 23  <tr><td bgcolor='gainsboro'>
24 24   <b>Pre-condition</b>
25 25  </td><td>
25 +It is after the set lunch time
26 26  </td></tr>
27 27  <tr><td bgcolor='gainsboro'>
28 28   <b>Post-condition</b>
29 29  </td><td>
30 +PwD has had the chance to converse with someone at least a little bit
30 30  </td></tr>
31 31  <tr><td bgcolor='gainsboro'>
32 32   <b>Action sequence</b>
33 33  </td><td>
34 - Figure<br><br>
35 - UC steps:<br>
36 - 1. ...<br>
37 - 2. ...<br>
35 + Figure<br><br>
36 + UC steps:<br>
37 + 1. Slowly start playing music<br>
38 + 2. Greet the PwD and ask if they have eaten yet<br>
39 + 3. <b>IF</b> "Yes":<br>
40 + <div style="padding-left: 20px;">
41 + 3.1 Ask questions about the lunch<br>
42 + 3.2 Say farewell to the PwD<br>
43 + 3.3 Slow stop playing music<br>
44 + </div>
45 + 4. <b>ELSE IF</b> "No":<br>
46 + <div style="padding-left: 20px;">
47 + 4.1 Prepare for UC002: Eating reminder
48 + </div>
38 38  </td></tr>
39 39  </table>
40 -</td>
41 -<td width='50%' style="font-size:16px">
42 -<table border='1px' width='50%'>
51 +<br>
52 +<table border='1px' width='100%'>
43 43  <tr><td bgcolor='gainsboro'>
44 44   <b>UC step<b>
45 45  </td><td bgcolor='gainsboro'>
... ... @@ -49,23 +49,97 @@
49 49  </td><td bgcolor='gainsboro'>
50 50  <b>IDP</b>
51 51  </td></tr>
52 -<tr><td>1</td><td>RQ001: Title</td><td>CL001: Title</td><td>IDP: Title</td></tr>
53 -<tr><td>2</td><td>-</td><td>-</td><td>-</td></tr>
54 -<tr><td></td><td>-</td><td>-</td><td>-</td></tr>
55 -<tr><td></td><td>-</td><td>-</td><td>-</td></tr>
56 -<tr><td></td><td>-</td><td>-</td><td>-</td></tr>
62 +<tr><td>1</td><td>RQ04: The robot has a scheduling system, to know when to remind about eating and drinking.
63 +<br>
64 +RQ01: The robot can play music that suits the situation and the emotional state of the PwD.</td><td>CL01: The PwD is not startled by the activation of the robot if music is played at the start</td><td>IDP: Title</td></tr>
65 +<tr><td>2</td><td>RQ02: The robot can greet the PwD in a personal and varied manner</td><td>CL02: The robot is pleasant to interact with</td><td>-</td></tr>
66 +<tr><td>3</td><td>RQ03: The robot can understand the semantic meaning of what the PwD is saying, such as agreement and disagreement</td><td>-</td><td>-</td></tr>
67 +<tr><td>3.1</td><td>RQ03: The robot can understand the semantic meaning of what the PwD is saying, such as agreement and disagreement</td><td>CL03: The PwD feels less alone</td><td>-</td></tr>
68 +<tr><td>3.2</td><td>-</td><td>CL02: The robot is pleasant to interact with</td><td>-</td></tr>
69 +<tr><td>4</td><td>RQ03: The robot can understand the semantic meaning of what the PwD is saying, such as agreement and disagreement</td><td>-</td><td>-</td></tr>
70 +<tr><td>4.1</td><td>-</td>-<td>-</td><td>-</td></tr>
57 57  </table>
58 -
59 -
72 +<br>
73 +<h2>UC02: Eating reminder</h2>
74 +<table border='1px' width='100%'>
75 +<tr border='1px' width='30%'><td bgcolor='gainsboro'>
76 + <b>Objective</b>
77 +</td><td width='70%'>
78 + OB06: The PwD remembers to eat and is thus in better condition after being left alone.
60 60  </td></tr>
61 -
80 +<tr><td bgcolor='gainsboro'>
81 + <b>TDP</b>
82 +</td><td>
83 + TDP: TITLE
84 +</td></tr>
85 +<tr><td bgcolor='gainsboro'>
86 + <b>Actors</b>
87 +</td><td>
88 +Robot, PwD
89 +</td></tr>
90 +<tr><td bgcolor='gainsboro'>
91 + <b>Pre-condition</b>
92 +</td><td>
93 +The PwD says they haven't eaten.
94 +</td></tr>
95 +<tr><td bgcolor='gainsboro'>
96 + <b>Post-condition</b>
97 +</td><td>
98 +The PwD has eaten.
99 +</td></tr>
100 +<tr><td bgcolor='gainsboro'>
101 + <b>Action sequence</b>
102 +</td><td>
103 + Figure<br><br>
104 + UC steps:<br>
105 + 1. Say "You should probably eat something. Let's walk to the kitchen to prepare the food."<br>
106 + 2. Play food preparation music playlist.<br>
107 + 3. Say "Tap me on the head when the food is ready".<br>
108 + 4. <b>After</b> head is tapped:<br>
109 + 5. Compliment the food, say "Bon appetit".<br>
110 + 6. Start playing the eating playlist.<br>
111 + 7. Ask: "Are you having a drink also?"<br>
112 + 8. <b>IF</b> "No":<br>
113 + <div style="padding-left: 20px">
114 + 8.1 Say "Wouldn't a glass of milk go well with this?"<br>
115 + </div>
116 + 9. Say: "I hope you enjoyed your lunch break. See you next time".<br>
117 + 10. Slowly stop the music.<br>
118 +</td></tr>
62 62  </table>
120 +<br>
121 +<table border='1px' width='100%'>
122 +<tr><td bgcolor='gainsboro'>
123 + <b>UC step<b>
124 +</td><td bgcolor='gainsboro'>
125 + <b>Requirements</b>
126 +</td><td bgcolor='gainsboro'>
127 +<b>Claims</b>
128 +</td><td bgcolor='gainsboro'>
129 +<b>IDP</b>
130 +</td></tr>
131 +<tr><td>1</td><td>-</td><td>CL04: The PwD is encouraged to have some food</td><td>IDP: Title</td></tr>
132 +<tr><td>2</td><td>RQ01: The robot can play music that suits the situation and the emotional state of the PwD</td><td>CL06: The music makes the task more enjoyable</td><td>-</td></tr>
133 +<tr><td>3</td><td>-</td><td>-</td><td>-</td></tr>
134 +<tr><td>4</td><td>-</td><td>-</td><td>-</td></tr>
135 +<tr><td>5</td><td>-</td><td>CL03: The PwD feels less alone</td><td>-</td></tr>
136 +<tr><td>6</td><td>RQ01: The robot can play music that suits the situation and the emotional state of the PwD</td><td>CL06: The music makes the task more enjoyable</td><td>-</td></tr>
137 +<tr><td>7</td><td>-</td><td>-</td><td>-</td></tr>
138 +<tr><td>8</td><td>RQ03: The robot can understand words for agreement and disagreement</td>-<td>-</td><td>-</td></tr>
139 +<tr><td>8.1</td><td>-</td><td>CL05: The PwD is encouraged to drink</td><td>-</td></tr>
140 +<tr><td>9</td><td>-</td><td>CL03: The PwD feels less alone</td><td>-</td></tr>
141 +<tr><td>10</td><td>-</td><td>-</td><td>-</td></tr>
142 +</table>
143 +<br>
63 63  {{/html}}
64 64  
146 +== Secondary Use Cases ==
147 +Below, there are some first versions of secondary use cases as we have envisioned them before deciding on the main use case we would implement. Depending on the time of day, different reminders and discourses are triggered to encourage the PwD to eat, hydrate or drink their daily cup of coffee.
65 65  
66 66  **Ask about lunch discourse**
150 +Peter is watching TV. It is a bit after lunchtime and the robot wants to make sure Peter has eaten lunch. To grab his attention, it plays some music.
67 67  - Play "Slow start music"
68 -- Say "Hello Margaret, how are you?", "Have you already had lunch today?"
152 +- Say "Hello Peter, how are you?", "Have you already had lunch today?"
69 69  - If "Yes", say "What did you have for lunch?", "Did you enjoy it?", "Did someone join you?"...
70 70  - Say "That sounds delicious, I'm glad you enjoyed it!"
71 71  - Say "Talk to you later."
... ... @@ -73,21 +73,10 @@
73 73  - Play "Slow stop music"
74 74  
75 75  
76 -Peter is watching TV. It is a bit after lunchtime and the robot wants to make sure Peter has eaten lunch. To grab his attention, it plays some music.
77 -NAO: Hey Peter! Are you around?
78 -Peter: Hey! Yeah, I'm here
79 -N: Did you have lunch today?
80 -P: Yeah I did
81 -N: What did you have for lunch?
82 -P: Uhm, I don't really remember...
83 -N: Did your wife join you?
84 -P: No, I have been alone all day
85 -N: What did you do today?
86 -...
87 -
88 88  **Coffee break**
161 +Peter likes to have a cup of coffee with his wife, every afternoon when she comes back from her walk.
89 89  - Play "Slow start music"
90 -- Say "Hi Margaret, let's have a coffee."
163 +- Say "Hi Peter, let's have some coffee."
91 91  - Play "Coffee brewery music"
92 92  - Say "Let's sit down so that you can drink your coffee."
93 93  - Play "Reminiscence music 1"
... ... @@ -96,12 +96,12 @@
96 96  
97 97  **Prepare lunch discourse**
98 98  - Play "Slow start music"
99 -- Say "Hi Margaret, how are you feeling?"
172 +- Say "Hi Peter, how are you feeling?"
100 100  - Say "You should probably eat something. Let's walk to the kitchen to prepare the food."
101 101  - Say "What food would you like for lunch?"
102 102  - Play "Preparation music"
103 103  - Say "This looks delicious"
104 -- Say "Bon apetite"
177 +- Say "Bon appetite"
105 105  - Play "Calming and nostalgic lunch music" (Until Margaret stops eating)
106 106  - Say "Let's get a glass of milk"
107 107  - Play "Calming milk music"
... ... @@ -110,8 +110,9 @@
110 110  - Play "Slow stop music"
111 111  
112 112  **Take a sip - Stay hydrated**
186 +At different times in the day, NAO reminds Peter to drink some water in order to stay hydrated.
113 113  - Play "Slow start music"
114 -- Say "Margaret, have you had any water today?"
188 +- Say "Peter, have you had any water today?"
115 115  - Say "Do you know how healthy it is for you to stay hydrated?"
116 116  - Say "It would be great if you could have a glass of water now."
117 117  - Play "Reminiscence music 2"
Icon XWiki.XWikiComments[1]
Date
... ... @@ -1,0 +1,1 @@
1 +2022-03-22 08:52:53.870
Author
... ... @@ -1,0 +1,1 @@
1 +xwiki:XWiki.FrankBroz
Comment
... ... @@ -1,0 +1,1 @@
1 +The two use cases are clear. I like that you've connected a generic use case to different specific daily events (coffee break, sip of water) but this could be clarified a bit.