Function cras::nodeParams

Function Documentation

inline ::cras::BoundParamHelperPtr cras::nodeParams(const ::ros::NodeHandle &node, const ::std::string &ns = "")

Returns a param helper structure “bound” to the given node handle, so that it is not needed to specify the node handle in the subsequent getParam() calls.

Parameters:
  • node[in] The node to bind to.

  • ns[in] If nonempty, returns just the parameters in the given namespace.

Returns:

The bound param helper.