How can I implement the Matlab code(Not Simulink) to the Parrot Mambo Drone?
조회 수: 5 (최근 30일)
이전 댓글 표시
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
채택된 답변
Walter Roberson
2024년 3월 24일
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
Walter Roberson
2024년 3월 24일
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.
추가 답변 (1개)
Vineeth Nair
2024년 3월 25일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 MATLAB Support Package for Parrot Drones에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!