Camera_LaneDetection.zip
Let us now imagine that we want to follow an object while driving, which can be, e.g., a white dashed-line on the street or a car at the front. If we were able to detect this landmark, we could use the bearing angle to such object as error information in order to control the steering angle. Simulated vision in this case uses as landmarks the curbs of the streets and based on this data we can compute a trajectory to follow.
The simulation block is filled with data points of the map: the left and right curbs as well as the waypoints; additionally we use information of the current estimated position of the vehicle and the camera block provides as the output the data set of points that a camera would see as curbs at the front of the vehicle inside a region of certain radius and angle of vision. After this the block provides automatically the trajectory to follow as the center point of the detected trajectory.
Cite As
Francisco (2023). Camera_LaneDetection.zip (https://www.mathworks.com/matlabcentral/fileexchange/46847-camera_lanedetection-zip), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Camera_LaneDetection/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |