Usage
This page highlights the common workflows once your environment is installed. For detailed simulator steps, keep the SUMO/VISSIM/CarMaker docs nearby.
Launch Order
TrafficLayer – start from a terminal:
TrafficLayer.exe -f path\to\config.yaml.Application layer – run your MATLAB/Simulink model or other control logic if enabled in the config.
Traffic simulator – start SUMO, VISSIM, or CarMaker with the matching test case.
Editing Configurations
SimulationSetup: choose the simulator (SUMO,VISSIM,CarMaker) and setTrafficSimulatorIP/Port.ApplicationSetup: subscribe to vehicles (by id or type) and ports for Real-Sim clients.XilSetup: mirror the relevant subscriptions when doing HIL/dSPACE runs.
Refer to doc/ConfigSetup.md for the full schema and field descriptions.
Running Provided Scenarios
Inspect the
tests/directory for ready-made batch scripts (e.g.,runCoordMergeSUMO.bat).Update paths inside the script to point at your simulator binaries and config file.
Execute the script, then monitor logs under
TrafficLayerLogs/for handshake status.
Collecting Data
Enable verbose logging in the YAML (
EnableVerboseLog: true) to capture full message streams.Use the provided Python utilities in
CommonLibto post-process sensor/vehicle data.
Troubleshooting
See doc/setupGuide.md for general issues (missing packages, Conda prompts) and each simulator doc for platform-specific debugging steps.