Fahrsimulator_MSY2526_UX/docs/CONFIGURATION.md

1.4 KiB

Configuration

Application settings are loaded from classpath properties files in src/main/resources/config.

application.properties

Key Purpose Current Default
app.mode Generic mode flag test
python.path Python interpreter for simulator process C:\\Program Files\\PyManager\\python.exe
mqtt.topic MQTT topic to subscribe to PREDICTION
mqtt_sim.enabled Enables simulator startup false
mqtt_sim.script Simulator script path src/main/resources/scripts/mqtt_simulator.py
unreal.enabled Enables Unreal startup flow true
unreal.executable PowerShell script to start Unreal process absolute path
unreal.signalling_server.script Signalling server BAT file path absolute path

Notes:

  • MQTT broker host/port are currently hardcoded in Java (MqttClientService): tcp://localhost:1883.
  • Several Unreal-related paths are absolute and environment-specific.

logger.properties

Key Purpose Current Default
logger.level Minimum log level DEBUG
logger.file.enabled Enables file logging true
logger.file Log output file logs/application.log
logger.max.size.mb Rotation threshold 10
  • src/main/resources/scripts/mqtt_simulator.py
  • src/main/resources/scripts/start_avatar.ps1