MATLAB Answers

Long initializing time when using the Robotics System Toolbox

4 views (last 30 days)
Hello,
When I use blocks from the Robotics System Toolbox, such as ROS Publish or subscription blocks, the initialization time is approximately 30 seconds in the simplest model (subscribe -> Bus Selector -> Display). Everything else is very fast.
A friend of mine has a non-measurable initialization time on a weaker computer. I use Matlab R2017a and the ROS Indigo Gazebo VM on a laptop with an Intel Core i7-6500U with 16 GB of RAM.
Is there anything I can do to make it faster.
Thank you for your help and happy Easter! Benedict

  0 Comments

Sign in to comment.

Accepted Answer

Sebastian Castro
Sebastian Castro on 27 Jul 2017
Hi Benedict,
There was a bug with rosinit initialization times in R2017a, specifically for Windows 10 machines (is that what you're using?).
This bug report has been released externally, so you can download a patch to get it fixed: https://www.mathworks.com/support/bugreports/1530194
- Sebastian

  1 Comment

Benedict Bauer
Benedict Bauer on 31 Jul 2017
Hello Sebastian,
thank you for this answer. The patch helped a lot! Now it is even faster as that of my friend.
Best regards Benedict

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!