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

1 次查看(过去 30 天)
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?

回答(1 个)

Benjamin Campbell
Benjamin Campbell 2023-12-6
  • 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.

类别

Help CenterFile Exchange 中查找有关 Parrot Minidrones 的更多信息

产品


版本

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by