Parrot Mini drone setting parameters of referenced models code generation failure, change system target file from 'ert' to 'grt'

1 view (last 30 days)
Hello guys,
i am trying to deploy the code from asbQuadcopter example for parrot mambo, i have the following error.
This error is not present if i want to deploy the example of hovering found in "parrotMinidroneHoverStart" .
There is clearly a difference in configration between models which is leading to thios problem.. i tried to change them manually, but with no success.
Any help?

Answers (1)

Benjamin Campbell
Benjamin Campbell on 6 Dec 2023
  • ert stands for embedded real-time target
  • grt stands for generic real-time target
If you are trying to deploy the model on hardware you should use ert because that will make the code correct for embedded systems (like the drone microcontroller).
What will have happened is you will have set the top model level to deploy on the hardware but all the sub-models are still not set to that, so just go through each sub-model to set it to ert.
Also: it looks like you are trying to upload the outer model which includes all the simulation bits like the airframe model, environment model etc. Remember you only want to upload the FlightControlSystem sub-model onto the drone.

Categories

Find more on Parrot Minidrones in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!