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.
Feel free to reach out to us at https://www.mathworks.com/support/contact_us.html 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.
Currently, there are no plans to make the support package compatible with Linux. However, you could reach out to us at https://www.mathworks.com/support/contact_us.html 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
When this add ons will be compatible with Linux?
Hi 준하 장,
Can you try resetting the Bebop2 drone and try again.
If you still face the issue, please reach out to us at https://www.mathworks.com/support/contact_us.html 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?
Currently, this support package supports only Parrot Mambo FPV and Bebop2 drones.
Hi, Does this package support AR drone2.0 aswell ?
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.
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
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.
Reach out to us at https://www.mathworks.com/support/contact_us.html 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.
Hi, This support package currently supports the Parrot Mambo FPV and Parrot Bebop2 models and works only with Parrot's factory shipped controller.
did this package can be used to control other quadrotor ?
Which flight controllers can be used ?
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.
Hi Hu Xiao,
The support package currently does not support connecting to multiple drones of the same type.
Please reach out to us at https://www.mathworks.com/support/contact_us.html with your use case and current workflow.
Our team will consider adding this feature in one of the future releases of the support package.
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." .
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.
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.
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!
Is it possible to access the 3D model of the drone and import it to software such as Unity?
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 https://www.mathworks.com/support/contact_us.html
or post your query to MATLAB Answers: https://www.mathworks.com/matlabcentral/answers/index
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?
Hi Kangmin Lee,
The support package currently does not read GPS data from the drone.
Does it provide GPS information?
Hi HONG-XUAN LAI,
We are working on resolving the memory usage issue you reported. This will be fixed in the October support package update.
Hi HONG-XUAN LAI,
Contact us at https://www.mathworks.com/support/contact_us.html. We could help you resolve the issue you are facing.
using camera connection costs too much memory space, it even causes MATLAB crash.
For deploying the Quadcopter project onto a Parrot Minidrone, you need the Simulink Support Package for Parrot Minidrones (https://www.mathworks.com/matlabcentral/fileexchange/63318-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.
Is the Quadcopter project (https://www.mathworks.com/help/aeroblks/quadcopter-project.html) 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)
[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 https://www.mathworks.com/support/contact_us.html with more information on your use case.
This will help us in our investigation to support the drone in a future MATLAB release.
Will it work with Jumping Sumo?
[Update]: Now access the First Person View (FPV) camera of the Parrot drone to capture images and view live video stream
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!