Over the last few decades, there has been a drastic reduction in survey participation often with negative consequences for commercial firms and governments. Quaestio is an interactive survey robot developed with the intention of combating this decline. This repository contains Queastio's techhnical files, as well as files for the evaluation of experiments run with Queastio.
All the code controlling the head can be found in the head directory. *quaestio.py* is the main file, which has to be executed on start-up using python3. *quastio_constants.py* the pins used on the pi are defined.This folder contains both the dataset collected survey_data.json as well as the notebook Hypothesis_Testing.ipynb used for the analysis of the gathered data.
All files regarding the iOS app for the iPad can be found in the folder Robot App.
The index.html file in the website directory allows you to manipulate the website content. The code.js file allows you to fetch the question answers from firebase.
All the code controlling both the mobility and the mechanical input methods can be found in this folder.
For the ROS Kinetic Ubuntu is installed on the Raspberry Pi, this is due to the fact that ROS Kinetic only supports Wily (Ubuntu 15.10), Xenial (Ubuntu 16.04) and Jessie (Debian 8) for debian packages. After setting up the pi with the system the following tutorial can be followed in order to install and use ROS Kinetic.
First all packages from the requirements.txt file have to be installed using pip3. The GPIO pins used on the pi are defined in the config.py file.
main.py is the main file which has to be executed on start-up using python3. testMotor.py & testButtons.py are two testfiles which can be used to test whether the buttons and slider are working.
An ssh key linked to the account used for github can be put into the pi folder in order to allow the pi to automatically pull the latest master version from the github repository. This is done by updating on Firebase the field: Hardware_Interface\Current_State.
All the code for the admin app can be found in the Admin App folder. Project team members can configure experiments, control & maintain the robot, and get an overview of collected experimental data through this iOS/iPadOS app.