TacFlex: Multi-Mode Tactile Imprints Simulation for Visuotactile Sensors with Coating Patterns

January 19, 2025 · View on GitHub

图片

Installation

Requirements:

Clone this repo with

git clone https://github.com/Zhang-Chaofan/TacFlex.git

Quick-start: demo

To simulate the GelSight Mini sensor with marker, run the following:

python examples/sim_gelsight_mini.py --indenter=cross --render_img

To simulate the GelStereo 2.0 sensor with a marker pattern, run the following:

python examples/sim_gelstereo.py --pattern=marker --indenter=triangle_6-2 --sim_pcd --render_img

To simulate the GelStereo 2.0 sensor with a checkerboard pattern, run the following:

python examples/sim_gelstereo.py --pattern=checker --indenter=star --render_img

To simulate the GelStereo 2.0 sensor with a random color pattern, run the following:

python examples/sim_gelstereo.py --pattern=random --indenter=hexagon_4-3 --render_img

To simulate the soft-bubble tactile sensor (require SOFA framework), run the following:

python examples/sim_soft_bubble.py
python examples/sim_soft_bubble_2.py  # rgb image with refraction effect

Tutorial for simulating custom sensors

We are working on the detailed tutorial.