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