Wiki source code of Use Cases

Version 36.1 by Aleksanteri Hämäläinen on 2022/02/23 14:20

Show last authors
1 {{html}}
2 <!-- Your HTML code here -->
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'>
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: 40px;">
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: 40px;">
49 4.1 Prepare for UC002: Eating reminder
50 </div>
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>
65 <tr><td>1</td><td>RQ001: The robot has music available</td><td>CL001: The PwD is not startled</td><td>IDP: Title</td></tr>
66 <tr><td>2</td><td>RQ002: The robot knows the name of the PwD</td><td>CL002: The robot seems more like a person</td><td>-</td></tr>
67 <tr><td>3</td><td>RQ003: The robot can understand words for agreement and disagreement</td><td>-</td><td>-</td></tr>
68 <tr><td>3.1</td><td>RQ003: The robot can understand words for agreement and disagreement</td><td>CL003: The PwD feels less alone</td><td>-</td></tr>
69 <tr><td>3.2</td><td>-</td><td>CL002: The robot seems more like a person</td><td>-</td></tr>
70 <tr><td>4</td><td>RQ003: The robot can understand words for agreement and disagreement</td><td>-</td><td>-</td></tr>
71 <tr><td>4.1</td><td>-</td>-<td>-</td><td>-</td></tr>
72 </table>
73
74
75 </td></tr>
76
77 </table>
78
79 <h2>UC002: Eating reminder</h2>
80 <table width='100%'>
81 <tr>
82 <td width='30%' style="font-size:16px">
83 <table border='1px' width='50%'>
84 <tr border='1px' width='30%'><td bgcolor='gainsboro'>
85 <b>Objective</b>
86 </td><td width='70%'>
87 OB06: make sure the PwD eats
88 </td></tr>
89 <tr><td bgcolor='gainsboro'>
90 <b>TDP</b>
91 </td><td>
92 TDP: TITLE
93 </td></tr>
94 <tr><td bgcolor='gainsboro'>
95 <b>Actors</b>
96 </td><td>
97 Robot, PwD
98 </td></tr>
99 <tr><td bgcolor='gainsboro'>
100 <b>Pre-condition</b>
101 </td><td>
102 It is after the set lunch time
103 </td></tr>
104 <tr><td bgcolor='gainsboro'>
105 <b>Post-condition</b>
106 </td><td>
107 PwD has had the chance to converse with someone at least a little bit
108 </td></tr>
109 <tr><td bgcolor='gainsboro'>
110 <b>Action sequence</b>
111 </td><td>
112 Figure<br><br>
113 UC steps:<br>
114 1. Slowly start playing music<br>
115 2. Greet the PwD and ask if they have eaten yet<br>
116 3. <b>IF</b> "Yes":<br>
117 <div style="padding-left: 40px;">
118 3.1 Ask questions about the lunch<br>
119 3.2 Say farewell to the PwD<br>
120 3.3 Slow stop playing music<br>
121 </div>
122 4. <b>ELSE IF</b> "No":<br>
123 <div style="padding-left: 40px;">
124 4.1 Prepare for UC002: Eating reminder
125 </div>
126 </td></tr>
127 </table>
128 </td>
129 <td width='50%' style="font-size:16px">
130 <table border='1px' width='50%'>
131 <tr><td bgcolor='gainsboro'>
132 <b>UC step<b>
133 </td><td bgcolor='gainsboro'>
134 <b>Requirements</b>
135 </td><td bgcolor='gainsboro'>
136 <b>Claims</b>
137 </td><td bgcolor='gainsboro'>
138 <b>IDP</b>
139 </td></tr>
140 <tr><td>1</td><td>RQ001: The robot has music available</td><td>CL001: The PwD is not startled</td><td>IDP: Title</td></tr>
141 <tr><td>2</td><td>RQ002: The robot knows the name of the PwD</td><td>CL002: The robot seems more like a person</td><td>-</td></tr>
142 <tr><td>3</td><td>RQ003: The robot can understand words for agreement and disagreement</td><td>-</td><td>-</td></tr>
143 <tr><td>3.1</td><td>RQ003: The robot can understand words for agreement and disagreement</td><td>CL003: The PwD feels less alone</td><td>-</td></tr>
144 <tr><td>3.2</td><td>-</td><td>CL002: The robot seems more like a person</td><td>-</td></tr>
145 <tr><td>4</td><td>RQ003: The robot can understand words for agreement and disagreement</td><td>-</td><td>-</td></tr>
146 <tr><td>4.1</td><td>-</td>-<td>-</td><td>-</td></tr>
147 </table>
148
149
150 </td></tr>
151
152 </table>
153 {{/html}}
154
155
156 **Ask about lunch discourse**
157 - Play "Slow start music"
158 - Say "Hello Margaret, how are you?", "Have you already had lunch today?"
159 - If "Yes", say "What did you have for lunch?", "Did you enjoy it?", "Did someone join you?"...
160 - Say "That sounds delicious, I'm glad you enjoyed it!"
161 - Say "Talk to you later."
162 - If "No", go to //Prepare Lunch// discourse
163 - Play "Slow stop music"
164
165
166 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.
167 NAO: Hey Peter! Are you around?
168 Peter: Hey! Yeah, I'm here
169 N: Did you have lunch today?
170 P: Yeah I did
171 N: What did you have for lunch?
172 P: Uhm, I don't really remember...
173 N: Did your wife join you?
174 P: No, I have been alone all day
175 N: What did you do today?
176 ...
177
178 **Coffee break**
179 - Play "Slow start music"
180 - Say "Hi Margaret, let's have a coffee."
181 - Play "Coffee brewery music"
182 - Say "Let's sit down so that you can drink your coffee."
183 - Play "Reminiscence music 1"
184 - Say "That was quite a coffee break. I hope you enjoyed it too. See you next time."
185 - Play "Slow stop music"
186
187 **Prepare lunch discourse**
188 - Play "Slow start music"
189 - Say "Hi Margaret, how are you feeling?"
190 - Say "You should probably eat something. Let's walk to the kitchen to prepare the food."
191 - Say "What food would you like for lunch?"
192 - Play "Preparation music"
193 - Say "This looks delicious"
194 - Say "Bon apetite"
195 - Play "Calming and nostalgic lunch music" (Until Margaret stops eating)
196 - Say "Let's get a glass of milk"
197 - Play "Calming milk music"
198 - Say "Cheers"
199 - Say "I hope you enjoyed your lunch break. See you next time."
200 - Play "Slow stop music"
201
202 **Take a sip - Stay hydrated**
203 - Play "Slow start music"
204 - Say "Margaret, have you had any water today?"
205 - Say "Do you know how healthy it is for you to stay hydrated?"
206 - Say "It would be great if you could have a glass of water now."
207 - Play "Reminiscence music 2"
208 - Say "Thank you for staying hydrated. Drinking water helps you to stay fit."
209 - Say "See you next time."
210 - Play "Slow stop music"