Wiki source code of Use Cases

Version 64.1 by Sofia Kostakonti on 2022/04/05 16:16

Show last authors
1 {{html}}
2 <!-- Your HTML code here -->
3
4 <h2>UC01: Meal Time Discourse </h2>
5 <table width='100%'>
6 <tr>
7 <td width='30%' style="font-size:11px">
8 <table border='1px' width='50%'>
9 <tr border='1px' width='30%'><td bgcolor='gainsboro'>
10 <b>Objective</b>
11 </td><td width='70%'>
12 OB02: Provide the PwD company
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>
22 Robot, PwD
23 </td></tr>
24 <tr><td bgcolor='gainsboro'>
25 <b>Pre-condition</b>
26 </td><td>
27 It is after the set lunch time
28 </td></tr>
29 <tr><td bgcolor='gainsboro'>
30 <b>Post-condition</b>
31 </td><td>
32 PwD has had the chance to converse with someone at least a little bit
33 </td></tr>
34 <tr><td bgcolor='gainsboro'>
35 <b>Action sequence</b>
36 </td><td>
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>
42 <div style="padding-left: 20px;">
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>
46 </div>
47 4. <b>ELSE IF</b> "No":<br>
48 <div style="padding-left: 20px;">
49 4.1 Prepare for UC002: Eating reminder
50 </div>
51 </td></tr>
52 </table>
53
54 </td>
55 <td width='50%' style="font-size:11px">
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>
66 <tr><td>1</td><td>RQ04: The robot has a scheduling system, to know when to remind about eating and drinking.
67 <br>
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>
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>
74 <tr><td>4.1</td><td>-</td>-<td>-</td><td>-</td></tr>
75 </table>
76
77
78 </td></tr>
79
80 </table>
81
82 <h2>UC02: Eating reminder</h2>
83 <table width='100%'>
84 <tr>
85 <td width='30%' style="font-size:11px">
86 <table border='1px' width='50%'>
87 <tr border='1px' width='30%'><td bgcolor='gainsboro'>
88 <b>Objective</b>
89 </td><td width='70%'>
90 OB06: The PwD remembers to eat and is thus in better condition after being left alone.
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>
105 The PwD says they haven't eaten.
106 </td></tr>
107 <tr><td bgcolor='gainsboro'>
108 <b>Post-condition</b>
109 </td><td>
110 The PwD has eaten.
111 </td></tr>
112 <tr><td bgcolor='gainsboro'>
113 <b>Action sequence</b>
114 </td><td>
115 Figure<br><br>
116 UC steps:<br>
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>
119 3. Say "Tap me on the head when the food is ready".<br>
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>
125 <div style="padding-left: 20px">
126 8.1 Say "Wouldn't a glass of milk go well with this?"<br>
127 </div>
128 9. Say: "I hope you enjoyed your lunch break. See you next time".<br>
129 10. Slowly stop the music.<br>
130 </td></tr>
131 </table>
132 </td>
133 <td width='50%' style="font-size:11px">
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>
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>
146 <tr><td>3</td><td>-</td><td>-</td><td>-</td></tr>
147 <tr><td>4</td><td>-</td><td>-</td><td>-</td></tr>
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>
150 <tr><td>7</td><td>-</td><td>-</td><td>-</td></tr>
151 <tr><td>8</td><td>RQ03: The robot can understand words for agreement and disagreement</td>-<td>-</td><td>-</td></tr>
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>
154 <tr><td>10</td><td>-</td><td>-</td><td>-</td></tr>
155 </table>
156
157
158 </td></tr>
159
160 </table>
161 {{/html}}
162
163
164 **Ask about lunch discourse**
165 - Play "Slow start music"
166 - Say "Hello Peter, how are you?", "Have you already had lunch today?"
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...
181 N: Did your wife join you?
182 P: No, I have been alone all day
183 N: What did you do today?
184 ...
185
186 **Coffee break**
187 - Play "Slow start music"
188 - Say "Hi Peter, let's have a coffee."
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"
197 - Say "Hi Peter, how are you feeling?"
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"
212 - Say "Peter, have you had any water today?"
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"