OpenScenarioDrive — PyQt6 Editor for OpenSCENARIO and OpenDRIVE
January 01, 2026
OpenScenarioDrive is a PyQt6-based graphical controller and editor for OpenSCENARIO .xosc files. It provides a real-time simulation control interface with integrated XML editors for both .xosc and .xodr files.
Demo
Features
Simulation Control
- Play / Pause / Restart / single-step — scenario control
- Rewind — scrub through recorded frame history without re-running the simulation
- Configurable time step — adjust simulation
dtfrom 0.001 s to 1.0 s - Pause on event — automatically pause when a storyboard event or condition fires
Object Inspection
- Live list of all active actors in the scenario
- Select any actor to view and edit 3D position (X, Y, Z) and orientation (heading, pitch, roll)
- Apply position changes to the running simulation
OpenScenario Editor
- XML syntax highlighting (tags, attributes, values)
- Line-number gutter with indent-based code folding
- Auto-save — flushes edits to a temporary file every 500 ms
- Undo / Redo — full document history
- Search — incremental find with forward/backward navigation
- Dynamic highlighting — on storyboard event trigger, the relevant XML element is automatically scrolled to and highlighted
OpenDrive Editor
- Same XML editor features as the OpenScenario editor
- Road ID cross-highlighting: selecting an actor highlights the matching
<road>element
Installation
Pre-built installers for Windows, macOS, and Linux are available on the GitHub Releases page.
Links
OpenScenarioDrive GitHub repository