Skip to content

Latest commit

 

History

History
executable file
·
31 lines (24 loc) · 2.21 KB

README.md

File metadata and controls

executable file
·
31 lines (24 loc) · 2.21 KB

GelSight Simulation

This repository contains the necessary code for executing the Simulated Environment and experiments as in our GelSight Simulation paper. These packages contain the drivers for running a GelSight sensor (in real world and simulation) and a FDM-Printer for carrying the described experiments (also in real world and simulation). The experiments includes the final experiments for the dataset alignment and the Sim2Real classification task, and should be executed using Python 3 (outside ROS). Visit danfergo.github.io/gelsight-simulation for more information about the work and links for downloading the datasets,

Index of Packages

Package Description
experiments Python3 (outside ROS) scripts with the experiments described in the paper.
fdm_printer Contains two drivers for running the FDM printer in the real world: a standard ROS subscriber/publisher and a ROS Control Harware Interface. The drivers work by issuing g-code commands to the printer.
fdm_printer_bringup Includes the file for launching the printer either in simulation or the real world (sim:=true for simulation)
fdm_printer_description The URDF files and STL meshes describing the printer.
gelsight_description The URDF files and STL meshes describing the GelSight sensor. The modeling is based on sensor proposed here.
gelsight_gazebo This package contains the driver that implements the proposed approach, to be used in simulation.
gelsight_simulation Scripts and Materials used to carry the data collection process.

To run the collection of tactile images using the simulated setup.

roscore
roslaunch gelsight_simulation dc.launch sim:=true
rosrun gelsight_simulation data_collection.py

To run the experiments scripts, e.g.,

    python -m experiments.sim2real.train_nn

A big thanks to keras-visuals, for providing some helpful Keras callbacks for assessing our NN optimization.