Getting Started
Use this page as the on-ramp into the Real-Sim toolchain. It pulls together the minimum set of steps from the existing guides so you can validate your environment quickly before diving into any of the traffic-simulator-specific docs.
1. Clone and Initialize
Clone the repository and update submodules (see
README.mdfor any project-specific flags).Review
requirements.txttogether withdoc/setupGuide.mdso you know which external tools (SUMO, CarMaker, MATLAB, etc.) must already be on your workstation.
2. Verify Prerequisites
Run
env.check.pyfrom the repo root to check Conda, Python, and the required Python packages.Install any missing traffic simulator binaries (CarMaker, VISSIM, SUMO) following the instructions in their respective docs under
doc/.
3. Configure Your First Scenario
Copy one of the provided configs, e.g.,
tests\coordMerge\config_SUMO.yaml.Update IP/port information to match your machine (both Real-Sim’s
TrafficLayer.exeand the simulator it talks to).If you are targeting SUMO, walk through
doc/SUMOdoc.md; for VISSIM or CarMaker, follow their corresponding guides.
4. Run a Smoke Test
Launch
TrafficLayer.exe -f <your-config.yaml>.Start the simulator specified in the config.
For MATLAB/Simulink workflows, open the provided example model under
CarMakerorCommonLiband confirm the interface connects.
Once you can send messages end-to-end, proceed to the Tutorial pages for deeper walkthroughs.