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)
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.

Accepted Answer

Githin George
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.
  1 Comment
Haver
Haver on 15 Jan 2025 at 12:19
thanks a lot for your answer that really solves my problem. You are angle in my heart for your kind action even though my question is so simple and a bit of stupid. respect for your gracious personality. The world is deserved just for your existence.

Sign in to comment.

More Answers (0)

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!