← Back to Index

home_en_G1_developer_brainco_hand.md

宇树科技 文档中心

Source: https://support.unitree.com/home/en/G1_developer/brainco_hand

BrainCo Hand Service

The G1 can be equipped with BrainCo's 2nd generation Dexterous Hand, which features 6 degrees of freedom.

The dexterous hand is controlled via serial communication, and the manufacturer provides C and Python SDKs,

In this repository, we convert serial messages into DDS messages so they can be used with unitree_sdk2.

Setup

sudo apt install libspdlog-dev libfmt-dev
# you may need to dowload the newest version of `stark-serialport-example` manually.
# git clone https://github.com/BrainCoTech/stark-serialport-example
cd thirdparty/stark-serialport-example
./download-lib.sh

cd path/to/brainco_hand_service
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
make

Test

# Terminal 1. Run brainco hand service
sudo ./brainco_hand --id 126 --serial /dev/ttyUSB0 # 126: left hand, 127: right hand
# Terminal 2. Run example
./example_brainco_hand left # or right

Program Download

git clone --recursive https://github.com/unitreerobotics/brainco_hand_service