OpenDRIVE är ASAM-standarden för beskrivning av vägnät inom autonom körning. Den innehåller väggeometri, körfält, korsningar, signaler och vägmarkeringar. Används i simulatorerna CARLA, VTD, RoadRunner och för ADAS-testning.
Viktiga funktioner

Om formatet OpenDRIVE
OpenDRIVE is a standard by the ASAM association describing a road network the way autonomous driving simulators understand it: not just lines, but roads with lanes, their width, speed limits, junctions and the links between them. The .xodr file is XML, read by CARLA, esmini, RoadRunner and Vires VTD.
Exporting OSM into OpenDRIVE is what you need when a scenario has to be checked on the real geometry of a specific city rather than on a synthetic proving ground: an ADAS scenario prototype, a teaching task, a route demonstration in a simulator. A ready network appears in minutes instead of drawing roads by hand in an editor.
The implementation is simplified: the road plan is built from straight segments following the OSM geometry (arcs and clothoids are not used), the number of lanes, the road type and the speed are substituted by the highway tag (motorway, for example, gets three lanes and 110 km/h, residential gets one and 40), and the default lane width is 3.5 meters. Junctions are determined by clustering road ends: three or more within a five-meter radius become a junction with links between the incoming roads, and highway=traffic_signals points turn into signals. There is no elevation profile — the road is flat. That is enough for a prototype and for running a scenario in, but it is not an HD map of survey accuracy.
Vilket program öppnar OpenDRIVE-filer
Följande program och applikationer kan öppna, redigera och arbeta med OpenDRIVE (ASAM)-filer (.xodr) som exporterats från OSM2CDR:
Format specifications
- Open standard
- 3D coordinates supported
- Lossless (no quality loss)
- Stores feature attributes
- Output: 1 file
- ASAM OpenDRIVE 1.7 (.xodr). Road network for autonomous-driving simulators (CARLA, esmini, Vires VTD).
Vem använder OpenDRIVE-kartor
Så exporterar du OpenDRIVE
Så öppnar du filen efter exporten
- CARLA — put the .xodr into the project and launch it in standalone OpenDRIVE mode: the simulator generates the three-dimensional scene from the road description itself.
- esmini — quick viewing and checking: the odrviewer utility opens the file and shows lanes and junctions without building a full scene.
- MATLAB RoadRunner — import the road network and refine it by hand: add markings, signs, an elevation profile, ramps.
- Any XML editor — the file is text: you can see how many roads, junctions and signals came out and adjust parameters selectively.
- Before a serious scenario — run the file through your tool's validator: junction connectivity is built from the distance between road ends and needs fixing at complex interchanges.
Populära kartor i OpenDRIVE
Hämta kartexporter i OpenDRIVE (ASAM)
Ladda ner professionella OpenDRIVE-kartor från OpenStreetMap. Direktgenerering, valfritt område.
Vanliga frågor
Relaterade format
Ofta exporterade tillsammans
Related Articles
ASAM OpenDRIVE (.xodr): the standard — and a ready file from OSM
The ASAM XML standard for lane-level road networks, read by CARLA, IPG CarMaker and NVIDIA DriveSim. Plus: export a read
usecaseTransport Simulation Formats: OpenDRIVE, SUMO, Lanelet2
OpenDRIVE, SUMO, Lanelet2 and ROS for transport simulation and autonomous driving. Export from OpenStreetMap.