This project defines a framework for the analysis of the level of trust in a traffic environment involving an automated vehicle. In the description below, it is assumed that the repo is stored in the folder group-trust
. Terminal commands lower assume macOS.
Tested with Python 3.9.12. To setup the environment run these two commands in a parent folder of the downloaded repository (replace /
with \
and possibly add --user
if on Windows):
pip install -e group-trust
will setup the project as a package accessible in the environment.pip install -r group-trust/requirements.txt
will install required packages.
Configuration of the project needs to be defined in group-trust/config
. Please use the default.config
file for the required structure of the file. If no custom config file is provided, default.config
is used. The config file has the following parameters:
kp_resolution
: bin size in ms in which keypress data is stored.eg_resolution
: bin size in ms in which eyegaze data is stored.files_data
: files with data from coupled simulator.plotly_template
: template used to make graphs in the analysis.font_family
: font family to be used on the figures.font_size
: font size to be used on the figures.
Analysis can be started by running python group-trust/gtrust/run.py
. A number of CSV files used for data processing are saved in group-trust/_output
. Visualisations of all data are saved in group-trust/_output/figures/
.
Keypress data of participants of all three roles.
Histogram of eye gaze falling onto Areas of Interest (AOIs) of participants of all three roles.
Check that you are indeed in the parent folder for running command pip install -e group-trust
. This command will not work from inside of the folder containing the repo.