File Exchange

image thumbnail

Path Following Using MATLAB and Simulink

version 1.1.0.0 (156 KB) by Carlos Santacruz-Rosero
Simulink model of a self-parking vehicle

58 Downloads

Updated 05 Dec 2017

View License

This entry contains the Simulink model for the "Path Planning and Navigation for Autonomous Robots" video. The demonstration walks through how to simulate a self-parking car with just three components: a path, a vehicle model, and a path following algorithm.  The vehicle model is implemented based on the kinematic equations of the bicycle model and the path following algorithm uses the built-in Pure Pursuit block from Robotics System Toolbox.

Comments and Ratings (7)

Hello Cao. Thanks for your message. You can find a simple model in the Simulink Model that you can download with this submission. This uses basic Simulink blocks to implement the equations of motion. For more complex models of the vehicle dynamics please check the Vehicle Dynamics Blockset: https://www.mathworks.com/products/vehicle-dynamics.html

cao kaifa

hello, Carlos Santacruz-Rosero, Thank you for the good work, I want to ask where I find the kinematic equations of the bicycle model?

Is there anyway to get this to work with 2017a release? Thank you.

Thanks for the info, Amin. Issue resolved now.

veni krishna

amin ta

amin ta

need some file and definition to run
get 7 error when run Simulink!

Error evaluating parameter 'LookaheadDistance' in 'PathFollowingFV/Pure Pursuit'
Caused by:
Undefined variable "PP" or class "PP.LookaheadDist".

Updates

1.1.0.0

Added MAT files required to run the demo

MATLAB Release Compatibility
Created with R2017b
Compatible with any release
Platform Compatibility
Windows macOS Linux

MATLAB Online Live Editor Challenge

View the winning live scripts from faculty and students who participated in the recent challenge.

Learn more

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

VehiclePathFollowing/

VehiclePathFollowing/