opendrivejs is a javascript based parser to visualize .xodr file into browser.
Demo: https://opendrivejs.web.app/scenario/
OpenDrive standards - https://releases.asam.net/OpenDRIVE/1.6.0/ASAM_OpenDRIVE_BS_V1-6-0.html
- Node.js > 12.16.1
- Install dependencies by
yarn install - Start by
yarn start
DONESetup react.js project with three.js and a simple.xodrfile.DONEConvert XML to JSON. remove newline character.DONECreate a classes to parse json OpenDrive object.DONEAbility to parse line geometry.DONEPlot simple straight reference line and a basic road in three.jsAdd support for spiral.DONEAdd simple camera setting.DONEAdd simple lane support, lane with fixed widthDONEConvert to TypeScript