1 Star 2 Fork 0

nealliu / Self_Driving_Car_Simulation_In_MATLAB

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Self-Driving Car Simulation In MATLAB

This repository contains a series of self-driving car simulations in MATLAB. The simulations are mainly focused on Controlls, Sensor Fusion, State Estimation and Localization in the context of Self-Driving Cars.

1. Lane Keeping Assist System Simulation for an autonomous vehicle in MATLAB/SIMULINK

This project uses the principlas of computer vision and control to simulate a lane keeping assist system for self driving cars in simulink. The computer vision toolbox in simulink is used to detect the lane lines, and a PID controller is utulized to drive the vehicle in between the lane lines.

First, the sequence of images captured by the camera are converted to the HSV color space. A threshold is applied to the S-channel in the HSV color space to isolate the lane lines. The binary image is transformed using a projective transformation to obtain a bird's eye view of the scene. Finally, the bird's eye view is processed using a 2D point cloud analyzer in a Simulink User-defined function to detect the left and right lanes.

2. PID Controller Design for Tracking

3. A Hybrid Automaton Design

The dynamics of the car is implemented and a PID controller drives the car towards the specified Goal while avoiding the obstacle in the map. The dynamics of the car and the controller are all implanted in Car.m file using object-oriented programming in MATLAB. The main function runs the car model and plots the results to generate the GIF file for this simulation.

NOTE: Run the Main.m file in each of the the folders for the simulation to start.

The code associated with each of simulations are categorized in different folders. The code is standalone and should run on any MATLAB version without requiring additional dependencies.

空文件

简介

取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Matlab
1
https://gitee.com/nealliu/Self_Driving_Car_Simulation_In_MATLAB.git
git@gitee.com:nealliu/Self_Driving_Car_Simulation_In_MATLAB.git
nealliu
Self_Driving_Car_Simulation_In_MATLAB
Self_Driving_Car_Simulation_In_MATLAB
master

搜索帮助