Clear Filters
Clear Filters

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

8 views (last 30 days)
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 Comments
Mitesh Patel
Mitesh Patel on 28 Jul 2019
Edited: Mitesh Patel on 28 Jul 2019
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.

Sign in to comment.

Answers (0)

Categories

Find more on MATLAB Support Package for Parrot Drones in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

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

Start Hunting!