Skip to content

angelopoulosG/Pepper-robot-is-an-expert-on-ethical-decision

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pepper robot is an expert on ethical decision

Codacy Badge

The aim of this project is to construct an intelligent and integrated system on a Pepper robot that can solve ethical dilemmas and to evaluate the reaction of human observers to the competencies displayed by the robot. The types of dilemmas would be those faced by drivers when facing a choice between two evils. Some of these dilemmas will be inspired by the famous series of the Trolley Problem ethical dilemmas. Some of these would be adjusted to traffic situations and autonomous vehicles.

Universitat Pompeu Fabra, Barcelona, Spain.

System Architecture

Prerequisites

Python 3 (On your computer/server)

With the following libraries installed:

  • SpeechRecognition, a library for performing speech recognition.
pip3 install SpeechRecognition
  • OpenCV, an open source computer vision software library.
pip3 install opencv-python
  • SpaCy, a library for advanced Natural Language Processing in Python.
pip3 install -U spacy
  • en_core_web_sm, English multi-task CNN trained on OntoNotes.
python3 -m spacy download en_core_web_sm
  • Thinc, the machine learning library powering spaCy.
pip3 install thinc
  • console-menu, a simple Python menu-based UI system for terminal applications.
pip3 install console-menu
  • pandas, a Python package that provides fast, flexible, and expressive data structures designed to make working with structured and time series data both easy and intuitive.
pip3 install pandas
  • scikit-learn, a Python module for machine learning built on top of SciPy and is distributed under the 3-Clause BSD license.
pip3 install -U scikit-learn

Pepper Robot

Pepper is a semi-humanoid robot manufactured by SoftBank Robotics (formerly Aldebaran Robotics).

How to run it

  • First, download all the code from the folder Server to your computer/server.
  • Finally, Enable the "Brain":
python3 thebrain.py
  • After enabling the server, SSH onto the robot and download all the code from the folder Pepper.
  • Finally, Enable Pepper:
python ethical_pepper.py

Ethical Dilemmas

An example of an ethical dilemma which Pepper should answer.

Master Student

Georgios Angelopoulos

Supervisor

Prof. Vladimir Estivill-Castro