Git Product home page Git Product logo

tacchi's Introduction

Tacchi

This repository contains the code for the paper Tacchi: A Pluggable and Fast Gel Deformation Simulator for Optical Tactile Sensors. The code can be used for connection simulation with MuJoCo and Gazebo, Tacchi image generation, image quality comparison, and Sim2Real tasks. All the datasets generated by this repository can be found in Tacchi_dataset. The presentation video is available in Tacchi_video.

Dependencies

0_stl2npy

This package generates object files for Tacchi. To generate objects with different particles,

python stl2ply.py

python ply2pcd.py --particle [particle number]

python pcd2npy.py

1_connection_simulation

This package connects MuJoCo and Gazebo with Tacchi for simulation. The objects generated by 0_stl2npy should be put in this package.

2_Tacchi_image_generation

This package generates images with Tacchi. The objects generated by 0_stl2npy should be put in this package.

python cmd.py --particle [particle number]

3_align_and_comparison

This package is from the repository Gelsight Simulation. This package can align images and evaluate simulation images. The images form 2_Tacchi_image_generation should be put in this package. To align images,

python -m experiments.preparation.align_per_object

python -m experiments.preparation.generate_sim

To evaluate simulation images,

python -m experiments.preparation.loss_eval

4_AA21

This package applied depth map smoothing method applied in [18] to generate tactile images. To generate images,

python data_loader_AA21.py

5_Sim2Real

This package applied ResNet18 to classifier images and evaluate images with Sim2Real tasks. The images form real experiments, Gelsight Simulation, and 2_Tacchi_image_generation should be put in this package. To train a ResNet,

python main.py --mode train --img_kind [image kind] --model_name [model name]

To test a classifier with real images,

python main.py --mode test --img_kind real --model_name [model name]


Thank Daniel Fernandes Gomes for Gelsight rendering method, alignment method and image evaluation code.

tacchi's People

Contributors

gitouni avatar zixichen007115 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.