Wiki source code of Use Cases
Version 58.1 by Aleksanteri Hämäläinen on 2022/04/03 17:31
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 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>RQ04: The robot has a scheduling system, to know when to remind about eating and drinking. | ||
| 66 | <br> | ||
| 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> | ||
| 73 | <tr><td>4.1</td><td>-</td>-<td>-</td><td>-</td></tr> | ||
| 74 | </table> | ||
| 75 | |||
| 76 | |||
| 77 | </td></tr> | ||
| 78 | |||
| 79 | </table> | ||
| 80 | |||
| 81 | <h2>UC002: Eating reminder</h2> | ||
| 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%'> | ||
| 89 | OB06: The PwD remembers to eat and is thus in better condition after being left alone. | ||
| 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> | ||
| 104 | The PwD says they haven't eaten. | ||
| 105 | </td></tr> | ||
| 106 | <tr><td bgcolor='gainsboro'> | ||
| 107 | <b>Post-condition</b> | ||
| 108 | </td><td> | ||
| 109 | The PwD has eaten. | ||
| 110 | </td></tr> | ||
| 111 | <tr><td bgcolor='gainsboro'> | ||
| 112 | <b>Action sequence</b> | ||
| 113 | </td><td> | ||
| 114 | Figure<br><br> | ||
| 115 | UC steps:<br> | ||
| 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> | ||
| 118 | 3. Say "Tap me on the head when the food is ready".<br> | ||
| 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> | ||
| 124 | <div style="padding-left: 40px"> | ||
| 125 | 8.1 Say "Wouldn't a glass of milk go well with this?"<br> | ||
| 126 | </div> | ||
| 127 | 9. Say: "I hope you enjoyed your lunch break. See you next time".<br> | ||
| 128 | 10. Slowly stop the music.<br> | ||
| 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> | ||
| 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> | ||
| 145 | <tr><td>3</td><td>-</td><td>-</td><td>-</td></tr> | ||
| 146 | <tr><td>4</td><td>-</td><td>-</td><td>-</td></tr> | ||
| 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> | ||
| 149 | <tr><td>7</td><td>-</td><td>-</td><td>-</td></tr> | ||
| 150 | <tr><td>8</td><td>RQ03: The robot can understand words for agreement and disagreement</td>-<td>-</td><td>-</td></tr> | ||
| 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> | ||
| 153 | <tr><td>10</td><td>-</td><td>-</td><td>-</td></tr> | ||
| 154 | </table> | ||
| 155 | |||
| 156 | |||
| 157 | </td></tr> | ||
| 158 | |||
| 159 | </table> | ||
| 160 | {{/html}} | ||
| 161 | |||
| 162 | |||
| 163 | **Ask about lunch discourse** | ||
| 164 | - Play "Slow start music" | ||
| 165 | - Say "Hello Peter, how are you?", "Have you already had lunch today?" | ||
| 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... | ||
| 180 | N: Did your wife join you? | ||
| 181 | P: No, I have been alone all day | ||
| 182 | N: What did you do today? | ||
| 183 | ... | ||
| 184 | |||
| 185 | **Coffee break** | ||
| 186 | - Play "Slow start music" | ||
| 187 | - Say "Hi Peter, let's have a coffee." | ||
| 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" | ||
| 196 | - Say "Hi Peter, how are you feeling?" | ||
| 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" | ||
| 211 | - Say "Peter, have you had any water today?" | ||
| 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" |