Control the Parrot Mambo with the Simulink-compatible Firmware through the FlyPad/Phone
9 views (last 30 days)
Show older comments
Hello,
i am working as a research associate at the Stuttgart University. One of my jobs is to give lectures about how to use MATLAB and Simulink as a UAV flight control system designer.
I therefore bought a Parrot Mambo drone to show students how different types of control laws and controller gain combinations affect the behavior of the drone. I have since been trying to find a way to control the drone with the Parrot Flypad whilst running the MATLAB compatible firmware on the drone.
How can I have a custom flight controller from Simulink run on the drone and get the reference values in real time from a Parrot Flypad? In the "asbQuadcopter" software in the loop model, there is a data flow into the FCS block that contains reference values for the position and orientation. For an attitude controller, it would for example be nice to get the pitch and roll orientation reference from the right stick of the Flypad controller and the yaw reference by integrating the left stick x-axis.
Thanks in advance!
Regards,
Benjamin Rothaupt M.Sc.
Institut für Flugmechanik und Flugregelung
Universität Stuttgart
Answers (5)
srj4anoop
on 10 May 2019
Hi Benjamin,
The Parrot Flypad works only with a drone having the factory shipped firmware.
You have two options here:
- To work with the custom firmware, you can use the keyboard control block to manually control the drone while reading sensor data in Simulink using the Simulink Support Package for Parrot minidrones.
- On the other hand, The MATLAB Support package for Parrot drones works with the factory firmware and lets you read navigation data, control the drone, and capture images/video from the drone's FPV camera. This should also work in parallel with the Parrot Flypad that ships with the drone.
0 Comments
yaya net
on 3 Jan 2020
Hello
please can you tell me how i can change the references X,Y,Z in FCS Block, (i could't find '' positionAttitudeRef.mat '' - file) just in simulation?,
2 Comments
Alcino Castelo
on 6 Mar 2020
Dear,
Sincerely!
I am new to the world of programming in Matlab and Simulink the parrot mambo fly! That's why I have difficulty getting started! Could you please guide me to follow the steps to fly the parrot mambo with the simulink and matlab. If possible I want a complete tutorial guide on how to update the parrot mambo, with the windows 10 and Matlab RB2019
Thank you.
Kiala
1 Comment
See Also
Categories
Find more on Aerospace Applications in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!