27 explicit NodeParamHelper(const ::std::string& ns =
"", const ::ros::M_string& remappings = {});
29 NodeParamHelper(const ::ros::NodeHandle& parent, const ::std::string& ns);
31 NodeParamHelper(const ::ros::NodeHandle& parent, const ::std::string& ns, const ::ros::M_string& remappings);
34 using ::cras::BoundParamHelper::hasParam;
35 using ::cras::BoundParamHelper::getNamespace;
NodeParamHelper(const ::std::string &ns="", const ::ros::M_string &remappings={})
This mixin allows calling the getParam() helpers.
ResultType getParam(const ::ros::NodeHandle &node, const ::std::string &name, const ::cras::optional< ResultType > &defaultValue=ResultType(), const ::std::string &unit="", const ::cras::GetParamOptions< ResultType, ParamServerType > &options={})
Get the value of the given ROS parameter, falling back to the specified default value (if not nullopt...
Bound param helper (allows omitting the param adapter in each getParam call).
Bound param helper (allows omitting the param adapter in each getParam call).