29 #include "std_msgs/String.h" 44 ss <<
"chatter connect #" <<
g_count++;
56 int main(
int argc,
char **argv)
void publish(const boost::shared_ptr< M const > &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)
void chatterConnect(const ros::SingleSubscriberPublisher &pub)
void chatterDisconnect(const ros::SingleSubscriberPublisher &)