Automated Driving Toolbox get distance from car to lane boundaries

1 visualización (últimos 30 días)
Hi,
when using the automated driving toolbox e.g. with the MATLAB example "Lane Keeping Assist with Lane Detection", is there a way to determine the distance of the vehicle to the lane boundaries at different reference points of the vehicle? E.g. from the front of the vehicle or the rear?
As far as i understand, in this example the reference is made to the centre of the vehicle.

Respuestas (1)

Priysha LNU
Priysha LNU el 6 de Oct. de 2020
In the driving scenario designer, you can get lane detections.
If you know the dimension of your ego vehicle, you can then canculate the distance from the lanes to the ego vehicle.
For the "Lane Keeping Assist with Lane Detection" example, the ego vehicle dimensions can be found from here.
DISCLAIMER: These are my own views and in no way depict those of MathWorks.
  3 comentarios
Dimitrios Topouridis
Dimitrios Topouridis el 8 de Oct. de 2020
Thank you, but this example involves predetermining the driver Path.
How do you know that this example references the ego vehicle dimension, as stated in the link you shared? I cant find any information regarding that

Iniciar sesión para comentar.

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by