Hi everyone,
I’ve implemented a visual control solution for the Follow Line challenge and was able to complete a full lap in 8.9 minutes. The overall performance is fairly stable, but I’m noticing that the car tends to drift slightly off the line during sharp turns.
My current approach is based on a PD controller with centroid tracking, along with adaptive smoothing for both the detected line position and steering output. I’m also using a region of interest to look ahead and adjusting speed based on the tracking error.
It performs well on straights and gentle curves, but sharp turns still need improvement.
I’d really like to get some suggestions on how to improve:
- Stability during sharp turns
- Better anticipation of curves
- Any control or vision-related optimizations
I’ll use the feedback to refine my approach, and then I’ll create a final explanatory video after incorporating the improvements.
Link - Demo Video
(Video description contains the code for review.)