-
Notifications
You must be signed in to change notification settings - Fork 2.6k
visual-based tactile sensor impl. and shape sensing example #3341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -69,3 +69,5 @@ tests/ | |
|
|
||
| # Docker history | ||
| .isaac-lab-docker-history | ||
|
|
||
| **/tactile_record/* | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
|
|
||
| This is an implementation of TacSL integrated with Isaac Lab, which demonstrates how to properly configure and use tactile sensors to obtain realistic sensor outputs including tactile RGB images, force fields, and other relevant tactile measurements. | ||
|
|
||
|
|
||
| --- | ||
|
|
||
| ## Setup | ||
|
|
||
| ### Prerequisites | ||
| Please follow the [IsaacLab Documentation](https://isaac-sim.github.io/IsaacLab/main/source/setup/installation/pip_installation.html) to install IsaacLab first. | ||
|
|
||
| ### Additional Dependencies | ||
| Install the required additional dependencies: | ||
| ```bash | ||
| conda activate env_isaaclab | ||
| pip install opencv-python==4.11.0 trimesh==4.5.1 | ||
| ``` | ||
|
|
||
| ### Assets | ||
| Download the Gelsight assets from [here](https://drive.google.com/drive/folders/1SyLF8AI0W8I9r9zCEKVO4bB804THFMGD?usp=drive_link) and place them in the `./assets/` folder. | ||
|
|
||
| --- | ||
| ## Usage | ||
|
|
||
| ### Verify Installation | ||
| To verify your IsaacLab installation, you can train a robot policy: | ||
| ```bash | ||
| ./isaaclab.sh -p scripts/reinforcement_learning/rsl_rl/train.py --task=Isaac-Ant-v0 --headless | ||
| ``` | ||
|
|
||
| ### Run TacSL Demo | ||
| To run the tactile sensor demonstration with shape sensing: | ||
| ```bash | ||
| cd scripts/demos/sensors/tacsl | ||
| python tacsl_example.py --enable_cameras --indenter nut --num_envs 8 --use_tactile_taxim --use_tactile_ff --save_viz | ||
| ``` | ||
|
|
||
| ### Available Options | ||
| For a complete list of available command-line arguments and options: | ||
| ```bash | ||
| cd scripts/demos/sensors/tacsl | ||
| python tacsl_example.py -h | ||
| ``` | ||
|
|
||
| ## What to Expect | ||
|
|
||
| The demo showcases tactile sensor simulation with various object interactions. You'll see: | ||
| - Real-time tactile RGB image generation as objects contact the sensor surface | ||
| - Force field visualizations showing contact forces and pressure distributions | ||
| - Shape sensing capabilities for object recognition and analysis | ||
| - Configurable sensor parameters and object interactions | ||
|
|
||
| The visualization outputs can be saved for further analysis and research purposes. | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be moved to the main Isaac Lab documentation, it can be a new page under https://isaac-sim.github.io/IsaacLab/main/source/overview/core-concepts/sensors/index.html
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! A new page has been added. Since it depends on a commit that fixes the documentation build, I will close this MR and open a new one here: MR.