⚠️ This project is designed to only run in a local network and therefore doesn't provide advanced security features.
ECAL is a subpart of the GitHub - 3D Unity Stack based on CrowNet and enables message logging to a local InfluxDB instance, that can later be played back to Unity with InfluxPlay. Alternatively JSON files are used.
- Docker
- Docker Compose
- Python3 (required for InfluxPlay)
git clone https://github.com/skiunke/EventControllerAndLogger.git ecal
By Default ECAL only records and stores Messages in InfluxDB and does not forward them to Unity as InfluxPlay allows more granular controls. Settings can be change in the Config file. This requires a rerun of the build_and_run script.
The shell script:
- Pulls InfluxDB and builds ECAL.
- Waits for OMNeT++ to connect or InfluxPlay to be used for message playback.
# /ecal
bash build_and_run.sh
InfluxDB is locally accessible under: http://localhost:8086
Username: admin
Password: password
Messages stored in the InfluxDB database or in JSON files are played back to Unity by the InfluxPlay module.
# /ecal/InfluxPlay
python3 -m pip install -r requirements.txt
Usage options:
# /ecal/InfluxPlay
python3 run.py --help
Execution of a JSON based scenario:
# /ecal/InfluxPlay
python3 run.py --json-path Scenarios/Freiheit.json
Execution of a InfluxDB based scenario:
# /ecal/InfluxPlay
python3 run.py --scenario vruMec