Wiki source code of Use Cases

Version 18.1 by Sofia Kostakonti on 2022/02/22 12:18

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