Changes for page Design Patterns

Last modified by Sofia Kostakonti on 2022/04/05 14:22

From version 6.1
edited by Marlein Vogels
on 2022/03/22 12:13
Change comment: There is no comment for this version
To version 8.1
edited by Marlein Vogels
on 2022/04/03 17:16
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,53 @@
1 -
1 +== Team design pattern I: Basic ==
2 2  {{html}}
3 3  <img src="https://xwiki.ewi.tudelft.nl/xwiki/wiki/sce2022group01/download/Main/WebHome/DesignPattern.png?rev=1.1" alt="Design Patterns" width="750"/>
4 4  {{/html}}
5 +
6 +**Overview**
7 +The design pattern above demonstrates the interactions between Nao and the PwD. The top pattern concerns UC01, the mealtime discourse. The bottom pattern concerns UC02, the mealtime reminder. In this section, the design pattern will be explained step by step.
8 +
9 +First, it should be mentioned that UC01 and UC02 will follow after one another, meaning: if the conclusion from the mealtime discourse (UC01) is that the PwD has not yet had a certain meal, the mealtime reminder will start (UC02). At the next preprogrammed time, UC01 the mealtime discourse will start again, possibly once again causing the UC02 the mealtime reminder to start.
10 +
11 +**Purpose**
12 +The purpose of this design pattern is to show first how the mealtime discourse (UC01) works. Secondly, this design pattern aims to show how the meatime reminder (UC02) works step by step.
13 +
14 +**Steps Breakdown**
15 +//UC01: The mealtime discourse//
16 +
17 +1. Robot greets PwD by playing “start music”.
18 +This way the robot gets the attention from the PwD, without startling the PwD too much.
19 +1. Robot aks if PwD has eaten
20 +1. PwD answers question 2) from Robot
21 +1. Option a - PwD answers question 2) positively: Robot asks what PwD has eaten & plays “stop music” to finish the interaction
22 +Option b - PwD answers question 2) negatively: UC02 starts
23 +
24 +
25 +
26 +//UC02: The mealtime reminder//
27 +1) Robot encourages PwD to eat something and suggests the PwD to prepare the food. Consequently, the PwD will walk to the kitchen/food preparation area.
28 +2) Robot plays “Food preparation music”.
29 +This way, after a couple interaction sessions, the PwD might link the food preparation music to the idea to go and eat something.
30 +3) Robots asks PwD to tap the Robot’s head when the food is prepared.
31 +This way, the robot hands over the lead to the PwD to continue the interaction.
32 +4) PwD prepares the food.
33 +5) PwD taps the robot’s head when the food is prepared.
34 +This is a que for the robot to go to the next step of the interaction.
35 +6) Robot now stops playing the “Food preparation music”.
36 +7) Robot compliments the food and wish the PwD a pleasant meal.
37 +This is a way to reward the PwD’s job and to once again stress that eating is good for you.
38 +8) PwD starts eating the food the PwD just prepared.
39 +9) Robot starts playing “Eating playlist”.
40 +This change in music is meant to create the association between the music and the eating. After a given amount of time, the next step in the interaction commences: the water check.
41 +10) Robot asks PwD if he/she is having a drink.
42 +11) PwD answers question 10) from robot.
43 +12) Option a - PwD answers question 10) positively: Robot compliments PwD for staying healthy and hydrated.
44 +Option b - PwD answers question 10) negatively: Robot encourages PwD to have a drink.
45 +13) PwD drinks his/her drink.
46 +The completion of step 12) and the drinking of the PwD in step 13) are the ques for the robot to commence with the next step in the interaction: the company check.
47 +14) Robot asks PwD asks whether he/she has company.
48 +15) Option a - PwD answers question 14) positively: Robot compliments PwD.
49 +Option b - PwD answers question 14) negatively: comforts and supports PwD.
50 +16) Robot salutes PwD and optionally plays “Stop music”.
51 +This way, the PwD is made aware of the fact that the interaction has finished.
52 +
53 +