ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Hi,
Methods need an object they can be called with, so you have to add the object pointer when calling subscribe(). Also you need to specify the scope of RopCallback.
=>
node_listener_->subscribe( "rop_client", 1000, &RopClient::RopCallback, this);
See also The Publisher/Subscriber overview
Regards
BTW: didn't know there exists a russian gcc ;)