17 #ifndef PILZ_UTILS_GET_PARAM_H 18 #define PILZ_UTILS_GET_PARAM_H 39 :
std::runtime_error (msg)
48 if ( !nh.
getParam(param_name, ret_val) )
50 std::ostringstream os;
51 os <<
"Parameter \"" << param_name <<
"\" not given";
59 #endif // PILZ_UTILS_GET_PARAM_H
Exception used by the getParam function.
T getParam(const ros::NodeHandle &nh, const std::string ¶m_name)
GetParamException(const std::string &msg)
bool getParam(const std::string &key, std::string &s) const