Wiki source code of Use Cases

Version 65.1 by Sofia Kostakonti on 2022/04/05 16:18

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