Error while using package for parrot minidrones: cameraModel.c does not exist, VR Source and VR To Video, and ert to grt.
Show older comments
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?

Answers (1)
Jayanth Yelandur Keshava
on 9 May 2019
3 votes
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
Jean-Charles RENAUD
on 12 Aug 2020
Hi,
Thanks for the advice but I have the same problem and don't know how to apply this configuration on Matlab 2020. Could you please be a little bit more precise ?
Thanks in advance for your help.
Jc !
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
Dwi Wahyuadnyana
on 5 Dec 2021
Hey, thank you! I got the same issues and you solved my problems!
Categories
Find more on MATLAB Support Package for Parrot Drones in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!