crashes_under_gprof.cpp
Go to the documentation of this file.
1 #include <ros/ros.h>
2 
3 int main(int argc, char **argv)
4 {
5  ros::init(argc, argv, "test_get_param");
6 
8  nh.setParam(std::string("monkey"), false);
9  bool test_bool;
10  while(ros::ok()) {
11  if(!nh.getParam("monkey", test_bool)) {
12  ROS_INFO_STREAM("Failed, bailing");
13  ros::shutdown();
14  }
15  std::cout << ".";
16  }
17  return 0;
18 }
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
ROSCPP_DECL bool ok()
#define ROS_INFO_STREAM(args)
bool getParam(const std::string &key, std::string &s) const
int main(int argc, char **argv)
ROSCPP_DECL void shutdown()
void setParam(const std::string &key, const XmlRpc::XmlRpcValue &v) const


test_roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas
autogenerated on Mon Nov 2 2020 03:52:46