Error while deploying FCS to Parrot Mambo Minidrone.

2 次查看(过去 30 天)
Hi,
I am trying to change change the AC_cmd bus input of the FCS, however it is displaying the error as follows:
"
C:/ProgramData/MATLAB/SupportPackages/R2018b/toolbox/target/supportpackages/parrot/src/rsedu_control.c: In function 'RSEDU_control': C:/ProgramData/MATLAB/SupportPackages/R2018b/toolbox/target/supportpackages/parrot/src/rsedu_control.c:123: error: 'cmd_inport' undeclared (first use in this function) C:/ProgramData/MATLAB/SupportPackages/R2018b/toolbox/target/supportpackages/parrot/src/rsedu_control.c:123: error: (Each undeclared identifier is reported only once C:/ProgramData/MATLAB/SupportPackages/R2018b/toolbox/target/supportpackages/parrot/src/rsedu_control.c:123: error: for each function it appears in.) gmake: *** [rsedu_control.o] Error 1 C:\Users\me112\MATLAB\Projects\slexamples\my_controller_asbQuadcopter8\work\flightControlSystem_ert_rtw>echo The make command returned an error of 2 The make command returned an error of 2 C:\Users\me112\MATLAB\Projects\slexamples\my_controller_asbQuadcopter8\work\flightControlSystem_ert_rtw>An_error_occurred_during_the_call_to_make 'An_error_occurred_during_the_call_to_make' is not recognized as an internal or external command, operable program or batch file. ### Creating HTML report file flightControlSystem_codegen_rpt.html
### Build procedure for model: 'flightControlSystem' aborted due to an error.
Error(s) encountered while building "flightControlSystem": ### Failed to generate all binary outputs."
I have attached the entire log file in the attachments. I have tried searching on the forum but this question, I believe, is still unanswered.
Thanks
Jasvir
  2 个评论
Jasvir Virdi
Jasvir Virdi 2019-4-1
Hi Aymen, I found a work around this. You can hardcode the reference commands by putting inside the flight control system Block.
Jasvir

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Support Package for Parrot Drones 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by