Error when using publisher in robotics system toolbox

2 visualizaciones (últimos 30 días)
Ben Nurb
Ben Nurb el 27 de En. de 2016
Respondida: Ben Nurb el 23 de Mzo. de 2016
Hi,
I am trying to publish message into some ROS topic using robotics system toolbox. However, I am getting the following error:
MATLAB System block 'rg_neuron/Publish/SinkBlock' error occurred when invoking 'setupImpl' method of 'robotics.slros.internal.block.Publisher'. The error was thrown from '
'/usr/local/MATLAB/R2015b/toolbox/robotics/robotsimulink/robotslros/+robotics/+slros/+internal/+block/Publisher.p' at line 0'.
Caused by:
Error creating the node /rg_neuron_91338.
Please can somebody help me to fix this issue, or at least point me in the right direction? It will be greatly appreciated.
Thank you, Ben

Respuesta aceptada

Ben Nurb
Ben Nurb el 23 de Mzo. de 2016
I resolved the problem by connecting to the external master node and connecting to it through rosinit. I thought it might be helpful for someone in the future.

Más respuestas (0)

Categorías

Más información sobre Publishers and Subscribers en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by