jdrew1303 / ros_duckie

An educational self driving car with ROS based on the Duckiebot
1 stars 0 forks source link

Lane following cannot handle corners #3

Open jdrew1303 opened 5 years ago

jdrew1303 commented 5 years ago

The current implementation takes the lines from the HoughLinesP and grades the into left (positive slope) and right (negative slope). This causes some errors with sharp turns. Keeping with an OpenCV pipeline for the time being try to fix cornering issues. (RL and imitation learning could probably handle this easily but it would be good to explore the OpenCV space first).

image image image image image

The lane lines in this case are : [[[-14, 100, 98, 50]], [[246, 100, -157, 50]]] The calculated steering angle: 25

Doc for research:

jdrew1303 commented 5 years ago

This measures the curvature of the road. Need to see if it can accommodate curves.

Here is some research to other approaches that may work: