MATLAB Answers

The Simulink block "Get ROS Parameter" slow down ros node

3 views (last 30 days)
Balint Varga
Balint Varga on 4 Dec 2020
Hi,
using the Simulink block Get Parameter (In the ROS1 toolbox) causes some issues: If I generate a standalone ros node, the generated node runs slower than the same node as a python script. If I remove the Get Parameter block with e.g. a constant block, it works. I use 2020b on a Windows 10 computer and the roscore (meldoic) runs on a remote ubuntu 18.04. I also tried to increase the sampling time to 1,5,20 secs, but it did not help.
Does somebody else have a similar issue?
Thanks
Balint
  1 Comment
Jagadeesh Konakalla
Jagadeesh Konakalla on 26 May 2021
Hi Balint,
It would be good if you can provide some more details to address your issue.
Can you share the model that you are using ?
When you say it runs slower, how slow it is ? How are you measuing frequency ?
Thanks,
Jagadeesh K.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!