How to implement Way Points Follower using Multiple Multirotor in Simulink

24 views (last 30 days)
Greetings Everyone!!!
I want to simulate Way Points following of Multple Multirotors in simulink, My focus is not to implement exact dynamics of Quadcopter UAV but my purpose is to test the WayPoints generated by OPTIMZATION CODE IMPLEMENTED IN MATLAB SCRIPT FILE.
For this i've looked for the already existing examples of simulink and have found many exciting ones. One of which is "Tuning Waypoint Follower for Fixed-Wing UAV" MATLAB command for this example is:
  1. The probelm that i am facing now is that this example is for fixed wings UAV and i want to implement this for Multirotor UAVs (most the blocks used in this example support Multirotor) and when i change the parameter for Multirotor i get an error regaring the Buses used with the UAV Guidance Model.
  2. Secondly this example shows simulation for single Fixed wing UAV and i want to implement this for Multiple Multirotors. I am not sure how to implement this for unknown number of UAVs: Unknown because number of UAVs are decided in the Optimization code, so i want it to be generic.
  3. Lastly how to accomodate mulitple UAVs in animation block?
Kindly guide me!!!

Accepted Answer

Jianxin Sun
Jianxin Sun on 5 Oct 2020
Hi, Hussain,
If you have access to the MATLAB R2020b and UAV Toolbox, you can find example demostrating how to control a multirotor to follow trajectories.
prj = openProject('uavPackageDelivery.prj');
The multirotor position controller is in the subsystem "uavPackageDelivery/Multirotor (MultirotorModel)/Inner Loop and Plant Model/Low-FidelityModel/Position and Acceleration Control". It consists of PID position control, PID velocity control and attitude control.
You can also find more about multirotor trajectory following controller in "Trajectory Generation and Control for Precise Aggressive Maneuvers with Quadrotors." by Mellinger, Daniel, and Nathan Michael.

More Answers (1)

Giuseppe Silano
Giuseppe Silano on 2 Mar 2022
I've been working on a built-in example using MATLAB/Simulink 3D Animation Toolbox for object detection and tracking with an Unmanned Aerial Vehicle. Below there are the links to the GitHub repository and the open-access paper. The code is also available on MathWorks File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!