How can I implement the Matlab code(Not Simulink) to the Parrot Mambo Drone?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
규연
am 24 Mär. 2024
Kommentiert: Vineeth Nair
am 12 Apr. 2024
I want to make a controller for Mambo drone in Matlab code not the Simulink.
And then, Can I implement the controller to the mambo drone?
I know that the simulink file can be implemented to mambo drone by using 'Simulink Support Package for Parrot Minidrones'.
But I want to implement the code in Matlab to mambo drone.
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 24 Mär. 2024
You would need to use something like Embedded Coder for this. You will not be able to take advantage of anything in the support package, so you will likely need to write a number of C or C++ files yourself in order to interface to the libraries.
2 Kommentare
Walter Roberson
am 24 Mär. 2024
Yes, you would write MATLAB code and convert it to c/c++ code using Embedded Coder. You would likely also need to write several interface routines to be able to access library functions; you might be able to use coder.ceval for some of that.
Sorry, I cannot tell you how to put the c/c++ code on the parrot mambo.
Weitere Antworten (1)
Vineeth Nair
am 25 Mär. 2024
The MATLAB Support Package for Parrot® Drones does not support the workflow of deploying your code on to the drone and changing its firmware. Only Simulink Support Package for Parrot Minidrones supports the workflow of building your own controller.
2 Kommentare
Siehe auch
Kategorien
Mehr zu MATLAB Support Package for Parrot Drones finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!