Sparsh (DINO) + force field decoder for DIGIT sensor
We decode the touch representations from Sparsh into normal and shear force fields. This allows us to gather an intuition about what the representations capture in terms of forces in a way that is interpretable for humans.
How to Use
For testing Sparsh(DINO) + force field decoder live, you only need a DIGIT sensor. Follow these steps to run the demo:
Clone the sparsh repo
Create a folder for downloading the task checkpoints. For example,
${YOUR_PATH}/outputs_sparsh/checkpoints
.Download the Sparsh (DINO) base checkpoint
Download the decoder checkpoints from this repo.
Connect the sensor to your PC. In case of DIGIT, please make sure you have digit-interface installed.
Make sure the device is recognized by the OS (you can use Cheese in Linux to see the video that the sensor is streaming).
Running the demo for DIGIT (please refer to the Sparsh repo README for more information about how to setup the path configs):
python demo_forcefield.py +experiment=digit/downstream_task/forcefield/digit_dino paths=${YOUR_PATH_CONFIG} paths.output_dir=${YOUR_PATH}/outputs_sparsh/checkpoints/ test.demo.digit_serial=${YOUR_DIGIT_SERIAL}`
The DIGIT serial number is printed on the back of the sensor and has the format DXXXXX
.
- Take the sensor and slide it across the edge of a table, or across objects with interesting textures! Look at the normal field to localize where you're making contact on the sensor's surface. Look at the shear field to gather an intuition about the direction of the shear force that you applied while sliding the sensor. For example, slide the sensor over an edge up and down to get translational shear or rotate the sensor in place to see torsional slip!
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}
}