Skip to content

Story of My Life

Wanna know more about who I am and what I do? You've come to the right place. Please bear with this build up (I've always wanted to do this haha)

  • Homepage
  • About Me
  • Projects & Experience
  • Blogs & Articles
  • Photos

Longitudinal and Lateral Controller for Path Tracking of an Autonomous car

  • Developed a PID controller for longitudinal throttle control and a Stanley controller for Lateral control in Python
  • Leveraged Unreal Engine’s Carla Simulator for performing Simulations and controller tuning
  • Controlled vehicle to follow a race track navigating through preset waypoints at certain desired speeds

Lateral Control algorithm: Stanley Controller

  • Firstly, eliminate the heading error. Denoted ‘Psi’ in the formula below.
  • Secondly, eliminate the cross-track error. This step is to find the point on the path that is the closest to the vehicle which is denoted as e(t). The steering angle can be corrected as follows,
  • The last step is to obey the max steering angle bounds. So we can arrive at,
  • One adjustment that is made is to add a softening constant to the controller to ensure the denominator is non-zero

GitHub repo

Useful resources

  • Coursera: Intro to Self-Driving Vehicles
  • Yan Ding’s blog post
.
Contact Us
No Form Selected This form is powered : Sticky Floating Forms Lite