ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You are passing -1 for the timeout, which means: wait infinite. Just pass a real timeout that you want to wait for.