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.
Carlos Santacruz-Rosero (2019). Path Following Using MATLAB and Simulink (https://www.mathworks.com/matlabcentral/fileexchange/64902-path-following-using-matlab-and-simulink), MATLAB Central File Exchange. Retrieved .
My name is Lilandi Georgakopoulou and I am in my last year of studies in Electrical Engineering and I am working on my thesis. I am working with robotino by festo and I want to make it follow a path and I have 2 cameras thermal and optical in order to designate humans or objects.(and I am using image processing) I want to use Matlab because I dont know how to code. Could you please help me and guide me with a series of seminars. Could you please suggest me which seminars should I watch?
Thank you very much,
Hi Carlos, thank you very much for your work. Awesome job!
I'd like to know how and where I can change the vehicle path, in order to get different results.
Thank you very much!
Got it works. Thanks!
Hi Carlos, I got the same 7 errors as Amin Ta.
Great Job Carlos. I'm wondering, are there explanations for how you got the simscape visualization working? Also where are the waypoints coming from in your system? The only .m file I see is for simscape setup. I'd like to know a little more about how I can reproduce something like this on my own. Thanks!
Hello Mohammed: Please check the examples of Automated Driving System Toolbox. There are a couple of examples that showcase similar workflows.
Many thanks for sharing this Simulink model.
I have a question please, which is related to this work.
How to detect a free parking space from a web camera mounted on the front or side of a self driving car using Matlab or Simulink?
Hello, which book do you refer to?
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
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.
need some file and definition to run
get 7 error when run Simulink!
Error evaluating parameter 'LookaheadDistance' in 'PathFollowingFV/Pure Pursuit'
Undefined variable "PP" or class "PP.LookaheadDist".
Added MAT files required to run the demo