Autonomous Vehicle Modeling

Autonomous vehicle modeling based on the YouTube tutorials:


Updated 6 Dec 2022

From GitHub

View License on GitHub

This model contains vehicle models that drive autonomously following each other on a highway. The following vehicle uses different controllers to follow the leading vehicle. The purpose of this model is to tune the MPC controller for the following vehicle so that it keeps a safe distance. The visualization is done by both 2D and 3D Animations at this point but we improve the model every week, we will include different vehicle following algorithms and visualizations such as gaming engines in the future. How to build this model is explained in this playlist and it is updated whenever another video is uploaded:

Cite As

Saraoğlu, Mustafa, et al. “Safety Assessment of Autonomous and Connected Vehicles by a Model-Based Traffic Simulation Framework.” Proceedings, Springer Fachmedien Wiesbaden, 2019, pp. 988–1002, doi:10.1007/978-3-658-25939-6_78.

View more styles
MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes

- Issues with the repo fixed.


See release notes for this release on GitHub:


To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.