team-fusionx / CarND-Capstone

Team FusionX - Capstone Project for Udacity Self-Driving Car Nanodegree
MIT License
8 stars 3 forks source link

Waypoint Follower: Increase min lookahead distance for Carla test #146

Closed edufford closed 6 years ago

edufford commented 6 years ago

During Carla site test, the test was started with the vehicle parallel and offset to the left of the waypoints. The initial steering correction to get on the waypoints ended up pointing the car away from the light when it stopped at the stop line. Increasing the minimum lookahead distance for the pure pursuit algorithm can reduce the amount of this initial correction because the steering will target a waypoint a little further ahead of the car.

During simulation track 2 testing with the original church lot waypoints, the initial steering correction amount is reduced from a peak of 2 deg to 0.6 deg and the car is still able to turn sharply enough to make it around the course.

During simulation track 2 with the extracted Carla test waypoints, the car is still able to turn enough to follow the waypoints around the course with the increased 6m min lookahead distance.