cbandera / rosparam_handler

An easy wrapper for using parameters in ROS
Other
47 stars 26 forks source link

namespace setter and getter #28

Closed andreeatulbure closed 7 years ago

andreeatulbure commented 7 years ago

Hi,

thanks for this package. Using this with our hardware and nodes we found out that global NameSpace is always used. Therefore we would propose additional function to setting private NameSpace.

cbandera commented 7 years ago

I am sorry, but I think I don't understand the issue. The rosparam_handler is using the private node handle to retrieve the private namespace of the runnable it is used in. There should be no need to change the namespace.

My understanding is, that within a runnable, you should only be accessing your local (i.e. private) parameters and globally defined parameters. Letting the user change the private namespace would break the guaranty of always getting exactly those parameters that were passed to the concrete instance of a runnable.

destogl commented 7 years ago

@andreeatulbure can you close this? We do need it anymore.