error using robotic system toolbox

3 次查看(过去 30 天)
Bhargav Jha
Bhargav Jha 2015-12-12
评论: Ben Nurb 2016-1-25
Hello,
I am using Matlab 2015a 32 bit on a 64 bit system. I have a simulink file that publishes velocity to the turtlebots. Sometimes everything works fine and I can see the bot moving. But other times i am getting this error.
MATLAB System block 'publishTest/Publish/SinkBlock' error occurred when invoking 'setupImpl' method of 'robotics.slros.internal.block.Publisher'. The error was thrown from '
'C:\Program Files (x86)\MATLAB\R2015a\toolbox\robotics\robotsimulink\robotslros\+robotics\+slros\+internal\+block\Publisher.p' at line 234'.
An error occurred while retrieving the list of network interfaces.
I have no idea why is this happening. When I restart matlab it works and then the next time it doesn't. Please help.
Thank you!
  2 个评论
Madhu Govindarajan
Madhu Govindarajan 2015-12-16
The next time you see the error message try shutting down your ROS subscription from MATLAB using the rosshutdown function. Also clear everything in MATLAB, maybe there is some sort of previously existing connection that gets cleared when you restart MATLAB.
Ben Nurb
Ben Nurb 2016-1-25
I have the same issue. Were you able to get the error resolved?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Network Connection and Exploration 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by