Effacer les filtres
Effacer les filtres

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

2 vues (au cours des 30 derniers jours)
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?

Réponses (1)

Benjamin Campbell
Benjamin Campbell le 6 Déc 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.

Catégories

En savoir plus sur MATLAB Support Package for Parrot Drones dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by