Simulink -Raspberry pi - ROS code deployment

2 次查看(过去 30 天)
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 个评论
Prasanth Sunkara
Prasanth Sunkara 2020-7-29
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 2020-7-29
Ok, Ill update to 2020b and try again.
Thanks!

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Raspberry Pi Hardware 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by