crashes_under_gprof.cpp
Go to the documentation of this file.
00001 #include <ros/ros.h>
00002 
00003 int main(int argc, char **argv)
00004 { 
00005   ros::init(argc, argv, "test_get_param");
00006 
00007   ros::NodeHandle nh;
00008   nh.setParam(std::string("monkey"), false);
00009   bool test_bool;
00010   while(ros::ok()) {
00011     if(!nh.getParam("monkey", test_bool)) {
00012       ROS_INFO_STREAM("Failed, bailing");
00013       ros::shutdown();
00014     }
00015     std::cout << ".";
00016   }
00017   return 0;
00018 }


test_roscpp
Author(s): Morgan Quigley mquigley@cs.stanford.edu, Ken Conley kwc@willowgarage.com
autogenerated on Sat Dec 28 2013 17:36:21