Wiki source code of Use Cases

Version 23.1 by Aleksanteri Hämäläinen on 2022/02/23 13:56

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