16 #include <std_msgs/String.h> 24 QNode(argc,argv,
"qtalker")
38 ss <<
"hello world " << count;
43 std::stringstream logging_msg;
44 logging_msg <<
"[ INFO] [" <<
ros::Time::now() <<
"]: " << msg.data;
45 QVariant new_row(QString(logging_msg.str().c_str()));
53 std::cout <<
"Ros shutdown, proceeding to close the gui." << std::endl;
ros::Publisher chatter_publisher
void publish(const boost::shared_ptr< M > &message) const
Ros communication central!
Publisher advertise(const std::string &topic, uint32_t queue_size, bool latch=false)
Talker(int argc, char **argv)
ROSCPP_DECL void spinOnce()