Wiki source code of Use Cases

Version 27.1 by Aleksanteri Hämäläinen on 2022/02/23 14:08

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