Wiki source code of Use Cases
Version 41.1 by Aleksanteri Hämäläinen on 2022/02/23 14:37
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
4.1 | 1 | {{html}} |
| 2 | <!-- Your HTML code here --> | ||
| |
3.1 | 3 | |
| |
17.2 | 4 | <h2>UC001: Meal Time Discourse </h2> |
![]() |
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%'> | ||
| |
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> | ||
| |
27.1 | 42 | <div style="padding-left: 40px;"> |
| |
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> |
| |
28.1 | 48 | <div style="padding-left: 40px;"> |
| |
29.1 | 49 | 4.1 Prepare for UC002: Eating reminder |
| |
28.1 | 50 | </div> |
![]() |
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> | ||
| |
29.1 | 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> | ||
| |
34.1 | 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> | ||
| |
32.1 | 71 | <tr><td>4.1</td><td>-</td>-<td>-</td><td>-</td></tr> |
![]() |
1.1 | 72 | </table> |
| 73 | |||
| 74 | |||
| 75 | </td></tr> | ||
| 76 | |||
| 77 | </table> | ||
| |
35.1 | 78 | |
| |
36.1 | 79 | <h2>UC002: Eating reminder</h2> |
| |
35.1 | 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%'> | ||
| |
36.1 | 87 | OB06: make sure the PwD eats |
| |
35.1 | 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> | ||
| |
37.1 | 102 | The PwD says they haven't eaten. |
| |
35.1 | 103 | </td></tr> |
| 104 | <tr><td bgcolor='gainsboro'> | ||
| 105 | <b>Post-condition</b> | ||
| 106 | </td><td> | ||
| |
37.1 | 107 | The PwD has eaten. |
| |
35.1 | 108 | </td></tr> |
| 109 | <tr><td bgcolor='gainsboro'> | ||
| 110 | <b>Action sequence</b> | ||
| 111 | </td><td> | ||
| 112 | Figure<br><br> | ||
| 113 | UC steps:<br> | ||
| |
38.1 | 114 | 1. Say "You should probably eat something. Let's walk to the kitchen to prepare the food."<br> |
| 115 | 2. Play food preparation music playlist.<br> | ||
| 116 | 3. Say "Tap me on the head when the food is reay".<br> | ||
| 117 | 4. <b>After</b> head is tapped:<br> | ||
| 118 | 5. Compliment the food, say "Bon appetit".<br> | ||
| 119 | 6. Start playing the eating playlist.<br> | ||
| 120 | 7. Ask: "Are you having a drink also?"<br> | ||
| 121 | 8. <b>IF</b> "No":<br> | ||
| |
37.1 | 122 | <div style="padding-left: 40px"> |
| |
38.1 | 123 | 8.1 Say "Wouldn't a glass of milk go well with this?"<br> |
| |
35.1 | 124 | </div> |
| |
38.1 | 125 | 9. Say: "I hope you enjoyed your lunch break. See you next time".<br> |
| 126 | 10. Slowly stop the music.<br> | ||
| |
35.1 | 127 | </td></tr> |
| 128 | </table> | ||
| 129 | </td> | ||
| 130 | <td width='50%' style="font-size:16px"> | ||
| 131 | <table border='1px' width='50%'> | ||
| 132 | <tr><td bgcolor='gainsboro'> | ||
| 133 | <b>UC step<b> | ||
| 134 | </td><td bgcolor='gainsboro'> | ||
| 135 | <b>Requirements</b> | ||
| 136 | </td><td bgcolor='gainsboro'> | ||
| 137 | <b>Claims</b> | ||
| 138 | </td><td bgcolor='gainsboro'> | ||
| 139 | <b>IDP</b> | ||
| 140 | </td></tr> | ||
| |
39.1 | 141 | <tr><td>1</td><td>-</td><td>CL004: The PwD will go make/heat food</td><td>IDP: Title</td></tr> |
| 142 | <tr><td>2</td><td>RQ001: The robot has music available</td><td>CL005: The music makes the task more enjoyable</td><td>-</td></tr> | ||
| 143 | <tr><td>3</td><td>RQ004: The robot has touch sensors</td><td>-</td><td>-</td></tr> | ||
| 144 | <tr><td>4</td><td>RQ004: The robot has touch sensors</td><td>-</td><td>-</td></tr> | ||
| 145 | <tr><td>5</td><td>-</td><td>CL003: The PwD feels less alone</td><td>-</td></tr> | ||
| 146 | <tr><td>6</td><td>RQ001: The robot has music available</td><td>CL005: The music makes the task more enjoyable</td><td>-</td></tr> | ||
| 147 | <tr><td>7</td><td>-</td><td>-</td><td>-</td></tr> | ||
| 148 | <tr><td>8</td><td>RQ003: The robot can understand words for agreement and disagreement</td>-<td>-</td><td>-</td></tr> | ||
| |
40.1 | 149 | <tr><td>8.1</td>-<td></td>-<td>CL006: The PwD remembers to drink</td><td>-</td></tr> |
| 150 | <tr><td>9</td>-<td></td>-<td>CL003: The PwD feels less alone</td><td>-</td></tr> | ||
| |
41.1 | 151 | <tr><td>10</td>-<td></td>-<td>-</td><td>-</td></tr> |
| |
35.1 | 152 | </table> |
| 153 | |||
| 154 | |||
| 155 | </td></tr> | ||
| 156 | |||
| 157 | </table> | ||
![]() |
1.1 | 158 | {{/html}} |
| 159 | |||
| |
17.2 | 160 | |
| 161 | **Ask about lunch discourse** | ||
| 162 | - Play "Slow start music" | ||
| 163 | - Say "Hello Margaret, how are you?", "Have you already had lunch today?" | ||
| 164 | - If "Yes", say "What did you have for lunch?", "Did you enjoy it?", "Did someone join you?"... | ||
| 165 | - Say "That sounds delicious, I'm glad you enjoyed it!" | ||
| 166 | - Say "Talk to you later." | ||
| 167 | - If "No", go to //Prepare Lunch// discourse | ||
| 168 | - Play "Slow stop music" | ||
| 169 | |||
| 170 | |||
| 171 | 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. | ||
| 172 | NAO: Hey Peter! Are you around? | ||
| 173 | Peter: Hey! Yeah, I'm here | ||
| 174 | N: Did you have lunch today? | ||
| 175 | P: Yeah I did | ||
| 176 | N: What did you have for lunch? | ||
| 177 | P: Uhm, I don't really remember... | ||
| |
18.1 | 178 | N: Did your wife join you? |
| |
17.2 | 179 | P: No, I have been alone all day |
| |
18.1 | 180 | N: What did you do today? |
| 181 | ... | ||
| |
17.2 | 182 | |
| 183 | **Coffee break** | ||
| 184 | - Play "Slow start music" | ||
| 185 | - Say "Hi Margaret, let's have a coffee." | ||
| 186 | - Play "Coffee brewery music" | ||
| 187 | - Say "Let's sit down so that you can drink your coffee." | ||
| 188 | - Play "Reminiscence music 1" | ||
| 189 | - Say "That was quite a coffee break. I hope you enjoyed it too. See you next time." | ||
| 190 | - Play "Slow stop music" | ||
| 191 | |||
| 192 | **Prepare lunch discourse** | ||
| 193 | - Play "Slow start music" | ||
| 194 | - Say "Hi Margaret, how are you feeling?" | ||
| 195 | - Say "You should probably eat something. Let's walk to the kitchen to prepare the food." | ||
| 196 | - Say "What food would you like for lunch?" | ||
| 197 | - Play "Preparation music" | ||
| 198 | - Say "This looks delicious" | ||
| 199 | - Say "Bon apetite" | ||
| 200 | - Play "Calming and nostalgic lunch music" (Until Margaret stops eating) | ||
| 201 | - Say "Let's get a glass of milk" | ||
| 202 | - Play "Calming milk music" | ||
| 203 | - Say "Cheers" | ||
| 204 | - Say "I hope you enjoyed your lunch break. See you next time." | ||
| 205 | - Play "Slow stop music" | ||
| 206 | |||
| 207 | **Take a sip - Stay hydrated** | ||
| 208 | - Play "Slow start music" | ||
| 209 | - Say "Margaret, have you had any water today?" | ||
| 210 | - Say "Do you know how healthy it is for you to stay hydrated?" | ||
| 211 | - Say "It would be great if you could have a glass of water now." | ||
| 212 | - Play "Reminiscence music 2" | ||
| 213 | - Say "Thank you for staying hydrated. Drinking water helps you to stay fit." | ||
| 214 | - Say "See you next time." | ||
| 215 | - Play "Slow stop music" |
