Open svanimisetti opened 2 years ago
I cant understand how to resolve this issue. I'm attaching the error screenshot for your further help. best,
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
For the record: Updating sumo should help.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
CARLA : 0.9.14
Sumo - 1.17.0
OS-Ubuntu 20.04 ( focal)
~/Downloads/CARLA_0.9.14/Co-Simulation/Sumo/util$ python3 netconvert_carla.py Town05.xodr
Error: File 'Town05.xodr' is not accessible (No such file or directory).
Error: No nodes loaded.
Quitting (on error).
Traceback (most recent call last):
File "netconvert_carla.py", line 541, in
I have the same problem with latest version of CARLA and Sumo simulator both.
How to resolve this?
Please try calling netconvert directly according to the options found in netconvert_carla.py
:
netconvert --opendrive-files yourfile.xodr --output-file sumo.net.xml --geometry.min-radius.fix --geometry.remove --opendrive.curve-resolution 1 --opendrive.import-all-lanes --output.original-names --tls.discard-loaded true
also, check whether you are using 1.17.0 by calling netconvert
without arguments which should report the version number.
Thank you sir for your reply. I would try this.
It's working perfectly. Thank you so much for your help.
CARLA version: 0.9.13 Platform/OS: Windows 10 Problem you have experienced: netconvert_carla.py is fails to convert OpenDRIVE files What you expected to happen: SUMO .net.xml files should have been created - but there is an error instead.
Steps to reproduce:
C:\apps\CARLA
C:\apps\sumo-1.9.0
Town01.xodr
to Desktop fromC:\apps\CARLA\CarlaUE4\Content\Carla\Maps\OpenDrive\Town01.xodr
cd %USERPROFILE%\Desktop && python convert_xodr.py
and it produces following error.line 4
inconvert_xodr.py
toos.environ['SUMO_HOME'] = 'C:/apps/sumo-1.8.0'
or any SUMO version <=1.8.0.convert_xodr.py
and this time it converts the .xodr without any issue.This seems to be an issue with newer version of SUMO - which may be using some new specifications for OpenDRIVE. Not sure, but the issue is reproduced in multiple machines.