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.
Published: 4 Aug 2021
Download Code and Files
Related Products
Learn More
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
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.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)