drawtonomy vs हाथ से लिखा OpenSCENARIO XML
हाथ से लिखा OpenSCENARIO XML
Section titled “हाथ से लिखा OpenSCENARIO XML”OpenSCENARIO XML hand-write करना एक common workflow है और कई use cases के लिए right one।
XML appropriate path कब है:
- Scenario small है और आप byte-level control चाहते हैं।
- आप DSL या codegen pipeline से programmatically XML generate कर रहे हैं।
- आपको visual tools से परे spec features चाहिए — conditional triggers, parameter sweeps, custom controllers, complex storyboards, traffic-flow models।
- आप git पर scenarios पर collaborate कर रहे हैं और stable XML diffs मायने रखते हैं।
Production scenario authoring के लिए, hand-written या codegen’d XML canonical approach है।
drawtonomy आज क्या express कर सकता है
Section titled “drawtonomy आज क्या express कर सकता है”OpenSCENARIO 1.3 का subset, exporter docs के अनुसार:
- 2D top-down road network — lanes, intersections, simple linestrings — partial OpenDRIVE 1.8
.xodrके रूप में export। - Vehicles, pedestrians, traffic lights, road markings का static placement।
- Simple paths / trajectories
<FollowTrajectoryAction>के रूप में emit।
Exported .xosc esmini में simple scenes playback करती है। यह starting point है, finished scenario नहीं।
drawtonomy क्या express नहीं करता
Section titled “drawtonomy क्या express नहीं करता”Exporter docs में roadmap items के रूप में documented:
- OpenDRIVE junction emission (
<junction>)। - Traffic signs को
<signal>entries के रूप में। - Acceleration / deceleration profiles, dwell / stop events, signal-aware paths, lane-change actions, multi-actor storyboards।
- Conditional triggers, parameter sweeps, custom या ML-driven controllers, dense traffic flows।
इनमें से किसी के लिए भी, आप XML hand से लिखेंगे या code से generate करेंगे।
Reasonable hybrid
Section titled “Reasonable hybrid”- Layout settle करने के लिए drawtonomy में layout sketch करें।
- esmini bundle export करें और confirm करें simple version playback होती है।
.xosctext editor में खोलें और जो drawtonomy express नहीं करता वह add करें।- Test plan / paper / slide के लिए drawtonomy source को figure के रूप में रखें।
drawtonomy sketch है। XML किसी भी non-trivial scenario के लिए source of truth है।
Same OpenSCENARIO community में
Section titled “Same OpenSCENARIO community में”Hand-written XML OpenSCENARIO के लिए foundational authoring path है — ecosystem का हर दूसरा tool ultimately इसे produce करता है (या इसका DSL equivalent)। drawtonomy का exporter, scenariogeneration, Scenic, RoadRunner, Blender DSC, और बाकी सब कुछ point पर XML emit करते हैं। XML directly read और write करना ही standard को standard रखता है।