MATLAB Answers

Roadrunner u-turn bug

3 views (last 30 days)
fanghao wang
fanghao wang on 22 May 2021
Answered: Alek Antic on 8 Jul 2021
I found that the u-turn between two lanes on the same road is not displayed properly, but u-turn between different roads is right. Since roadrunner will automatically generate junctions, why can't such u-turn curves be placed? This scenario is also very common. Is this a bug?

Answers (1)

Alek Antic
Alek Antic on 8 Jul 2021
Hello,
I understand you are concerned with the visual representation of the U-turn maneuver from one lane to another on the same road.
One option is to add a lane between your two target lanes, and setting it's width to 0. This results in an automatically generated maneuver like this:
There is another option if adding a lane to your road would cause other issues. For more manual control of maneuvers, we support changing their paths by using the "Convert to Explicit" button in the Attributes Panel.
This allows you to edit the control points of any maneuver that was either automatically generated or manually created. For example, manually editing the control points can result in a U-turn such as this:

Tags

Products

Community Treasure Hunt

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

Start Hunting!

Translated by