ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
First, what purpose serves sleeping in your callback? Right now, each message will be put in a queue that waits for the callback to finish before starting again. What you might want to do is printing one message over 20 instead.