carohiguera's picture
added TacBench force dataset for GelSight
136db55
|
raw
history blame
3.29 kB
metadata
license: cc-by-nc-4.0
tags:
  - sparsh
  - gelsight
  - force estimation
  - slip detection

Dataset Details

This dataset contains paired tactile and force data, intended for use in predicting 3-axis normal and shear forces applied to the sensor's elastomer. We used three different indenter shapes to collect force-labeled data: hemisphere, sharp, and flat. To measure force ground truths, we employed the ATI nano17 force/torque sensor. The protocol consisted of applying a random normal load (up to 3N) followed by a shear load, achieved by sliding the probe 2mm on the sensor's elastomer. An illustration of the protocol is shown below:

This dataset is part of TacBench for evaluating Sparsh touch representations. For more information, please visit https://sparsh-ssl.github.io/.

Uses

This dataset includes aligned tactile data, 3-axis force, and slip labels using the GelSight Mini sensor (without markers). It is designed to evaluate the performance of Sparsh encoders in understanding tactile properties such as force estimation and slip detection. Note that slip labels {0: no_slip, 1:slip} were obtain indirectlty via the friction cone method.

For more information on how to use this dataset and set up corresponding downstream tasks, please refer to the Sparsh repository.

Dataset Structure

The dataset consists a collection of normal/shear load trajectories for each probe. The structure is as follows:

sphere
β”œβ”€β”€ batch_1 
β”‚   β”œβ”€β”€ dataset_gelsight_00.pkl
β”‚   β”œβ”€β”€ ...
β”‚   β”œβ”€β”€ dataset_gelsight_03.pkl
β”‚   β”œβ”€β”€ dataset_slip_forces.pkl
β”œβ”€β”€ batch_2 
β”‚   β”œβ”€β”€ ...
flat
β”œβ”€β”€ batch_1 
β”‚   β”œβ”€β”€ dataset_gelsight_00.pkl
β”‚   β”œβ”€β”€ ...
β”‚   β”œβ”€β”€ dataset_gelsight_03.pkl
β”‚   β”œβ”€β”€ dataset_slip_forces.pkl
β”‚   ...
sharp
β”œβ”€β”€ ....

For each batch:

  • dataset_gelsight_xy.pkl: contains the binarized tactile images only.
  • dataset_slip_forces.pkl: it's a dictionary where each key represents a sliding trajectory. Each trajectory has the corresponding force and slip labels.
def load_pickle_dataset(file_dataset):
    with open(file_dataset, "rb") as f:
        all_frames = pickle.load(f)
    return all_frames

def load_bin_image(io_buf):
    img = Image.open(io.BytesIO(io_buf))
    img = np.array(img)
    return img

frames = load_pickle_dataset('sphere/batch_1/dataset_gelsight_00.pkl')
img = load_bin_image(frames[0])

Please refer to Sparsh repository for further information about extracting the force/slip dataset.

BibTeX entry and citation info

@inproceedings{
    higuera2024sparsh,
    title={Sparsh: Self-supervised touch representations for vision-based tactile sensing},
    author={Carolina Higuera and Akash Sharma and Chaithanya Krishna Bodduluri and Taosha Fan and Patrick Lancaster and Mrinal Kalakrishnan and Michael Kaess and Byron Boots and Mike Lambeta and Tingfan Wu and Mustafa Mukadam},
    booktitle={8th Annual Conference on Robot Learning},
    year={2024},
    url={https://openreview.net/forum?id=xYJn2e1uu8}
}