[ros-users] roscpp parameter remapping for nodehandles
Josh Faust
jfaust at willowgarage.com
Thu Jul 8 18:15:22 UTC 2010
Have you tried it? That should work as written.
Josh
On Thu, Jul 8, 2010 at 11:12 AM, Jonathan Scholz
<jscholz at willowgarage.com>wrote:
> Hey all,
> We have a set of parameters that will all live inside a namespace that
> isn't known ahead of time. We'd like to solve this problem by using a
> single remap in the launch file that changes a default nodehandle namespace
> to the correct string when it's constructed.
> E.G.
> <remap from="paramspace" to="our_task/params" />
> nh = ros::NodeHandle("paramspace")
> nh.get_param("local_param")
>
> we'd like the node handle to resolve "local_param" to
> "our_task/params/local_param". Can remapping be made to work this way, or
> does it only handle remapping during a query. If not, what better method
> exists in a case like this?
>
> Thanks,
> --Jon Scholz
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100708/ab6956da/attachment-0003.html>
More information about the ros-users
mailing list