How to create a standalone crosswalk on a single road and then export the scene to OpenDrive?

5 views (last 30 days)
I would like to create a standalone crosswalk on a single road and then export the scene into OpenDrive. I have followed the documentation, but when it comes to exporting the scene I receive the following error:
> Exporting OpenDRIVE to '/tmp/RoadRunner-cVZLRI/Export.xodr'
> ERROR: Export OpenDRIVE failed: Road 31 has zero length, but is attached to other roads (this is currently unsupported).
> ERROR: Export OpenDRIVE failed
Is this a limitation of RoadRunner or am I doing something incorrectly? 
I was able to successfully export a crosswalk, at an automatic junction, to OpenDrive, but this is not what I require.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 29 Jul 2020
In this specific case, the issue is due to a custom junction not having the start and ends far enough apart. 
To resolve the issue, ensure that the start and ends of the custom junction are far enough apart. Then, in the maneuver road tool, confirm that all maneuver roads have the "Lock Geometry" option selected in the Attributes Panel. (This is most important.)
You should now be able to export to OpenDrive after rebuilding maneuver roads. 

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!