Skip to content
Snippets Groups Projects
Commit 349f9a23 authored by Stuart Glaser's avatar Stuart Glaser
Browse files

Driver is interruptible if the robot is not up yet

parent 509541ad
Branches
Tags
No related merge requests found
......@@ -44,7 +44,7 @@ def getConnectedRobot(wait=False):
with connected_robot_lock:
if wait:
while not connected_robot:
connected_robot_cond.wait()
connected_robot_cond.wait(0.5)
return connected_robot
# Receives messages from the robot over the socket
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment