Parrot Quadcopter project fails to build due to parameter differences (but simulation works). Error in building model.

2 次查看(过去 30 天)
I am using the example in aerospace blockset about the quadcopter on my Parrot Mamno drone. I have made a couple of changes in the Flight Control System (FCS) and input command (Command) blocks only. When I run the simulation, it works fine. However, when I try to build the model on the drone I get and error in building nonLinearAirframe due to some parameter differences. Please see the attached image "error" for the full error message. It also suggests three possible fixes. i have tried all 3 fixes but it does not help. When I re-build after trying each of the fixes, it returns the same error. The parameter differences have been attached as well in the image called "ParameterDifferences".
I have not made any change in nonLinearAirframe block in the model but it gives me this error. Please help me solve this issue.
Thank you.
error.PNG
ParameterDifferences.PNG
  3 个评论
Mitesh Patel
Mitesh Patel 2019-7-28
编辑:Mitesh Patel 2019-7-28
Hi Vijn,
I fixed the issue on my project. My issue was that I generated the Quadcopter model on R2018a but then ran the same model on R2019a once I updated my Matlab version.
I fixed it by making a new project using R2019a and now it works. I did still receive the same error, but this time the only "parameter difference" was on "toolchainOrTMF" which was an easy fix in the configurations tab.
Another thing to consider is that if you are using R2019 version, that to build the FCS, right click on FCS block and "open as top model" which allows you to build just the FCS.
Hope this helps.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Support Package for Parrot Drones 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by