File Exchange

image thumbnail

MATLAB Support Package for Parrot Drones

Control Parrot drones from MATLAB and acquire sensor data


Updated 26 Apr 2021

MATLAB® Support Package for Parrot® Drones provides interfaces to control a Parrot drone from MATLAB. You can pilot the drone by sending commands to control its direction, speed, and orientation. You can also read navigation data such as speed, height, and orientation using MATLAB commands.

This support package is functional for R2019a and beyond.

Comments and Ratings (51)

heng wang

Guangxi Fan

Srijith Vijay

Hi Yibo,

Feel free to reach out to us at with more details on your use case and we could help you resolve this issue.
You could also try resetting the drone to check if that helps. Here are the instructions on how to reset a Tello drone:

Please use the Ryze Tello drone file exchange for questions related to the MATLAB Support Package for Ryze Tello Drones:

This file exchange page is exclusively for comments/questions related to the MATLAB Support Package for Parrot Drones.


I have four tello drones. However, one of them cannot be initialized in Matlab. When I use tello=ryze(); Error occurs: Unable to receive data from the drone. Ensure that the drone is powered on and the computer is connected to the drone's WiFi network. But this one works well with mobile app.

Hi Brilian,

Currently, there are no plans to make the support package compatible with Linux. However, you could reach out to us at with more information on your use case and our team could investigate more on this use case and consider supporting this in a future release, if possible.

MATLAB Hardware Team

Rodolfo Hofmann

When this add ons will be compatible with Linux?

Srijith Vijay

Hi 준하 장,
Can you try resetting the Bebop2 drone and try again.,and%20the%20drone%20will%20restart.

If you still face the issue, please reach out to us at and we will help you fix the issue.

준하 장

My drone is a parrot -bebop2 and my pc and drone connected by WiFi but when i try to p = parrot();
error message comes out
Unable to connect to a Parrot drone. Ensure that the drone is powered on and the computer is connected to the drone's WiFi network.
how can i solve this problem?


Srijith Vijay

Hi Aadithya,
Currently, this support package supports only Parrot Mambo FPV and Bebop2 drones.

aadithya Sujit

Hi, Does this package support AR drone2.0 aswell ?

Srijith Vijay

Hi Kangmin,
We cross-checked the orientation values and the yaw angle is still relative to the point when it's turned on (0 deg).
The release note link below can be used to track all support package related updates.

Kangmin Lee

I tested again today and this time, the yaw data gives 0[deg] at the point the drone is turned on, just like few months ago. Really unsure why the last test gave different results

Kangmin Lee

Long time no see. I used this package half a year ago for a project. Back then, the yaw(azimuth) data from "readOrientation" was based on the angle of the drone when it was turned on (0 [deg] at that point). I think this has been updated and now gives the yaw angle independent of the starting angle. Can you explain about this change? Also, is there a way I can check the details of these kinds of updates? Thanks.

Srijith Vijay

Hi April,
Reach out to us at with more details and we will help you fix the issue you are facing.



Hello, I am having problems installing this suppport package onto my Matlab version R2019b. I already have the required Simulink add on with my program. After I install it, I cannot find my newly downloaded package anywhere and I am not able to use it for Matlab. Any help with this would be great.

Srijith Vijay

Hi, This support package currently supports the Parrot Mambo FPV and Parrot Bebop2 models and works only with Parrot's factory shipped controller.

islam dib

did this package can be used to control other quadrotor ?
Which flight controllers can be used ?

ahmed masry

hu xiao

Hi Srijith Vijay,
We seems to solve the problem. In 'parrot.m', we reassign the 'HostPort' of each drones, and connect the drones successful. But we need more tests to verify the method.

Srijith Vijay

Hi Hu Xiao,
The support package currently does not support connecting to multiple drones of the same type.
Please reach out to us at with your use case and current workflow.
Our team will consider adding this feature in one of the future releases of the support package.
Thank you.

hu xiao

We have controled a single Bebop 2 drone successful.
However, we try to control two Bebop 2 drones simultaneously by a computer. We have used two WLAN cards to connect the drones and changes the ip of one of the drones.
The package is always conflicting when we establish two structural bodys for the drones. The error is "Unable to connect to a Parrot drone. Ensure that the drone is powered
on and the computer is connected to the drone's WiFi network." .

hu xiao

Srijith Vijay

Hi Nicola,
You are right. The flat trim is done internally every time you create a new parrot object.
Also, Parrot's firmware currently does not provide drone's rotor speeds.
Thank you for sharing your use case. We will consider providing these features in a future release of the Support Package.

Thank you!

Nicola Blasuttigh

Some question about the package and the drone stability:
- is there a Matlab "flat trim" command? Maybe is it execute every time a parrot() object is created?
- is it possible (maybe in a future) to read the speeds of each rotor? Just to understand if the drifting of the drone is created by the sensors flat trim or by the different speed of the rotors.

Thank you.

Srijith Vijay

Hi Erfan,
Accessing and importing a Parrot drone 3D model is out of scope of this Support Package.
However, you can refer to the following links to help you get started with the use case:

Hope this helps!

erfan roghani

Is it possible to access the 3D model of the drone and import it to software such as Unity?

Kangmin Lee

Hi Huzeyfe,

1. The Mambo and Bebop2 drones have a fixed navigation/sensor data refresh rates of 2Hz and 10Hz respectively. Both FPV drone cameras have a frame rate of 30fps.
2. Access to the drone's vertical camera is broken in Parrot's latest factory firmware versions (above v3.0.25). This currently prevents the support package from adding support for the drone's vertical camera.
3. The MATLAB Support Package for Parrot Drones works only with the default factory shipped firmware and does not support a custom firmware.

For further queries, feel free to contact us at
or post your query to MATLAB Answers:

Huzeyfe KILIÇ

I have a few questions about this package
1-What are the refresh rates possible with reading sensor and image data with this package?
2-Are there any plans to add support for reading images from downfacing camera?
3-Is it possible to use this package after deploying costum firmware with the simulink support package?
Thank you

Srijith Vijay

Hi Kangmin Lee,
The support package currently does not read GPS data from the drone.

Kangmin Lee

Does it provide GPS information?

Srijith Vijay

We are working on resolving the memory usage issue you reported. This will be fixed in the October support package update.

Srijith Vijay

Contact us at We could help you resolve the issue you are facing.


using camera connection costs too much memory space, it even causes MATLAB crash.

Srijith Vijay

Hi Charles,
For deploying the Quadcopter project onto a Parrot Minidrone, you need the Simulink Support Package for Parrot Minidrones ( and this currently does not support the Bebop2 drone. It supports only the Rolling Spider and Mambo mini-drones.

Charles Brosseau

Is the Quadcopter project ( compatible with the Bebop 2? If not, is there any available example or existing project ready to work with the Bebop 2?

PS: Yes I have the Matlab Support Package for Parrot Drones (19.1.3 version)

Srijith Vijay

[Update]: The MATLAB Support Package for Parrot Drones now support Parrot Bebop2 drones.


Hi Kai Chuen Tan,

We do not support the Parrot Jumping Sumo currently.
Feel free to reach out to us at with more information on your use case.
This will help us in our investigation to support the drone in a future MATLAB release.


Kai Chuen Tan

Will it work with Jumping Sumo?

Srijith Vijay


[Update]: Now access the First Person View (FPV) camera of the Parrot drone to capture images and view live video stream

Amit Charantimath

Achyutha Hosahalli

Niwin Anto

Ankur Bose

Reni Joy

Greg Drayer


MATLAB Release Compatibility
Created with R2019a
Compatible with R2019a to R2021a
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!