flexivrobotics / flexiv_rdk

RDK (robotic development kit) for Flexiv robots. Supports C++ and Python. Compatible with Linux, macOS, and Windows.
Apache License 2.0
58 stars 18 forks source link

[BUG] Connection lost automatically when the robot is not in use for a while #30

Closed acf986 closed 8 months ago

acf986 commented 11 months ago

Version information

Describe the bug The server automatically lost connection when the robot is not in use for a while. And it prints:

[2023-09-11 12:46:25.690] [info] ================================================ [2023-09-11 12:46:25.690] [info] === Flexiv RDK 0.8 === [2023-09-11 12:46:25.690] [info] ================================================ [2023-09-11 12:46:25.690] [info] [flexiv::Robot] Network service started [RT:99] [2023-09-11 12:46:26.190] [info] [flexiv::Robot] Connection established [2023-09-11 12:46:27.691] [warning] [Comm] Heartbeat service lost connection [2023-09-11 12:46:31.191] [info] [flexiv::Robot] Network service closed [2023-09-11 12:46:31.191] [info] >>>>> Flexiv RDK exited <<<<< [2023-09-11 12:46:31.192] [error] [flexiv::Robot] Failed to obtain server version

Steps to reproduce

  1. Start the robot
  2. Run a program to move the robot
  3. Quit the program
  4. Wait for a while, usually 10 mins
  5. Run another program to move the robot

Expected behavior The robot will move according to the new program

Screenshots

Additional context Add any other context about the problem here.

pzhu-flexiv commented 11 months ago

@acf986 Thanks for bringing up the issue to us. In the upcoming v0.9 release, this issue will be addressed.