Roadrunner u-turn bug
3 views (last 30 days)
Show older comments
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?
Alek Antic on 8 Jul 2021
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:
Robotics and Autonomous Systems Automated Driving Toolbox Scenario Simulation RoadRunner Scenario Simulation Programmatic Scene and Scenario Management
Find more on Programmatic Scene and Scenario Management in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!