Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make an OpenDrive .xodr based on real world map #29

Open
ronyshaji opened this issue Sep 6, 2023 · 4 comments
Open

Make an OpenDrive .xodr based on real world map #29

ronyshaji opened this issue Sep 6, 2023 · 4 comments

Comments

@ronyshaji
Copy link

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

@johschmitz
Copy link
Owner

johschmitz commented Sep 6, 2023

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?

@ronyshaji
Copy link
Author

@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
Copy link
Author

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

@johschmitz
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants