Wiki source code of Use Cases

Version 57.1 by Aleksanteri Hämäläinen on 2022/04/03 17:31

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