flexiv_rdk icon indicating copy to clipboard operation
flexiv_rdk copied to clipboard

[BUG] getPrimitiveStates error no response from server

Open acf986 opened this issue 6 months ago • 6 comments

Version information

  • RDK: v0.10
  • Robot software: v2.10.9
  • OS: Ubuntu 20.04

Describe the bug Unlike in the previously reported issue here, I am only calling getPrimitiveStates at 10Hz. After starting a primitive from the RDK, the function getPrimitiveStates is used to monitor the primitive's executing status. However, it sometimes gives the error No response from server and crashes the program.

Steps to reproduce

  1. Issue the MoveComp primitive
  2. Call getPrimitiveStates at 10Hz
  3. The error only happens sometime, not every time, you might need to repeat this multiple times at different network conditions.

Expected behavior It at least should not close the connection and terminate the program. Screenshots WhatsApp Image 2024-07-31 at 15 38 17 (1)

Additional context Will catch the thrown out error help in this case?

acf986 avatar Aug 12 '24 13:08 acf986