Wiki source code of Use Cases
Version 64.1 by Sofia Kostakonti on 2022/04/05 16:16
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
4.1 | 1 | {{html}} |
2 | <!-- Your HTML code here --> | ||
![]() |
3.1 | 3 | |
![]() |
61.1 | 4 | <h2>UC01: Meal Time Discourse </h2> |
![]() |
64.1 | 5 | <table width='100%'> |
![]() |
1.1 | 6 | <tr> |
![]() |
64.1 | 7 | <td width='30%' style="font-size:11px"> |
![]() |
1.1 | 8 | <table border='1px' width='50%'> |
9 | <tr border='1px' width='30%'><td bgcolor='gainsboro'> | ||
10 | <b>Objective</b> | ||
11 | </td><td width='70%'> | ||
![]() |
23.1 | 12 | OB02: Provide the PwD company |
![]() |
1.1 | 13 | </td></tr> |
14 | <tr><td bgcolor='gainsboro'> | ||
15 | <b>TDP</b> | ||
16 | </td><td> | ||
17 | TDP: TITLE | ||
18 | </td></tr> | ||
19 | <tr><td bgcolor='gainsboro'> | ||
20 | <b>Actors</b> | ||
21 | </td><td> | ||
![]() |
24.1 | 22 | Robot, PwD |
![]() |
1.1 | 23 | </td></tr> |
24 | <tr><td bgcolor='gainsboro'> | ||
25 | <b>Pre-condition</b> | ||
26 | </td><td> | ||
![]() |
25.1 | 27 | It is after the set lunch time |
![]() |
1.1 | 28 | </td></tr> |
29 | <tr><td bgcolor='gainsboro'> | ||
30 | <b>Post-condition</b> | ||
31 | </td><td> | ||
![]() |
25.1 | 32 | PwD has had the chance to converse with someone at least a little bit |
![]() |
1.1 | 33 | </td></tr> |
34 | <tr><td bgcolor='gainsboro'> | ||
35 | <b>Action sequence</b> | ||
36 | </td><td> | ||
![]() |
25.1 | 37 | Figure<br><br> |
38 | UC steps:<br> | ||
39 | 1. Slowly start playing music<br> | ||
40 | 2. Greet the PwD and ask if they have eaten yet<br> | ||
41 | 3. <b>IF</b> "Yes":<br> | ||
![]() |
62.1 | 42 | <div style="padding-left: 20px;"> |
![]() |
29.1 | 43 | 3.1 Ask questions about the lunch<br> |
44 | 3.2 Say farewell to the PwD<br> | ||
45 | 3.3 Slow stop playing music<br> | ||
![]() |
27.1 | 46 | </div> |
![]() |
29.1 | 47 | 4. <b>ELSE IF</b> "No":<br> |
![]() |
62.1 | 48 | <div style="padding-left: 20px;"> |
![]() |
29.1 | 49 | 4.1 Prepare for UC002: Eating reminder |
![]() |
28.1 | 50 | </div> |
![]() |
1.1 | 51 | </td></tr> |
52 | </table> | ||
![]() |
62.1 | 53 | |
![]() |
1.1 | 54 | </td> |
![]() |
62.1 | 55 | <td width='50%' style="font-size:11px"> |
![]() |
1.1 | 56 | <table border='1px' width='50%'> |
57 | <tr><td bgcolor='gainsboro'> | ||
58 | <b>UC step<b> | ||
59 | </td><td bgcolor='gainsboro'> | ||
60 | <b>Requirements</b> | ||
61 | </td><td bgcolor='gainsboro'> | ||
62 | <b>Claims</b> | ||
63 | </td><td bgcolor='gainsboro'> | ||
64 | <b>IDP</b> | ||
65 | </td></tr> | ||
![]() |
58.1 | 66 | <tr><td>1</td><td>RQ04: The robot has a scheduling system, to know when to remind about eating and drinking. |
![]() |
54.1 | 67 | <br> |
![]() |
59.1 | 68 | 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> |
![]() |
57.1 | 69 | <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> |
70 | <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> | ||
71 | <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> | ||
72 | <tr><td>3.2</td><td>-</td><td>CL02: The robot is pleasant to interact with</td><td>-</td></tr> | ||
73 | <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> | ||
![]() |
32.1 | 74 | <tr><td>4.1</td><td>-</td>-<td>-</td><td>-</td></tr> |
![]() |
1.1 | 75 | </table> |
76 | |||
77 | |||
78 | </td></tr> | ||
79 | |||
80 | </table> | ||
![]() |
35.1 | 81 | |
![]() |
61.1 | 82 | <h2>UC02: Eating reminder</h2> |
![]() |
35.1 | 83 | <table width='100%'> |
84 | <tr> | ||
![]() |
62.1 | 85 | <td width='30%' style="font-size:11px"> |
![]() |
35.1 | 86 | <table border='1px' width='50%'> |
87 | <tr border='1px' width='30%'><td bgcolor='gainsboro'> | ||
88 | <b>Objective</b> | ||
89 | </td><td width='70%'> | ||
![]() |
55.1 | 90 | OB06: The PwD remembers to eat and is thus in better condition after being left alone. |
![]() |
35.1 | 91 | </td></tr> |
92 | <tr><td bgcolor='gainsboro'> | ||
93 | <b>TDP</b> | ||
94 | </td><td> | ||
95 | TDP: TITLE | ||
96 | </td></tr> | ||
97 | <tr><td bgcolor='gainsboro'> | ||
98 | <b>Actors</b> | ||
99 | </td><td> | ||
100 | Robot, PwD | ||
101 | </td></tr> | ||
102 | <tr><td bgcolor='gainsboro'> | ||
103 | <b>Pre-condition</b> | ||
104 | </td><td> | ||
![]() |
37.1 | 105 | The PwD says they haven't eaten. |
![]() |
35.1 | 106 | </td></tr> |
107 | <tr><td bgcolor='gainsboro'> | ||
108 | <b>Post-condition</b> | ||
109 | </td><td> | ||
![]() |
37.1 | 110 | The PwD has eaten. |
![]() |
35.1 | 111 | </td></tr> |
112 | <tr><td bgcolor='gainsboro'> | ||
113 | <b>Action sequence</b> | ||
114 | </td><td> | ||
115 | Figure<br><br> | ||
116 | UC steps:<br> | ||
![]() |
38.1 | 117 | 1. Say "You should probably eat something. Let's walk to the kitchen to prepare the food."<br> |
118 | 2. Play food preparation music playlist.<br> | ||
![]() |
52.1 | 119 | 3. Say "Tap me on the head when the food is ready".<br> |
![]() |
38.1 | 120 | 4. <b>After</b> head is tapped:<br> |
121 | 5. Compliment the food, say "Bon appetit".<br> | ||
122 | 6. Start playing the eating playlist.<br> | ||
123 | 7. Ask: "Are you having a drink also?"<br> | ||
124 | 8. <b>IF</b> "No":<br> | ||
![]() |
62.1 | 125 | <div style="padding-left: 20px"> |
![]() |
38.1 | 126 | 8.1 Say "Wouldn't a glass of milk go well with this?"<br> |
![]() |
35.1 | 127 | </div> |
![]() |
38.1 | 128 | 9. Say: "I hope you enjoyed your lunch break. See you next time".<br> |
129 | 10. Slowly stop the music.<br> | ||
![]() |
35.1 | 130 | </td></tr> |
131 | </table> | ||
132 | </td> | ||
![]() |
62.1 | 133 | <td width='50%' style="font-size:11px"> |
![]() |
35.1 | 134 | <table border='1px' width='50%'> |
135 | <tr><td bgcolor='gainsboro'> | ||
136 | <b>UC step<b> | ||
137 | </td><td bgcolor='gainsboro'> | ||
138 | <b>Requirements</b> | ||
139 | </td><td bgcolor='gainsboro'> | ||
140 | <b>Claims</b> | ||
141 | </td><td bgcolor='gainsboro'> | ||
142 | <b>IDP</b> | ||
143 | </td></tr> | ||
![]() |
57.1 | 144 | <tr><td>1</td><td>-</td><td>CL04: The PwD is encouraged to have some food</td><td>IDP: Title</td></tr> |
145 | <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> | ||
![]() |
46.1 | 146 | <tr><td>3</td><td>-</td><td>-</td><td>-</td></tr> |
147 | <tr><td>4</td><td>-</td><td>-</td><td>-</td></tr> | ||
![]() |
57.1 | 148 | <tr><td>5</td><td>-</td><td>CL03: The PwD feels less alone</td><td>-</td></tr> |
149 | <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> | ||
![]() |
39.1 | 150 | <tr><td>7</td><td>-</td><td>-</td><td>-</td></tr> |
![]() |
58.1 | 151 | <tr><td>8</td><td>RQ03: The robot can understand words for agreement and disagreement</td>-<td>-</td><td>-</td></tr> |
![]() |
57.1 | 152 | <tr><td>8.1</td><td>-</td><td>CL05: The PwD is encouraged to drink</td><td>-</td></tr> |
153 | <tr><td>9</td><td>-</td><td>CL03: The PwD feels less alone</td><td>-</td></tr> | ||
![]() |
43.1 | 154 | <tr><td>10</td><td>-</td><td>-</td><td>-</td></tr> |
![]() |
35.1 | 155 | </table> |
156 | |||
157 | |||
158 | </td></tr> | ||
159 | |||
160 | </table> | ||
![]() |
1.1 | 161 | {{/html}} |
162 | |||
![]() |
17.2 | 163 | |
164 | **Ask about lunch discourse** | ||
165 | - Play "Slow start music" | ||
![]() |
45.1 | 166 | - Say "Hello Peter, how are you?", "Have you already had lunch today?" |
![]() |
17.2 | 167 | - If "Yes", say "What did you have for lunch?", "Did you enjoy it?", "Did someone join you?"... |
168 | - Say "That sounds delicious, I'm glad you enjoyed it!" | ||
169 | - Say "Talk to you later." | ||
170 | - If "No", go to //Prepare Lunch// discourse | ||
171 | - Play "Slow stop music" | ||
172 | |||
173 | |||
174 | 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. | ||
175 | NAO: Hey Peter! Are you around? | ||
176 | Peter: Hey! Yeah, I'm here | ||
177 | N: Did you have lunch today? | ||
178 | P: Yeah I did | ||
179 | N: What did you have for lunch? | ||
180 | P: Uhm, I don't really remember... | ||
![]() |
18.1 | 181 | N: Did your wife join you? |
![]() |
17.2 | 182 | P: No, I have been alone all day |
![]() |
18.1 | 183 | N: What did you do today? |
184 | ... | ||
![]() |
17.2 | 185 | |
186 | **Coffee break** | ||
187 | - Play "Slow start music" | ||
![]() |
45.1 | 188 | - Say "Hi Peter, let's have a coffee." |
![]() |
17.2 | 189 | - Play "Coffee brewery music" |
190 | - Say "Let's sit down so that you can drink your coffee." | ||
191 | - Play "Reminiscence music 1" | ||
192 | - Say "That was quite a coffee break. I hope you enjoyed it too. See you next time." | ||
193 | - Play "Slow stop music" | ||
194 | |||
195 | **Prepare lunch discourse** | ||
196 | - Play "Slow start music" | ||
![]() |
45.1 | 197 | - Say "Hi Peter, how are you feeling?" |
![]() |
17.2 | 198 | - Say "You should probably eat something. Let's walk to the kitchen to prepare the food." |
199 | - Say "What food would you like for lunch?" | ||
200 | - Play "Preparation music" | ||
201 | - Say "This looks delicious" | ||
202 | - Say "Bon apetite" | ||
203 | - Play "Calming and nostalgic lunch music" (Until Margaret stops eating) | ||
204 | - Say "Let's get a glass of milk" | ||
205 | - Play "Calming milk music" | ||
206 | - Say "Cheers" | ||
207 | - Say "I hope you enjoyed your lunch break. See you next time." | ||
208 | - Play "Slow stop music" | ||
209 | |||
210 | **Take a sip - Stay hydrated** | ||
211 | - Play "Slow start music" | ||
![]() |
45.1 | 212 | - Say "Peter, have you had any water today?" |
![]() |
17.2 | 213 | - Say "Do you know how healthy it is for you to stay hydrated?" |
214 | - Say "It would be great if you could have a glass of water now." | ||
215 | - Play "Reminiscence music 2" | ||
216 | - Say "Thank you for staying hydrated. Drinking water helps you to stay fit." | ||
217 | - Say "See you next time." | ||
218 | - Play "Slow stop music" |