The lane markings appears at the right side of each road, but according to the official tutorial it should be at the road center.
20 views (last 30 days)
Show older comments
the picture is below.I can't find how to set the lane markings(the yellow lane in the picture) to the road center it needed. thanks for your warm help.

0 Comments
Accepted Answer
Githin George
on 13 Jan 2025 at 6:15
Hi Haver,
You can set the “Number of Lanes” parameter to [1 1] and observe that the double solid yellow lane markers appear as expected.
The “Number of Lanes” parameter is expected to be a 1x2 vector as seen in the documentation link below. You can refer to the same to know more about adding lanes and lane markers as well:
I hope this helps.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!