Subscriber subscribe(const std::string &topic, uint32_t queue_size, void(T::*fp)(M), T *obj, const TransportHints &transport_hints=TransportHints())
int main(int argc, char **argv)
ros::Subscriber g_demo_command_sub
void demoCommandCallback(const std_msgs::String::ConstPtr &msg)