Wiki source code of Use Cases
Version 24.1 by Aleksanteri Hämäläinen on 2022/02/23 13:56
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 | </td></tr> | ||
| 28 | <tr><td bgcolor='gainsboro'> | ||
| 29 | <b>Post-condition</b> | ||
| 30 | </td><td> | ||
| 31 | </td></tr> | ||
| 32 | <tr><td bgcolor='gainsboro'> | ||
| 33 | <b>Action sequence</b> | ||
| 34 | </td><td> | ||
| 35 | Figure<br><br> | ||
| 36 | UC steps:<br> | ||
| 37 | 1. ...<br> | ||
| 38 | 2. ...<br> | ||
| 39 | </td></tr> | ||
| 40 | </table> | ||
| 41 | </td> | ||
| 42 | <td width='50%' style="font-size:16px"> | ||
| 43 | <table border='1px' width='50%'> | ||
| 44 | <tr><td bgcolor='gainsboro'> | ||
| 45 | <b>UC step<b> | ||
| 46 | </td><td bgcolor='gainsboro'> | ||
| 47 | <b>Requirements</b> | ||
| 48 | </td><td bgcolor='gainsboro'> | ||
| 49 | <b>Claims</b> | ||
| 50 | </td><td bgcolor='gainsboro'> | ||
| 51 | <b>IDP</b> | ||
| 52 | </td></tr> | ||
| 53 | <tr><td>1</td><td>RQ001: Title</td><td>CL001: Title</td><td>IDP: Title</td></tr> | ||
| 54 | <tr><td>2</td><td>-</td><td>-</td><td>-</td></tr> | ||
| 55 | <tr><td></td><td>-</td><td>-</td><td>-</td></tr> | ||
| 56 | <tr><td></td><td>-</td><td>-</td><td>-</td></tr> | ||
| 57 | <tr><td></td><td>-</td><td>-</td><td>-</td></tr> | ||
| 58 | </table> | ||
| 59 | |||
| 60 | |||
| 61 | </td></tr> | ||
| 62 | |||
| 63 | </table> | ||
| 64 | {{/html}} | ||
| 65 | |||
| 66 | |||
| 67 | **Ask about lunch discourse** | ||
| 68 | - Play "Slow start music" | ||
| 69 | - Say "Hello Margaret, how are you?", "Have you already had lunch today?" | ||
| 70 | - If "Yes", say "What did you have for lunch?", "Did you enjoy it?", "Did someone join you?"... | ||
| 71 | - Say "That sounds delicious, I'm glad you enjoyed it!" | ||
| 72 | - Say "Talk to you later." | ||
| 73 | - If "No", go to //Prepare Lunch// discourse | ||
| 74 | - Play "Slow stop music" | ||
| 75 | |||
| 76 | |||
| 77 | 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. | ||
| 78 | NAO: Hey Peter! Are you around? | ||
| 79 | Peter: Hey! Yeah, I'm here | ||
| 80 | N: Did you have lunch today? | ||
| 81 | P: Yeah I did | ||
| 82 | N: What did you have for lunch? | ||
| 83 | P: Uhm, I don't really remember... | ||
| 84 | N: Did your wife join you? | ||
| 85 | P: No, I have been alone all day | ||
| 86 | N: What did you do today? | ||
| 87 | ... | ||
| 88 | |||
| 89 | **Coffee break** | ||
| 90 | - Play "Slow start music" | ||
| 91 | - Say "Hi Margaret, let's have a coffee." | ||
| 92 | - Play "Coffee brewery music" | ||
| 93 | - Say "Let's sit down so that you can drink your coffee." | ||
| 94 | - Play "Reminiscence music 1" | ||
| 95 | - Say "That was quite a coffee break. I hope you enjoyed it too. See you next time." | ||
| 96 | - Play "Slow stop music" | ||
| 97 | |||
| 98 | **Prepare lunch discourse** | ||
| 99 | - Play "Slow start music" | ||
| 100 | - Say "Hi Margaret, how are you feeling?" | ||
| 101 | - Say "You should probably eat something. Let's walk to the kitchen to prepare the food." | ||
| 102 | - Say "What food would you like for lunch?" | ||
| 103 | - Play "Preparation music" | ||
| 104 | - Say "This looks delicious" | ||
| 105 | - Say "Bon apetite" | ||
| 106 | - Play "Calming and nostalgic lunch music" (Until Margaret stops eating) | ||
| 107 | - Say "Let's get a glass of milk" | ||
| 108 | - Play "Calming milk music" | ||
| 109 | - Say "Cheers" | ||
| 110 | - Say "I hope you enjoyed your lunch break. See you next time." | ||
| 111 | - Play "Slow stop music" | ||
| 112 | |||
| 113 | **Take a sip - Stay hydrated** | ||
| 114 | - Play "Slow start music" | ||
| 115 | - Say "Margaret, have you had any water today?" | ||
| 116 | - Say "Do you know how healthy it is for you to stay hydrated?" | ||
| 117 | - Say "It would be great if you could have a glass of water now." | ||
| 118 | - Play "Reminiscence music 2" | ||
| 119 | - Say "Thank you for staying hydrated. Drinking water helps you to stay fit." | ||
| 120 | - Say "See you next time." | ||
| 121 | - Play "Slow stop music" |