MATLAB Answers

Error while deploying FCS to Parrot Mambo Minidrone.

2 views (last 30 days)
Jasvir Virdi
Jasvir Virdi on 28 Mar 2019
Commented: Jasvir Virdi on 1 Apr 2019
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 Comments
Jasvir Virdi
Jasvir Virdi on 1 Apr 2019
Hi Aymen, I found a work around this. You can hardcode the reference commands by putting inside the flight control system Block.
Jasvir

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by