Get lanes position from map
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi everyone,
I need to classify in which lane detected objects lie on.
I have the GPS data (latitude and longitude) of the Ego vehicle and the relative distances (lateral and longitudinal) of the detected surrounding vehicles. I have yaw rate too, so trajecotries are quite precise.
My idea was to detect the bounding box of the map from the GPS data recorded and download the map from OpenStreetMap. Then I open it in Driving Scenario Designer where I can clearly see that, unless some small import mistakes, road is precisely shown. Lines are there and they're correct. I'd like to export the position of lines such that I can know the boundaries of lanes (or lanes directly) along with the driving direction, but I don't know how to access these data that have to be embedded somewhere. I saw the roadProperties command, but I'm stuck in 2021a realease so I can't use it.
Thank you in advance.
0 comentarios
Respuestas (1)
Santosh Fatale
el 19 de Mayo de 2023
Hi Luca,
I understand that you are interested in extracting the road parameters from the road object.
Currently, this feature is available in MATLAB R2023a. To extract properties of road object you could use the “roadprops” function.
For more information about “roadprops” function, please refer to following documentation link.
To use this feature, it is recommended to update your MATLAB version to R2023a.
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!