ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Just in case somebody is wondering why it doesn't compile, In my case the accepted answer doesn't work and I have to do as follows:
sub = n.subscribe("chatter", 1000, &Listener::callback, this);