How do I deploy control algorithms to Parrot Minidrones using the support package?

2 ビュー (過去 30 日間)
Jon Del olmo
Jon Del olmo 2017 年 9 月 25 日
編集済み: Ankur Bose 2017 年 10 月 16 日
I have installed the support package for Parrot Minidrones and I am wondering which are the steps to deploy a control algorithm via Simulink.

採用された回答

Ankur Bose
Ankur Bose 2017 年 10 月 16 日
編集済み: Ankur Bose 2017 年 10 月 16 日
Hi Jon, In addition to the answer by David Ding, I would like to mention that a Quadcopter example model is being shipped with Aerospace Blockset that you can use to generate code and download on the drone. This model would enable you to fly and hover the drone. Please follow the below question for mode details on how to use the example in R2017a.
If you are looking forward to change the controller logic, you can open the quadcopter example, click on the subsystem titled FCS(flightControlSystem). This would open the flightControlSystem reference model. Open the model. You would find inside another reference model called Controller. Here is where you can modify the logic as you wish. After you are done, generate code and download it on the drone.
Follow the answers to below question about how to fly the drone after you have downloaded code on it.
DONT modify any of the inports and outports for the flightControlSystem

その他の回答 (1 件)

David Ding
David Ding 2017 年 9 月 27 日
Hi Jon,
It depends on which control algorithm you are talking about. If you are designing a PID controller, Simulink has a comprehensive documentation on this:
With examples as well:
Once you designed a controller in Simulink, you may wrap it up as an atomic subsystem or model reference and include it in your Parrot Minidrones main model.
Thanks,
David

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by