Error while using package for parrot minidrones: cameraModel.c does not exist, VR Source and VR To Video, and ert to grt.

8 vues (au cours des 30 derniers jours)
I am trying to get the asbQuadcopter to work with my Parrot Rolling Spider Minidrone but I get the errors shown in the picture below, basically theres a cameraModel.c file missing, "VR Source and VR To Video blocks cannot be used with code generation" and I keep having to change some models from ert to grt or vice versa. The parrot_gettingstarted works perfectly, I am using R2018b on windows 10. Can anyone help me?
Errors.png

Réponses (1)

Jayanth Yelandur Keshava
Jayanth Yelandur Keshava le 9 Mai 2019
Hi Alfredo,
I'm guessing you are trying to deploy the entire simulation model to the hardware. Try doing this:
  • Open the FCS referenced subsystem as a seperate model, by double clicking on it. (From 19a onwards, right click on the subsystem and click on 'Open as top model')
  • Then set the hardware to Rolling spider using the 'Set Rolling Spider model' shortcut in the project shortcuts and click on 'Set Parrot Target' shortcut.
  • Save the models.
  • In the opened FCS subsystem(model name is flightControlSystem), click on the Deploy to hardware button.
This should deploy the model to the hardware....
Regards,
Jayanth
  4 commentaires
Jayanth Yelandur Keshava
Jayanth Yelandur Keshava le 12 Août 2020
Hi Jean,
If you are using the parrotMinidroneHover project, you can do this:
  • Open the Flight Control System referenced subsystem as a seperate model, by right clicking on the subsystem and click on 'Open as top model'
  • Then set the drone being used using the shortcuts (model is set to Mambo by default)
  • Then deploy the model.
Check the parrotMinidroneHover project page for more info. I would recommend you to use this project, since there are some bug fixes and enhancements which improve the flight.
-Jayanth
Dwi Wahyuadnyana
Dwi Wahyuadnyana le 5 Déc 2021
Hey, thank you! I got the same issues and you solved my problems!

Connectez-vous pour commenter.

Catégories

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

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by