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 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

Githin George
Githin George le 13 Jan 2025
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 commentaire
Haver
Haver le 15 Jan 2025
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.

Connectez-vous pour commenter.

Plus de réponses (0)

Produits


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by