OpenDRIVE क्या है?
OpenDRIVE ASAM का ओपन स्टैंडर्ड है जो ड्राइविंग सिमुलेशन में static road network को describe करता है। इस फ़ॉर्मैट की extension .xodr होती है और यही वह canonical road-geometry container है जिसे OpenSCENARIO फ़ाइलें reference करती हैं।
OpenDRIVE फ़ाइल में क्या होता है
Section titled “OpenDRIVE फ़ाइल में क्या होता है”.xodr document road network को analytically describe करता है — polygons के set के रूप में नहीं, बल्कि parametric geometry के रूप में:
- Roads — s-axis के साथ
line,arc,spiral,poly3, याparamPoly3segments के रूप में express की गई reference lines। - Lane sections — बायीं, केंद्र और दायीं lanes; हर lane में widths, types, और lane-to-lane successor / predecessor links होते हैं।
- Junctions — intersections पर roads को connect करते हैं, incoming-road से connecting-road तक के explicit mappings के साथ।
- Road objects — guardrails, traffic signs, traffic lights, और crosswalks।
- Elevation और superelevation profiles — road के 3D shape के लिए।
Analytical representation की वजह से ही simulators “road 7 पर s=42m पर lane center क्या है?” जैसे queries सस्ते में कर सकते हैं। यही कारण है कि इस फ़ॉर्मैट को हाथ से edit करने की बजाय tools के ज़रिए edit करना ज़रूरी होता है।
OpenDRIVE versions जो जाननी चाहिए
Section titled “OpenDRIVE versions जो जाननी चाहिए”- OpenDRIVE 1.4 / 1.5 — लंबे समय से stable, पुराने tools में अभी भी आम।
- OpenDRIVE 1.6 / 1.7 — incremental सुधार और स्पष्टीकरण।
- OpenDRIVE 1.8 — वर्तमान revision जिसे drawtonomy अपने export में target करता है। RoadRunner 1.4–1.8 पूरी range को import और export दोनों में support करता है।
Tools आम तौर पर backward-compatible होते हैं लेकिन forward-compatible नहीं — यह ज़रूर जाँचें कि आपका simulator कौन सा version expect करता है।
OpenDRIVE vs Lanelet2
Section titled “OpenDRIVE vs Lanelet2”दो HD-map से जुड़े फ़ॉर्मैट जिन्हें अक्सर एक समझ लिया जाता है:
| पहलू | OpenDRIVE | Lanelet2 |
|---|---|---|
| उत्पत्ति | ASAM, simulation industry | Autoware, FZI |
| Geometry | Analytical (arc, spiral, polynomial) | Polylines (lanelets bounded by linestrings) |
| Primary consumer | CARLA, esmini, RoadRunner, Cognata, SCANeR | Autoware planning, perception ground truth |
| Storage | XML .xodr | OSM XML |
दोनों एक जैसे road networks describe कर सकते हैं, लेकिन अलग-अलग downstream tasks के लिए optimize किए गए हैं। Lanelet2 के बारे में विस्तार से जानने के लिए Lanelet2 क्या है? देखें।
प्रमुख authoring tools
Section titled “प्रमुख authoring tools”- MathWorks RoadRunner — full OpenDRIVE 1.4–1.8 support वाला widely-used HD-map editor। Commercial tool है, लेकिन कई universities में campus licenses उपलब्ध हैं।
- Truevision Designer — desktop OpenDRIVE editor, non-commercial use के लिए मुफ़्त। RoadRunner के open alternative के रूप में अक्सर इस्तेमाल होता है।
- Blender Driving Scenario Creator — triple clothoid road geometry और proper junction support वाला open-source Blender add-on।
- LaneMaker — built-in traffic simulation के साथ road networks के लिए मुफ़्त Apache-2.0 desktop editor, casual users के लिए उपयुक्त।
- odrviewer.io और odrplot — browser में
.xodrfiles inspect करने के लिए viewer tools, editing के बिना। - drawtonomy — partial OpenDRIVE 1.8 export के साथ browser-based व्हाइटबोर्ड।
drawtonomy कहाँ काम आता है
Section titled “drawtonomy कहाँ काम आता है”drawtonomy, RoadRunner / Truevision / BDSC जैसा HD-map editor नहीं है। इसका OpenDRIVE export partial है — simple scenes के लिए उपयोगी है, production HD maps के लिए नहीं:
- एक simple road layout — intersections, lane merges, basic geometry — sketch करें और OpenDRIVE 1.8 के साथ OpenSCENARIO 1.3 फ़ाइल भी export करें।
- पूरी तरह browser में export होता है। कोई install नहीं, कोई account नहीं।
- simple scenes के लिए output esmini में playback होता है।
drawtonomy का exporter आज क्या emit नहीं करता (इसके docs के अनुसार):
- OpenDRIVE junction primitives (
<junction>) — lane-level next / previous links emit होते हैं, लेकिन junction wrapper roadmap पर है। - Traffic signs को
<signal>entries के रूप में। - Analytical geometry (clothoids, polynomials) — drawtonomy 2D polylines में काम करता है और उन्हें approximate करते हुए OpenDRIVE emit करता है।
Survey-grade या production HD maps के लिए dedicated HD-mapping tool इस्तेमाल करें। drawtonomy sketch layer है।