[ros-users] Param from launch file: node vs nodelet

Ivan Dryanovski ivan.dryanovski at gmail.com
Tue Jan 25 22:05:26 UTC 2011


Thank you both for the quick replies!

Ivan

On Tue, Jan 25, 2011 at 5:03 PM, Ken Tossell <ktossell at umd.edu> wrote:
> Hi Ivan,
>
> When you create NH nh_private("~"), it makes a handle that references
> the nodelet manager's private namespace, not that of the individual
> nodelet. If possible you should use the
> [nodelet::Nodelet::]getPrivateNodeHandle() method to find the proper
> namespace. If you have a non-private NH for your nodelet already, you
> could also use something like `NodeHandle private_nh(public_nh, "~")`
>
>  - Ken
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>



More information about the ros-users mailing list