ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
use boost::bind
.
If I remember correctly, the syntax should be something like:
nh.subscribe("cars/car1", 10, boost::bind(getVelocityCallback, _1, "car1"));