Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 769 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 769 Bytes

Linear MPC on Quadrotors

This repositiory contains the SimuLink Model and the necessary Matlab .mat file to implement Linear MPC on a PixHawk based Quadrotor platform. The model employs the Model Predictive Control, ROS, and Control Systems toolboxes so make sure they are included with your MATLAB distribution.

Here is a picture of the Model for reference:

Simulink_model_final

Working of the Model

The model employs the ROS Toolbox and uses the Publish and Subscribe blocks to get and receive data from the roscore.

  • Subscribe: The Subscribe block subscribes to the /mavros/vision_pose/pose