フィルターのクリア

How can I implement the Matlab code(Not Simulink) to the Parrot Mambo Drone?

4 ビュー (過去 30 日間)
규연
규연 2024 年 3 月 24 日
コメント済み: Vineeth Nair 2024 年 4 月 12 日
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.

採用された回答

Walter Roberson
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 件のコメント
규연
규연 2024 年 3 月 24 日
Then, should I write it in matlab code, convert it into c/c++ code using coder, and apply it to the drone?
Can you tell me how to put the c/c++ code on the parrot mambo drone?
Walter Roberson
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
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 件のコメント
규연
규연 2024 年 3 月 25 日
thank you.
But i don't want to design the controller by simulink.
I want to desigh the controller in matlab code.
Can i put the matlab code to parrot mambo drone.?
Vineeth Nair
Vineeth Nair 2024 年 4 月 12 日
This workflow is not supported and hence it won't be possible.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeMATLAB Support Package for Parrot Drones についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by