ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I think I found my answer:
ros::SubscriberOptions s;
s.create<std_msgs::Float64>("topic_name", 1, boost::bind(&MyClass::callbackFunction, this, _1), callbackQueue);