Have you tried it?  That should work as written.<div><br></div><div>Josh<br><br><div class="gmail_quote">On Thu, Jul 8, 2010 at 11:12 AM, Jonathan Scholz <span dir="ltr"><<a href="mailto:jscholz@willowgarage.com">jscholz@willowgarage.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>Hey all,</div><div>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.  </div>


<div>E.G.</div><div><remap from="paramspace" to="our_task/params" /></div><div>nh = ros::NodeHandle("paramspace")</div><div>nh.get_param("local_param")</div><div><br></div><div>


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?</div>


<div><br></div><div>Thanks,</div><div>--Jon Scholz</div>
<br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br></div>