roimar90 / Quadrotor-LQR

A MATLAB/Simulink implementation of a primitive 6-DOF quadrotor model with an LQR/LQI controller.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quadrotor-LQR

A MATLAB/Simulink implementation of a primitive 6-DOF quadrotor model with an LQR/LQI controller.
A project report is included.

Prerequisites

MATLAB/Simulink software v2018a or higher.

How to use

  1. Download the files,
  2. double click "Quadrotor_LQR.prj" to open it in the MATLAB/Simulink environment (now the parameters will be loaded and the Simulink model "UAV_Model_LQR.slx" and GUI will pop-up),
  3. in the GUI, set the desired x,y,z, and time parameters, and click on the "Run Simulation" button to run the model,
  4. in the GUI, click on the "Plot Results" button to plot the results,
  5. ... edit the MATLAB script "Imported_Data.m" for your desiered quadrotor and controller parameters.

Sample results


Authors

  • Ahmad Kourani - initial work - KouraniMEKA.
  • Mohammad Hisham Ismail.
  • Rami Hamdan.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

About

A MATLAB/Simulink implementation of a primitive 6-DOF quadrotor model with an LQR/LQI controller.

License:MIT License


Languages

Language:MATLAB 100.0%