What problem does it solve?
Connecting Simulink to the Eclipse SUMO traffic simulator involves many failure-prone details: mismatched ports, solver misconfiguration, crashes from reading vehicles that do not exist yet, and silent route-file errors. This Skill encodes the correct block configuration, wiring patterns, and workarounds so co-simulation models work on the first build.
Core Features & Use Cases
- Server/Client Setup: Configure SumoInterfaceLibrary Server and Client blocks with matching ports, fixed-step solvers, and real-time pacing.
- Vehicle I/O Patterns: Read vehicle states (speed, position, angle) and write controls (speed, position, spawning) with Enabled Subsystem gating to avoid crashes on delayed-spawn vehicles.
- Traffic Generation: Create random background traffic, define ego vehicles in route files, and dynamically spawn actors with distinct routes.
- Use Case: An ADAS engineer needs to validate a controller against realistic traffic. The Skill generates a Simulink model that launches SUMO, spawns an ego vehicle at t=0, streams surrounding vehicle positions into the controller, and writes the ego's desired speed back to SUMO each step.
Quick Start
Ask your AI agent to build a Simulink model that co-simulates with Eclipse SUMO using a grid network, random traffic, and an ego vehicle whose speed is controlled from Simulink.