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

조회 수: 5 (최근 30일)
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

답변 (1개)

Jayanth Yelandur Keshava
Jayanth Yelandur Keshava 2019년 5월 9일
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
Jayanth Yelandur Keshava
Jayanth Yelandur Keshava 2020년 8월 12일
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

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 MATLAB Support Package for Parrot Drones에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by