panda-py
panda-py copied to clipboard
Reading RobotState asynchronously
Hi, I have a separate process that needs to read RobotState continuously at specified frequency. In my main thread I'm also trying to execute robot move to pose commands. However, these two commands seem to conflict with each other and I get UDP timeout issues. What's the proper way to asynchronously read RobotState from a separate process?
Main Process: while True: # run some move_to_pose command
Process 1: robot = libfranka.Robot(hostname).read(test.call)