32 #include "std_msgs/String.h" 40 int main(
int argc,
char **argv)
103 std_msgs::String msg;
105 std::stringstream ss;
106 ss <<
"hello world " << count;
void publish(const boost::shared_ptr< M > &message) const
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
int main(int argc, char **argv)
Publisher advertise(const std::string &topic, uint32_t queue_size, bool latch=false)
ROSCPP_DECL void spinOnce()