This guide describes the setup and usage of the Inspire Hand SDK for the LIDAR Lab at Georgia Tech.
We use conda to manage the Python virtual environment.
conda create -n inspire_hand python=3.8
conda activate inspire_handgit clone <repo_url>
cd InspireHand-Tactile-Sensinggit submodule init
git submodule updatepip install -r requirements.txt.
Instead, install the two SDKs in editable mode:
cd unitree_sdk2_python
pip install -e .
cd ../inspire_hand_sdk
pip install -e .After installation, return to the root directory:
cd ..To communicate with the Inspire Hands via Ethernet/USB-C:
-
Open Wired Network Settings
- Click the network icon in the top-right corner of Ubuntu
- Select Wired Settings
-
Create a New Profile
- Click the gear icon next to your wired interface
- Select IPv4 settings
- Set Method to
Manual - Assign a static IP in the same subnet as the Inspire Hands, e.g.:
- Example for PC:
192.168.123.100 - Subnet Mask:
255.255.255.0 - Gateway: leave blank
- Example for PC:
-
Connect to the Hands
- The default IPs are:
- Left hand:
192.168.123.210 - Right hand:
192.168.123.211
- Left hand:
- Save and apply the settings
- Open a terminal and test connectivity:
ping 192.168.123.210 ping 192.168.123.211
- If replies are received, communication is normal
- The default IPs are:
Note: Ensure your PC is directly connected to the hand via Ethernet or USB-C. Both the driver device and the hands must be on the same subnet to communicate properly.
All runtime scripts are located in:
/home/lidar/InspireHand-Tactile-Sensing/inspire_hand_sdk/example
You must run the driver in one terminal, and all visualization or other scripts in separate terminals.
In Terminal 1, activate conda and run:
conda activate inspire_hand
python inspire_hand_sdk/example/Headless_driver_double.pyThis script:
- Initializes the hands
- Starts DDS communication
- Publishes and subscribes to required topics
This must remain running before launching any other scripts.
In Terminal 2 (or more terminals):
conda activate inspire_hand
python inspire_hand_sdk/example/plot_force_hand_map_updated.pyThis script:
- Subscribes to tactile sensor data
- Displays a GUI
- Plots force values on the tactile sensor map
A new set of scripts has been added for tactile data collection and robot hand pose toggling. These scripts are located in:
/home/lidar/InspireHand-Tactile-Sensing/data_collection_scriptsThese scripts are designed to run while the Headless_driver_double.py is active (multi-terminal setup still applies).
The Inspire Hand SDK supports multiple control modes:
- Mode 0:
0000(No operation) - Mode 1:
0001(Angle) - Mode 2:
0010(Position) - Mode 3:
0011(Angle + Position) - Mode 4:
0100(Force control) - Mode 5:
0101(Angle + Force control) - Mode 6:
0110(Position + Force control) - Mode 7:
0111(Angle + Position + Force control) - Mode 8:
1000(Velocity) - Mode 9:
1001(Angle + Velocity) - Mode 10:
1010(Position + Velocity) - Mode 11:
1011(Angle + Position + Velocity) - Mode 12:
1100(Force control + Velocity) - Mode 13:
1101(Angle + Force control + Velocity) - Mode 14:
1110(Position + Force control + Velocity) - Mode 15:
1111(Angle + Position + Force control + Velocity)
- Activate conda environment
- Start
Headless_driver_double.py(Terminal 1) - Run GUI or control scripts in separate terminals


