ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I had a look into roscpp/src/libros/node_handle.cpp. It seems like this (lines 263 to 267) gets called multiple times and appends the namespace every time:

else if (!namespace_.empty())
  // ROSCPP_LOG_DEBUG("Appending namespace_ (%s)", namespace_.c_str());
  final = names::append(namespace_, final);

commenting out

final = names::append(namespace_, final);

avoided the problem, but no idea what this will break now ;-)

Best, Markus