30 int main(
int argc,
char** argv)
32 ros::init(argc, argv,
"cached_parameters");
37 n.
setParam(
"my_cached_param",
"r u there?");
49 ROS_INFO(
"Failed to cache ros parameter: %s\n",
"my_cached_param");
63 ROS_INFO(
"Failed to cache ros parameter: %s\n",
"my_cached_param");
69 n.
setParam(
"my_cached_param",
"hey I'm here");
81 ROS_INFO(
"Failed to cache ros parameter: %s\n",
"my_cached_param");
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
bool deleteParam(const std::string &key) const
bool getParamCached(const std::string &key, std::string &s) const
int main(int argc, char **argv)
void setParam(const std::string &key, const XmlRpc::XmlRpcValue &v) const