Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] [EXTERNAL] Re: Carla Simulator Support for SUMO generated opendrive files.

Hello again,

thank You for answering so quickly. I am using the windows development version of SUMO I downloaded on 16.02.2022 (https://sumo.dlr.de/docs/Downloads.php). The file works with Esmini simulator, but not in Carla. Here are the steps for generating the ODR file.



  1. Osm2Sumo --> netconvert --osm-files ./OSM/osmfile.osm -o ./SUMO/sumofile.net.xml --osm.all-attributes --speed-in-kmh --geometry.remove --junctions.join --output.street-names --osm.extra-attributes all                                                                                 
  2. Sumo2Odr --> netconvert -s ./SUMO/sumofile.net.xml --opendrive-output ./SUMOopendrive.xodr                                                   
  3.  I take the Sumo generated OpenDrive (CarlaTest.xodr) file to Carla and try to parse it with the command-->                              python3 config.py -x opendrive/SUMOopendrive.xodr
  4. I get an error that simply states : opendrive could not be correctly parsed.

With kind regards,
Gregor Ovsenjak




Od: sumo-user <sumo-user-bounces@xxxxxxxxxxx> v imenu Jakob Erdmann <namdre.sumo@xxxxxxxxx>
Poslano: sreda, 23. februar 2022 14:02:48
Za: Sumo project User discussions
Zadeva: [EXTERNAL] Re: [sumo-user] Carla Simulator Support for SUMO generated opendrive files.
 
Thank you for bringing this up. I was not aware Carla had an issue with SUMO-generated OpenDRIVE and have invited their developers to report their problems. If you can provide a (small) example for reproducing the problem, that would also help: ZjQcmQRYFpfptBannerStart
This message is from an external sender
This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. If you are not sure, you can use the ReportPhish Button to submit the message for analysis.
ZjQcmQRYFpfptBannerEnd
Thank you for bringing this up. I was not aware Carla had an issue with SUMO-generated OpenDRIVE and have invited their developers to report their problems.
If you can provide a (small) example for reproducing the problem, that would also help:
-a netconvert-generated xodr file that carla cannot load
- all the inputs/options that were used to generate the above xodr
- a description of the required steps to trigger the carla error

regards,
Jakob

Am Mi., 23. Feb. 2022 um 13:46 Uhr schrieb Ovsenjak, Gregor AVL/SI via sumo-user <sumo-user@xxxxxxxxxxx>:

Hello,

thank You for all the nice answers You provided. I have a question about the support for CARLA simulator. Recently I tried visualizing the SUMO generated OpenDrive file with the Python API from CARLA. However I ran into an error that says CARLA  simulator cannot parse the OpenDrive file that was generated by SUMO.


My question is, do You perhaps now why Carla cannot correctly parse the SUMO generated OpenDrive file ?

From an answer ( https://github.com/carla-simulator/carla/issues/3009#issuecomment-653010988 ), they said that the error has something to do with junctions. I don't know what exactly they mean. 


Any feedback will be much appreciated.

With kind regards,

Gregor Ovsenjak

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Attachment: CarlaTest.xodr
Description: CarlaTest.xodr


Back to the top