Inspire FTP Dexterity Hand
SDK Installation and Usage
Section titled “SDK Installation and Usage”This SDK is primarily implemented in Python and relies on unitree_sdk2_python, while also utilizing PyQt5 and PyQtGraph for visualization.
Install Dependencies
Section titled “Install Dependencies”-
clone the SDK working directory:
Terminal window git clone https://github.com/NaCl-1374/inspire_hand_ws.git -
Update submodules:
Terminal window git submodule init # Initialize submodulesgit submodule update # Update submodules to the latest version -
Install unitree_sdk2_python:
Terminal window cd unitree_sdk2_pythonpip install -e .
- Install inspire_hand_sdk
Terminal window cd ../inspire_hand_sdkpip install -e .
If error when pip3 install -e . ref: unitree_sdk2_python,This error mentions that the cyclonedds path could not be found. First compile and install cyclonedds:
Dexterous Hand and Environment Configuration
Section titled “Dexterous Hand and Environment Configuration”First, configure the network for the device. The default IP for the is:left hand is 192.168.123.210,right hand is 192.168.123.211. The device running the driver must be on the same subnet as the dexterous hand. After configuration, execute ping 192.168.123.210 or ping 192.168.123.211 to check if communication is normal.
If you need to adjust the IP of the dexterous hand and other parameters, you can run the Dexterous Hand Configuration Panel in the usage example below. The panel will automatically read the device information in the current network. After modifying the parameters on the panel, you need to click Write Settings to send the parameters to the dexterous hand. The parameters will not take effect until you click Save Settings and restart Hand.
For configuration using RS-485 communication, the method is similar to TCP, allowing you to modify the device ID through the configuration panel. However, due to the limited bandwidth of RS-485, only one device can run on a bus at about 20 Hz, so usually only the port number needs to be changed.