ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To read parameters from the node's namespace create a private NodeHandle as:

NodeHandle nhPriv("~");
nhPriv.getParam...

Use this nodehandle to access the parameters and it will work. This is actually not a workaround but the preferred way to do it.