Simulink Coder™ Support Package for BeagleBone® Blue Hardware enables you to create and run Simulink® models on BeagleBone® Blue Hardware . The support package includes a library of Simulink blocks for configuring and accessing BeagleBone® Blue peripherals and communication interfaces.
This support package is functional for R2017b and beyond.
View enhancements and bug fixes in release notes - https://www.mathworks.com/help/supportpkg/beagleboneblue/release-notes.html
Forum Please -- My review -- this needs work. but could be GREAT
I tried the code generation using this toolbox and somehow it is giving this error
Error executing command "touch -c /home/debian/untitled_ert_rtw/*.*;make -f untitled.mk all -C /home/debian/untitled_ert_rtw". Details:
STDERR: MW_digitalIO.c:29:21: fatal error: rc/gpio.h: No such file or directory
make: *** [MW_digitalIO.c.o] Error 1
STDOUT: make: Entering directory '/home/debian/untitled_ert_rtw'
gcc -c -MMD -MP -MF"MW_digitalIO.c.dep" -MT"MW_digitalIO.c.o" -O0 -D_roboticscape_in_use_ -DMODEL=untitled -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTID01EQ=0 -DONESTEPFCN=1 -DTERMFCN=1 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=64 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DRT -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DONESTEPFCN=1 -DTERMFCN=1 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DARM_PROJECT -D_USE_TARGET_UDP_ -D_RUNONTARGETHARDWARE_BUILD_ -DSTACK_SIZE=64 -DRT -DMODEL=untitled -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -I./ -o "MW_digitalIO.c.o" "MW_digitalIO.c"
untitled.mk:428: recipe for target 'MW_digitalIO.c.o' failed
make: Leaving directory '/home/debian/untitled_ert_rtw'
I'm also having this issue. I couldn't find IMU sensor support from BeagleBone Blue Harware/Sensor. The only thing is showing up in the sensor catagory is the Encoder.
Has anyone found a solution for this?
The euler angles do not work for the dmp mode of the IMU, I'm not sure if this is an isolated issue, the acceleration works just fine but the euler angles and the quartenion angles always show 0 even after manual calibration.
I was wondering if can I connect the BBB via USB to deploy algorithms via the toolbox in Simulink, and simultaneously connect the 12V connector and / or the LiPo battery connector? This is because I need to power some sensors through the 5V source terminal (available on BBB). Thanks in advance
I couldn't find IMU sensor support from BeagleBone Blue Harware/Sensor. The only thing is showing up in the sensor catagory is the Encoder. Do I need to also download the BeagleBone Black Driver for the IMU to work?
I am getting a "not supported" error when trying to install it in Matlab 2017b Ubuntu 18. Any suggestions?
pls change it to accept the newest Kernel
Is it indeed compatible with Ubuntu 16.04? It gives me an error (not supported) when I try to install it (on R2018b). Thanks.
I am having a problem using "Encoder" block in Matlab 2018b.
I use Encoder block in Matlab 2018a and it work properly. However since I need to send a digital signal out and it was not available in Matlab 2018a, I installed Matlab 2018b. I made sure the installation of Matlab 2018b and debian is correct by sending and receiving UDP signal from and to Beaglebone Blue. However the Encoder block is not working in Matlab 2018b. When I run a Simulink code containing the Encoder block, I get this error:
Build process completed successfully
A run-time error is encountered when running External mode simulation on the BeagleBone Blue hardware. This usually occurs when a hardware resource, such as a web camera, is not available or configured incorrectly. The log file, /home/debian/Encoder_Test_1_2018b.log, storing model diagnostic information on the BeagleBone Blue hardware has the following content:
Component:Simulink | Category:Model error
The error is due to incompatible roboticscape library version and Debian image on your BeagleBone Blue hardware. Simulink Coder support package for BeagleBlue hardware is compatible with below mentioned versions:
* Debian 8.7 image: https://debian.beagleboard.org/images/bone-debian-8.7-iot-armhf-2017-03-19-4gb.img.xz
- Please follow the instructions here to prepare the SD card. https://beagleboard.org/getting-started#update
* Roboticscape library: https://github.com/StrawsonDesign/librobotcontrol/releases/tag/v0.3.4
- Download roboticscape_0.3.4_armhf.deb Debian package on to BeagleBlue hardware.
- Go to folder on BBBlue where roboticscape_0.3.4_armhf.deb file is placed.
- To install, execute the command "sudo dpkg -i roboticscape_0.3.4_armhf.deb" in the BeagleBone blue SSH terminal.
In function `beagleboneblue_gettingstarted_step':
beagleboneblue_gettingstarted.c:(.text+0x10e): undefined reference to `rc_set_led'
collect2: error: ld returned 1 exit status
make: *** [../beagleboneblue_gettingstarted.elf] Error 1
I keep getting this error, I tried installing older and newer versions of the Robot Control Library but it still won't run.
Did I miss something important?
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!