Simulink -Raspberry pi - ROS code deployment

Hi,
Im trying the Getting Started with ROS on Raspberry Pi example, I'm using ubuntu 18.04, Matlab 2019b, ROS Melodic installing on RPi 3b+.
I follows the guide and manage to subscribe topics from the Pi (/rostout).
I'm trying to build the first exmaple on simulink, but it makes an error with:
### Build procedure for model: 'rosberrypi_getting_started' aborted due to an error.
To generate C++ code from 'rosberrypi_getting_started/Subscribe' block, 'Hardware board' parameter must be set to 'Robot Operating System (ROS)'
It seems that the option Raspberry Pi - ROS on the hardware impelemtation not working. If I change this option to ROS, I can't deploy the simulink model on the rpi...
Can anyone help me?
Thanks!

5 Kommentare

Iftach Naftaly
Iftach Naftaly am 17 Apr. 2020
anyone know the answer??
Omar Hadeed
Omar Hadeed am 18 Apr. 2020
In the hardware Implementation tab, set the hardware board to Robot Operating System (ROS). Then, navigate to the target hardware resources. Go into device parameters and click on edit. You'll have to enter your remote device's inforamtion. Make sure to hit test first and then click on ok.
Iftach Naftaly
Iftach Naftaly am 21 Apr. 2020
Thank you, It works!
Prasanth Sunkara
Prasanth Sunkara am 29 Jul. 2020
This issue is resolved from R2020a onwards. Select the Hardware board to Raspberry Pi - ROS and continue with the example.
-Prasanth
Iftach Naftaly
Iftach Naftaly am 29 Jul. 2020
Ok, Ill update to 2020b and try again.
Thanks!

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Raspberry Pi Hardware finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2019b

Gefragt:

am 8 Apr. 2020

Kommentiert:

am 29 Jul. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by