ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Generally:

boost::bind(&ClassName::classMethod, &class_instance, arg1, arg2, ...);

So in this case, since const geometry_msgs::Twist::ConstPtr& msg is passed in as _1:

boost::bind(&Scribe::callBackFunc, this, _1, &p);