This model contains two vehicle models. 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 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. How to build this model is explained in this playlist and it is updated whenever another video is uploaded:
Mustafa Saraoglu (2020). Vehicle Following Model with 3D Animation (https://www.mathworks.com/matlabcentral/fileexchange/74151-vehicle-following-model-with-3d-animation), MATLAB Central File Exchange. Retrieved .