Skip to content

Commit 1c3b734

Browse files
authored
Merge pull request #18 from julienvanderheyden/support/rostiming
Adding support for timing in rospy_client
2 parents da9057c + 9dcad00 commit 1c3b734

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ros/rospy_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ def _wait_for_connection(self):
120120
time.sleep(0.0)
121121
command_socket, (remote_addr, remote_port) = tcp_server.accept()
122122
print(f"Connection from {remote_addr}:{remote_port}")
123+
time.sleep(0.5)
123124
break
124125
except socket.timeout:
125126
print("Timeout waiting for connection, retrying.")

0 commit comments

Comments
 (0)