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

11 views (last 30 days)
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

Answers (1)

Jayanth Yelandur Keshava
Jayanth Yelandur Keshava on 9 May 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 Comments
Jayanth Yelandur Keshava
Jayanth Yelandur Keshava on 12 Aug 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

Sign in to comment.

Categories

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

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!