OpenDRIVE là chuẩn ASAM để mô tả mạng lưới đường trong lái xe tự hành. Nó chứa hình học đường, làn, nút giao, tín hiệu và vạch kẻ đường. Được dùng trong các trình mô phỏng CARLA, VTD, RoadRunner và để kiểm thử ADAS.
Tính năng chính

Giới thiệu về định dạng 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.
Chương trình nào mở được tệp OpenDRIVE
Các chương trình và ứng dụng sau có thể mở, chỉnh sửa và làm việc với tệp OpenDRIVE (ASAM) (.xodr) được xuất từ 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).
Ai sử dụng bản đồ OpenDRIVE
Cách xuất OpenDRIVE
Cách mở tệp sau khi xuất
- 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.
Bản đồ phổ biến ở định dạng OpenDRIVE
Nhận bản đồ xuất ở định dạng OpenDRIVE (ASAM)
Tải bản đồ OpenDRIVE chuyên nghiệp từ OpenStreetMap. Tạo tức thì, bất kỳ khu vực nào.
Câu hỏi thường gặp
Định dạng liên quan
Thường được xuất cùng nhau
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.