Giter Site home page Giter Site logo

mathworks / simulinkdronereferenceapp Goto Github PK

View Code? Open in Web Editor NEW
125.0 10.0 82.0 118.16 MB

This Simulink Project shows the implementation of a Remotely Piloted Radio-Control fixed-wing aircraft (i.e. Drone, UAV), an autopilot for flight stabilization, and an operator interface to control its trajectory.

License: Other

MATLAB 4.59% QML 0.23% C 95.18% Shell 0.01%

simulinkdronereferenceapp's Issues

Can't compile raspiAutopilotControlSystem.slx on Raspberry Pi

I tried building raspiAutopilotControlSystem.slx on my Raspberry Pi and the compilation fails with the following error:

Error executing command "touch -c /home/pi/raspiAutopilotControlSystem_ert_rtw/*.*;make  -f raspiAutopilotControlSystem.mk all -C /home/pi/raspiAutopilotControlSystem_ert_rtw". Details:

STDERR: In file included from raspiAutopilotControlSystem.h:31:0,
                 from raspiAutopilotControlSystem.c:16:
QGroundControlInterface.h:7:25: fatal error: mavlinkSend.h: No such file or directory
 #include "mavlinkSend.h"
                       ^
compilation terminated.
make: *** [raspiAutopilotControlSystem.c.o] Error 1

STDOUT: make: Entering directory '/home/pi/raspiAutopilotControlSystem_ert_rtw'
echo "### Compiling DAHostLib_Network.c ..."
### Compiling DAHostLib_Network.c ...
gcc -c -MMD -MP -MF"DAHostLib_Network.c.dep" -MT"DAHostLib_Network.c.o" -O0  -DMODEL=raspiAutopilotControlSystem -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=64 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=64 -DRT -DMODEL=raspiAutopilotControlSystem -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -I./ -o DAHostLib_Network.c.o DAHostLib_Network.c
echo "### Compiling DAHostLib_rtw.c ..."
### Compiling DAHostLib_rtw.c ...
gcc -c -MMD -MP -MF"DAHostLib_rtw.c.dep" -MT"DAHostLib_rtw.c.o" -O0  -DMODEL=raspiAutopilotControlSystem -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=64 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=64 -DRT -DMODEL=raspiAutopilotControlSystem -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -I./ -o DAHostLib_rtw.c.o DAHostLib_rtw.c
echo "### Compiling raspiAutopilotControlSystem.c ..."
### Compiling raspiAutopilotControlSystem.c ...
gcc -c -MMD -MP -MF"raspiAutopilotControlSystem.c.dep" -MT"raspiAutopilotControlSystem.c.o" -O0  -DMODEL=raspiAutopilotControlSystem -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=64 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=64 -DRT -DMODEL=raspiAutopilotControlSystem -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -I./ -o raspiAutopilotControlSystem.c.o raspiAutopilotControlSystem.c
raspiAutopilotControlSystem.mk:481: recipe for target 'raspiAutopilotControlSystem.c.o' failed
make: Leaving directory '/home/pi/raspiAutopilotControlSystem_ert_rtw'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.