Template 01
Follow a lead vehicle
The ego vehicle drives behind a slower vehicle in the same lane.
Create OpenSCENARIO 1.2 scenarios on real lanes of your own map. Metromake writes a ready-to-run .xosc next to its .xodr, validated against the schema and run in esmini.
File → Export → OpenSCENARIO writes the scenario and the road network together.
The ego vehicle drives behind a slower vehicle in the same lane.
A vehicle in the adjacent lane changes into the ego vehicle's lane.
Two vehicles approach the same junction on different roads.
Each .xosc references the .xodr next to it. Download both into the same folder and open the .xosc in esmini.
metromake --export map.json scenario.xosc # follow a lead vehicle
metromake --export map.json scenario.xosc --cut-in # cut-in from the next lane
metromake --export map.json scenario.xosc --junction # two vehicles at a junction
# each also writes scenario.xodr
More in the command-line export docs. The road network itself is described on the OpenDRIVE editor page.
Join the waiting list, or talk to us about using Metromake in your test pipeline.