Skip to content

Revo 2 Tactile Dexterous Hand Adaptive Grasping Example

Get code

Introduction

Based on Capacitive Sensor Haptic Feedback Dexterous Hand Example of adaptive grasping. By collecting tactile signals from the fingers in real time, executing tactile perception algorithms (contact detection, stiffness recognition), and dynamically adjusting the gripping current, it achieves compliant grasping and adaptive control of objects with different stiffness.

System Structure and Function

Module fileFunction Overview
main.pyThe main system entry point is responsible for module initialization and asynchronous scheduling, and executes example grasping tasks.
data_reader.pyCollect Revo2 capacitive tactile sensor data in real time and maintain a fixed-length buffer.
tactile_processor.pyPerform algorithmic processing on the collected tactile data, including contact detection and stiffness recognition.
grasp_controller.pyControl the dexterous hand by dynamically adjusting the finger currents based on tactile feedback to achieve adaptive grasping and releasing.

Core Control Commands and Parameter Description

The core control command of the system is:

python
await controller.grasp_with_speed(num_fingers=0)

This command performs gripping or releasing actions based on position and velocity control modes, achieving different types of grips by specifying the number of fingers and the duration of the action.

num_fingers Parameter Meaning

num_fingers ValueGrip typeInvolved fingersexplanation
0Release AllSpread all fingers, then return to the starting position
2Pinched between two fingersthumb + Index fingerSuitable for picking up small objects (such as foam blocks)
3Pinch with three fingersthumb + Index finger + middle fingerStably grasp medium-sized objects (such as paper cups)
5Five-finger gripthumb + Four fingersFull fist grip, used for grasping larger objects (such as a water bottle)

Usage

shell
cd revo2_tactile_grasp
# Install dependencies
(py310)   python git:(main)  pip3 install -r requirements.txt
# Run Example
(py310)   python git:(main)  python main.py

Sample Video