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!
Benjamin Rothaupt M.Sc.
Institut für Flugmechanik und Flugregelung