kamsza / moral-dilema-detector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Moral dilemma detector

This project consists of 3 different modules.

Moral dilemma detector

Application with GUI that uses generated scenarios to detect moral dilemmas. Scenario generator is integrated so that you can generate new scenarios without leaving the app.

Requirements

Usage

The easiest way to run our system on your computer is to download precompiled binaries included in the latest release.

  1. Download MoralDilemmaDetector.zip.
  2. Unpack it and open MoralDilemmaDetector directory.
  3. Run MoralDilemmaDetector.jar by clicking twice on it.

It might take a few seconds. You should see a following screen.

You might also run it from the terminal to get debug info.

java -jar MoralDilemmaDetector.jar

Scenario generator

App is responsible for generating road scenarios which can contain moral dilemma for autonomous vehicle. Generated scenarios are saved into ontology file. Application provide also optional feature which enable to create simple visualization of scenario, which can be saved as PNG file.

Requirements

Usage

  1. Download precompiled binaries included in the latest release.
  2. Unpack generator.zip archive.
  3. Run generator.jar by clicking twice on it or run it via terminal using following command:
java -jar generator.jar

Scenario generator from real data (NDS and Waymo datasets for now)

Usage

  1. Download precompiled binaries included in the latest release.
  2. Unpack CommonAdapter.zip archive.
  3. Run server.jar via terminal using following command:
java -jar ServerApp.jar
  1. Run NDS client and Waymo client via terminal using following commands:
java -jar WaymoClientApp.jar
java -jar NdsClientApp.jar
  1. Detailed instruction of launching Carla client is included in CommonAdapter.zip archive.

About

License:Other


Languages

Language:Java 98.1%Language:Python 1.9%Language:Slice 0.0%