Lab 4: Wizard-of-Oz GUI for Misty


Learning Goals


Lab Overview


In this lab, you will build a GUI interface that allows a human to control Misty using the lab_4_misty_woz_gui.py starter code from Lab 4 GitHub repository. The goal is to simulate Misty's conversational abilities and non-verbal behaviors in a controlled setting.

The interface will include:

Starter Code


Begin by downloading or cloning lab_4_misty_woz_gui.py from the Lab 4 GitHub repository.

Note: If you see an error when running the starter code that says ModuleNotFoundError: No module named 'PIL', you'll need to install the Pillow package in your virtual environment with:
pip install Pillow

When you run the starter code (python3 lab_4_misty_woz_gui.py ), you will see the following starter GUI:

initial GUI

Within the starter code, you are asked to:

Working in Groups


You will have new group assignments for this lab that have been assigned based on participation in the research study, and then randomly within those who did and did not consent to participate. Each group will turn in one piece of code for their GUI design.

Lab 4 Deliverables & Submission


Your GUI must include:

We ask you to turn in the following:

Submit both to Canvas by Friday, April 18 at 6:00pm.

"Three Good Things" Interaction Flow


As we introduced in Lab 3, you will be programming the Misty robot to act as a facilitator of a positive psychology exercise called the "Three Good Things." This exercise is a well-known positive psychology intervention that has been shown to improve overall mental health and well-being. In this exercise, both the robot and the participant will take turns sharing three things that they are grateful for that have happened to them in the past week. Here's how the interaction should flow between the robot and human participant and which parts should be pre-scripted vs. dynamic for the wizard:

Tips & Resources


Extra Challenge


For an additional challenge, consider adding: