blender-driving-scenario-creator icon indicating copy to clipboard operation
blender-driving-scenario-creator copied to clipboard

Make an OpenDrive .xodr based on real world map

Open ronyshaji opened this issue 9 months ago • 4 comments

Hello

Your tool is very useful to create OpenDrive files. I just started using the tool and have a couple of questions regarding the tool.

  1. How can i create a map based on real world. I need to create a rough road based on google map. i roughly estimated the distances from the google map. I also created a straight road but seems like i can't control the length of the road. Is there any option to adjust the length of the road after plotting it. I saw the scale option but i think its not the right one as the markings are streching while using it. Any method i am missing ?

  2. Is there any another approach rather than the distance to create a map based on google map?

  3. How to join two roads expecially a road that goes left from the main road like a cut out road from the Autobahn?

Thanks

ronyshaji avatar Sep 06 '23 12:09 ronyshaji

You can try something like https://github.com/vvoovv/blosm to import the map and then draw the roads based on that, please provide some feedback if it works. I am currently working on a better junction connecting road tool but it requires some changes to the scenariogeneration Python lib so it still takes some time but this will probably be helpful for what you want to do. Regarding question 3 I am not completely sure, can you draw or screenshot the problem?

johschmitz avatar Sep 06 '23 19:09 johschmitz

@johschmitz Thanks for the reply.

For the question:3, this is my requirement. Somebody created the map using another tool but it is not perfect and I need to create a new one --> Junction

Also I created a map and imported to carla/unreal and seems like some waypoints are missing in them even on a straight road. Do you have any experience like this? Please check screenshot for reference: https://ibb.co/jGQWkqd https://ibb.co/KWbXWvm

ronyshaji avatar Sep 07 '23 06:09 ronyshaji

@johschmitz Do you have any updates on this? stuck with it for some time.

ronyshaji avatar Sep 11 '23 07:09 ronyshaji

Hm no I did not try this myself so far. What you can do is have a look into the OpenDRIVE XML and see if you find any errors which cause your problems and if so you can report this here and I can fix it if it is due to my addon. And if there is nothing broken in the XML then it might be a bug in the importer.

johschmitz avatar Sep 11 '23 09:09 johschmitz