Vehicle Path Tracking Using Stanley Controller
From the series: Improving Your Racecar Development
Learn how to implement a Stanley controller for path tracking and the steps to take to control the path of an autonomous vehicle. Create waypoints using the Driving Scenario Designer app, and build a path- tracking model in Simulink® using Automated Driving Toolbox™ and Vehicle Dynamics Blockset™. See how you can visualize and compare the vehicle’s trajectory in 2D, 3D, and bird’s-eye view. Discover how to simulate a three degrees-of-freedom (3DOF) vehicle driving around an oval track that is specified by waypoints in the Follow Waypoints Around Oval Track documentation example. You can find the example models used in this video on the MATLAB Central File Exchange.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.