ucla-mobility / OpenCDA

A generalized framework for prototyping full-stack cooperative driving automation applications under CARLA+SUMO.
Other
988 stars 197 forks source link

Error: Could not open types-file opendrive_netconvert.typ.xml #218

Open Yupeng-mango opened 9 months ago

Yupeng-mango commented 9 months ago

I want to convert my.xodr to my.net.xml by running python scripts/netconvert_carla.py your_map.xodr -o your_map.net.xml BUT, there is an error: Error: Could not open types-file '/home/xxx/OpenCDA/scripts/data/opendrive_netconvert.typ.xml'. Quitting (on error). Traceback (most recent call last): File "scripts/netconvert_carla.py", line 518, in netconvert_carla(args.xodr_file, args.output, args.guess_tls) File "scripts/netconvert_carla.py", line 498, in netconvert_carla _netconvert_carla_impl(xodr_file, output, tmpdir, guess_tls) File "scripts/netconvert_carla.py", line 371, in _netconvert_carla_impl raise RuntimeError('There was an error when executing netconvert.') RuntimeError: There was an error when executing netconvert.

How can I get the file opendrive_netconvert.typ.xml? Looking forward for your help!