johschmitz/blender-driving-scenario-creator

How to Export a Road Profile with Elevation in OpenRoad?

Opened this issue · 3 comments

Hello! I’m working with this extension and need to export a road profile that includes elevation data. Does anyone know the best way to export a road with elevation? Any tools or tips you can recommend?

Looking forward to your insights!
Thanks!!

Elevation on the road reference line in longitudinal direction is supported, see the Readme and the tooltips in the statusline to see the shortcuts. Tooling wise it is probably not perfect but feel free to leave some feedback about it in here. The resulting elevation profile is also exported during OpenDRIVE export.

Elevation in lateral direction such as superelevation, shape, etc. is currently not supported. For that you would have to manually edit the XML or use additional/alternative tooling.

Thanks for your quick response!

This is the test road that I am trying to export from Blender:
image

Nevertheless, when I open the .xodr file the following elevation profile can be seen:

elevationProfile

        <elevation s="0" a="0.0" b="0" c="0" d="0"/>
  </elevationProfile>

The way I created this elevation change in the straight is by deforming the road into the shape of my terrain. Can this be the cause of the export issue?

Many thanks!

How did you create that road? Did you manually edit the road mesh? It looks like you might have done something like that. If so, that is not supported. Try to visualize the 3D model as well as the underlying OpenDRIVE data in a tool such as esmini to understand this.
What is supported is the add the elevation while drawing the road with the mouse.