Simulink RaspberryPi3 ROS Kinetic Ubuntu Mate crash when build model

1 回表示 (過去 30 日間)
Multiplexer
Multiplexer 2017 年 12 月 8 日
回答済み: Rahul Bhadani 2018 年 6 月 25 日
Hello,
Im trying to build a simple model where a square signal will be published to topic. I have whole environment configured properly, all connection checks pass etc. I have Ubuntu Mate 16.10 on RPI3 and ROS Kinetic running on it, connected into same network as PC with Simulink over WiFi.
The problem is that at about ~62% of build, Simulink build crashes/freezes my RaspberryPi3 as the memory usage goes from ~35% to 100%.
Did i misconfigure something that causes Simulink build process to consume so much of memory on my RPI3?
Attaching model and build diagnostic log.
  2 件のコメント
MathWorks Robotics and Autonomous Systems Team
Sorry for responding to this so late, if you are still facing issues, I request you to email with reproduction steps (+files) to support@mathworks.com and do mention using "Simulink Support Package for Raspberry Pi Hardware"
Rahul Bhadani
Rahul Bhadani 2018 年 6 月 25 日
Hi, I had exactly the same issue. Apparently, the solution is to run catkin_make on only one core. In your environment variable, set export ROS_PARALLEL_JOBS=-j1.
Better include
export ROS_PARALLEL_JOBS=-j1
in your .bashrc file.

サインインしてコメントする。

回答 (1 件)

Rahul Bhadani
Rahul Bhadani 2018 年 6 月 25 日
Hi, I had exactly the same issue. Apparently, the solution is to run catkin_make on only one core. In your environment variable, set export ROS_PARALLEL_JOBS=-j1.
Better include
export ROS_PARALLEL_JOBS=-j1
in your .bashrc file.

カテゴリ

Help Center および File ExchangePublishers and Subscribers についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by