error using robotic system toolbox

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 comentarios

Madhu Govindarajan
Madhu Govindarajan el 16 de Dic. de 2015
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 el 25 de En. de 2016
I have the same issue. Were you able to get the error resolved?

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Preguntada:

el 12 de Dic. de 2015

Comentada:

el 25 de En. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by