This project consists of 3 different modules.
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.
- Installed JDK 11
The easiest way to run our system on your computer is to download precompiled binaries included in the latest release.
- Download MoralDilemmaDetector.zip.
- Unpack it and open MoralDilemmaDetector directory.
- 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
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.
- Installed JDK 11
- Download precompiled binaries included in the latest release.
- Unpack generator.zip archive.
- Run generator.jar by clicking twice on it or run it via terminal using following command:
java -jar generator.jar
- Download precompiled binaries included in the latest release.
- Unpack CommonAdapter.zip archive.
- Run server.jar via terminal using following command:
java -jar ServerApp.jar
- Run NDS client and Waymo client via terminal using following commands:
java -jar WaymoClientApp.jar
java -jar NdsClientApp.jar
- Detailed instruction of launching Carla client is included in CommonAdapter.zip archive.