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