Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To pass a parameter value to a nodelet, try either passing it as an argument on the command line when you run the executable that loads the nodelet (i.e. "_param:=value") or set the parameter using ros::param::set("~param", value).

In either case the nodelet should be able to access it using getPrivateNodeHandle().getParam("param", value).