Automated Driving Toolbox get distance from car to lane boundaries

3 次查看(过去 30 天)
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.

回答(1 个)

Priysha LNU
Priysha LNU 2020-10-6
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 个评论
Dimitrios Topouridis
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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Automated Driving Toolbox 的更多信息

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by