MATLAB Answers

Parrot rolling error generating code matlab 2020

4 views (last 30 days)
bouboule
bouboule on 16 May 2021
Answered: Tarunbir Gambhir on 24 May 2021
Hello
I got this error when I am trying to build code for parrot spider drone under simulink. Thanks in advance for help...
I a trying for a long tiome now to use spider drone with matlab but it seems very very difficult ... :-(
gmake: *** [rsedu_vis.o] Error -1073741819 gmake: *** Waiting for unfinished jobs.... gmake: *** [rsedu_control.o] Error -1073741819 gmake: *** [parrot_gettingstarted_data.o] Error -1073741819 gmake: *** [rsedu_of.o] Error -1073741819 gmake: *** [parrot_gettingstarted.o] Error -1073741819 O:\Documents\parrot_gettingstarted_ert_rtw>echo The make command returned an error of 2 The make command returned an error of 2 O:\Documents\parrot_gettingstarted_ert_rtw>exit 1 ### Creating HTML report file parrot_gettingstarted_codegen_rpt.html### Build procedure for parrot_gettingstarted aborted due to an error.

Answers (1)

Tarunbir Gambhir
Tarunbir Gambhir on 24 May 2021
The MATLAB Support Package for Parrot Drones currently supports the Parrot Mambo FPV and Parrot Bebop2 drones only.
Alternatively, there is the MATLAB Support Package for Ryze Tello Drones. This Support Package supports the Tello, Tello EDU, and Tello Ironman variants. These drones are manufactured by Ryze Tech and powered by Dji, which is one of the global leaders in the drone market. These drones are also relatively easy to buy from Amazon, Best Buy, or from the official Dji store.
The Ryze Tello Support Package is only for MATLAB and so to design a controller in Simulink you would need to use MATLAB Function Blocks to call the commands. However, due to hardware limitations, it is also not possible to deploy custom code to the drone and thus may not be suitable in many situations.
An alternative approach that allows code to be deployed on to a drone is to use the Px4 suppport from UAV toolbox. More information on this can be found here: https://www.mathworks.com/hardware-support/px4-autopilots.html

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by