Automated Driving Toolbox get distance from car to lane boundaries
3 views (last 30 days)
Show older comments
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.
0 Comments
Answers (1)
Priysha LNU
on 6 Oct 2020
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 Comments
See Also
Categories
Find more on Automated Driving Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!