# UAV Trajectory Tracking and Obstacle Avoidance via Control Barrier Functions
This project involves Unmanned Aerial Vehicle (UAV) control to ensure Trajectory Tracking and Obstacle Avoidance using Control Barrier Functions.
More info on the mathematical model and control technique can be found in the [report](Report.pdf).
A video of the Matlab Animation is available at this [link](https://youtu.be/bqyiTBsz_MI). A renderization of the silmulation made with Simulink and Unreal Engine is also available at this [link](https://youtu.be/Eob2qzw_-Bo)
The work done is generalizable to any scenario, with any given reference trajectory and set of obstacles (both static and dynamic). However, four scenarios were considered and are available for download in each folder of this repository.
The files in each folder include:
- A main Matlab simulation file (ex. UAVs_XXX.m)
- A main Matlab Animation file (ex. UAVsAnimation.m)
- A "workspace" file used for simulink animation (quadcopter.mat)
- A main Simulink animation file (Quadcopter.sxl)
** WARNING: ** The Simulink animation can only run with an Unreal Engine Plugin (follow Simulink Guide). Moreover, **such plugin is currently not available for MacOS.** Matlab files are compatible with any hardware.
**FOLDERS GUIDE**
For all folders, run the simulation script first and then the animation (either Matlab or Simulink).
## UAVs_TwoObstacles
In this simulation it is assigned an elicoidal trajectory with two obstacles traveling on a straight line.
## UAVs_NoFeasible
In this simulation it is assigned a trajectory made of straight lines with 90° sharp angles. It shows that the simplified model allows track unfeasible trajectory for the real UAV.
## UAVs_Straight
In this simulation the obstacle and the UAV travel in opposite directions on a line. It is a singular case for the methodology in use, but the singularity is avoided with an "escape maneuver" (more info in the [report](Report.pdf)).
## UAVs_MultipleObstacles
In this simulation it is assigned a complex trajectory and the UAV navigates through both fixed and moving obstacles. It is the most challenging scenario of all the above.
## UAVs_Kalman
In this simulation the control law is based only on exact measurements of the obstacle's position. Velocity and acceleration of the obstacle are instead estimated by an implemented Kalman Filter.


海神之光
- 粉丝: 6w+
最新资源
- 线控转向CarSim与Simulink联合仿真模型:包含定横摆角速度增益变传动比模块、永磁同步电机FOC控制策略模型及CarSim输入输出Cpar文件
- MFC图书管理系统:基于Access数据库的书籍与用户管理及Excel导出功能实现 MD5加密 手册
- ASPICE VDA全流程文档:汽车软件开发的专业验证与质量管理 完整版
- COMSOL电磁超声仿真在L形铝板裂纹检测中的应用及其实现方法 - 裂纹检测
- 无线充电技术中LCC拓扑与磁耦合谐振的电能传输研究及仿真
- 五相感应电机矢量控制中NFV_SVPWM技术的原理与实现
- 工业自动化领域中欧姆龙CP1H+CIF11与台达DT330温控器的Modbus RTU通讯及控制输出实现
- 包材系统版本发布流程图.pdf
- 基于博途1200PLC+HMI的两种液体混合模拟控制系统仿真程序
- 两级三相光伏并网逆变器MatlabSimulink仿真建模及MPPT控制策略研究 精选版
- 微电网协调控制中直流母线电压分层管理与光储系统优化策略研究
- 西门子S7-1200 PLC的智能家居控制系统(成品)仿真实物模型 梯形图
- 基于VSG控制的MMC并网逆变器MATLAB仿真模型及其在弱电网中的应用 · 弱电网
- 西门子200SMART加显控触摸屏水处理程序案例:30吨双级反渗透+EDI工艺控制系统 · 水处理技术
- EtherCAT总线通信深度解析:基于STM32 MCU AX58100 ESC从站开发全方案
- 基于MATLAB Simulink的PMSM永磁同步电机PI双闭环SVPWM矢量仿真模型及应用 - PI双闭环
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈


