RoadRunner Scenario is an interactive editor with a programmatic API for designing scenarios to simulate and test automated driving systems. You can use the API to add, query, and modify actors, paths, and scenario logic or create and edit them manually. Then, simulate the scenario directly in the editor. You can choose from built-in actor algorithms or design your own using MATLAB and Simulink. The API can automate workflows like creating variations, placing scenarios in different scenes, simulating scenarios, and exporting them.
You can cosimulate scenarios with simulators outside RoadRunner, including MATLAB and Simulink, or export them to ASAM OpenSCENARIO XML and DSL. The exported scenarios are compatible with any OpenSCENARIO-compliant simulators and players, such as CARLA, esmini, and IPG CarMaker.
RoadRunner Scenario: Scenario Editing
Interactively Design Scenarios
Place vehicles, create paths, and set map-aware conditions and goals using an interactive editor. Create user-defined actions and events using custom parameters.
API for Scenario Creation
Use the RoadRunner API to build and parameterize scenarios, load scenarios into different scenes, and create variants for simulation and export.
ASAM OpenSCENARIO Support
Export to ASAM OpenSCENARIO® DSL and XML formats. Import trajectories from OpenSCENARIO XML and CSV files.
Design MATLAB and Simulink Actors
Use MATLAB and Simulink to customize the behavior of actors, including vehicles and pedestrians, and actor groups, such as a truck with a trailer.
Cosimulate with CARLA
Synchronize scene content and actor poses, and customize actor behavior with CARLA.
Product Resources:
RoadRunner Product Family
RoadRunner is an interactive editor that lets you design 3D scenes for simulating and testing automated driving systems. RoadRunner provides tools for setting and configuring traffic signal timing, phases, and vehicle paths at intersections.
RoadRunner
Design 3D scenes for automated driving simulation
RoadRunner Scenario
Create and play back scenarios for automated driving simulation
RoadRunner Asset Library
Populate RoadRunner scenes with a library of 3D models
RoadRunner Scene Builder
Automatically generate 3D road models from HD maps
Free RoadRunner Scenario Tutorial
Learning the basics of designing scenarios for simulating and testing automated driving applications.
Start nowRoadRunner Scenario FAQs
RoadRunner Scenario is an interactive editor with a programmatic API for designing scenarios to simulate and test automated driving systems. You can visually place vehicles and actors, create paths, route timing and scenario logic, and immediately play scenarios to validate behavior.
RoadRunner Scenario is separate from MATLAB and Simulink although we do provide tight integration with both of those products. For example, you can use MATLAB to control simulations programmatically or log and analyze actor states, and import Simulink models to control vehicles.
RoadRunner Scenario integrates with an extensive set of simulators for both export and co-simulation workflows. RoadRunner Scenario exports to the ASAM OpenSCENARIO format (both XML and DSL) which enables portability to CARLA, esmini, dSPACE ASM and IPG CarMaker. Supporting standards enables a “write once, use many” workflow.
You can use MATLAB and Simulink to customize the behavior of actors, including vehicles and pedestrians, and cosimulate scenarios with simulators outside RoadRunner. You can also use the RoadRunner API in MATLAB to author scenarios directly.
Yes, the <a href="https://www.mathworks.com/help/roadrunner-scenario/programmatic-scenario-api.html">RoadRunner MATLAB API</a> can automate workflows like creating variations, placing scenarios in different RoadRunner scenes, running batch simulations, and exporting results.
Yes, you can synchronize scene content and actor poses and customize actor behavior with CARLA through cosimulation.
Yes, starting with Release R2026a.
Yes, you can import trajectories from OpenSCENARIO XML and CSV files.