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] get global var of COORD ARRAY type via rdk will be truncated at 127 length #61

Closed Valen-C12 closed 1 month ago

Valen-C12 commented 1 month ago

Version information

Describe the bug Look at the 'contact_points', the element shows it contain 7 coord points, but in value get via rdk, the value is truncated

20240624-145325 20240624-145334

Steps to reproduce

  1. store a global var of coord array type with more than 2 points via element ui
  2. use rdk to get the global vars
  3. See error

Expected behavior The global vars get via rdk should be full and no any truncated

pzhu-flexiv commented 1 month ago

@Valen-C12 Hello, this bug no longer exists in RDK v1.4, which is expected to be released early next month. Below shows getting and printing 2 global variables. The first contains 7 ARRAY_COORD points, the second contains 20 ARRAY_COORD points. Both are complete. image

Valen-C12 commented 1 month ago

@pzhu-flexiv Nice to hear that, looking forward to the new version