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

Unable to connect/CommException[BUG] #59

Closed jspinks8144 closed 2 months ago

jspinks8144 commented 2 months ago

Version information

Describe the bug Sample programs crash immediately.

Attempting to run any sample program in Visual studios with IP addresses hardcoded throws a CommException.

Steps to reproduce

  1. install rdk, enable rdk remote on robot server, boot in auto mode, connect to robot server over ethernet.
  2. Windows 10, run cmd: 'start basics1_display_robot_states.exe 192.168.2.100 192.168.2.xxx' using git bash or cmd prompt while in the rdk/example/build/release dir.

Expected behavior For program to connect to robot server.

Screenshots CodeSnippet: Shows the line that throws the exception. see the comment. CodeSnippet Exception: The exception that is thrown. Exception Output: The output when exception is thrown. Output

I'm able to ping the robot server.

kaibiao-flexiv commented 2 months ago

Thank you for providing the detailed information, it looks like there is a compatibility issue. The latest RDK version(v0.10) is only compatible with the Flexiv software package at v2.11.5.

Please clone/download RDK tag version at v0.7 (https://github.com/flexivrobotics/flexiv_rdk/releases/tag/v0.7), which is compatible with your current Flexiv software package version (v2.10.4).

FYI, the RDK history releases and their respectively compatible Flexiv software package versions are listed here at: https://github.com/flexivrobotics/flexiv_rdk/releases.

Additionally, Flexiv software package version information can be found on Flexiv Element (Settings -> Version & Update).

Thanks!