The lane markings appears at the right side of each road, but according to the official tutorial it should be at the road center.

3 次查看(过去 30 天)
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.

采纳的回答

Githin George
Githin George 2025-1-13
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 个评论
Haver
Haver 2025-1-15
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.

请先登录,再进行评论。

更多回答(0 个)

产品


版本

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by