How to get lane marking coordinates?

Hi,

I’m wandering if there are some ways to get the lane marking coordinates.

The Python API only provide features like the lane marking’s type, width…

I also found a git issue discussed about it. But I don’t really understand yet.

Thanks in advanced.

Hey,

I’m not sure how precise this is, but you can use the carla.Waypoint’s transform to know the center of the road, and then the lane_width to calculate the position of the lane markings.

Hi,

Thanks a lot. That works for me!