33 #include <test_roscpp/TestArray.h> 35 void callback(
const test_roscpp::TestArrayConstPtr&)
39 int main(
int argc,
char **argv)
41 ros::init(argc, argv,
"subscribe_unsubscribe_repeatedly");
Subscriber subscribe(const std::string &topic, uint32_t queue_size, void(T::*fp)(M), T *obj, const TransportHints &transport_hints=TransportHints())
ROSCPP_DECL void init(int &argc, char **argv, const std::string &name, uint32_t options=0)
void callback(const test_roscpp::TestArrayConstPtr &)
int main(int argc, char **argv)