Upload folder using huggingface_hub
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .dockerignore +23 -0
- .flake8 +24 -0
- .gitattributes +42 -56
- .gitignore +38 -0
- .gitmodules +4 -0
- .pre-commit-config.yaml +49 -0
- .vscode/.gitignore +10 -0
- .vscode/extensions.json +12 -0
- .vscode/tasks.json +23 -0
- .vscode/tools/launch.template.json +66 -0
- .vscode/tools/settings.template.json +86 -0
- .vscode/tools/setup_vscode.py +220 -0
- CONTIRBUTING.md +17 -0
- LICENCE +174 -0
- README.md +88 -0
- datasets/apple_pick_place_annotated.hdf5 +3 -0
- datasets/apple_pick_place_annotated/lerobot/data/chunk-000/episode_000000.parquet +3 -0
- datasets/apple_pick_place_annotated/lerobot/data/chunk-000/episode_000001.parquet +3 -0
- datasets/apple_pick_place_annotated/lerobot/data/chunk-000/episode_000002.parquet +3 -0
- datasets/apple_pick_place_annotated/lerobot/data/chunk-000/episode_000003.parquet +3 -0
- datasets/apple_pick_place_annotated/lerobot/data/chunk-000/episode_000004.parquet +3 -0
- datasets/apple_pick_place_annotated/lerobot/meta/episodes.jsonl +5 -0
- datasets/apple_pick_place_annotated/lerobot/meta/info.json +158 -0
- datasets/apple_pick_place_annotated/lerobot/meta/modality.json +51 -0
- datasets/apple_pick_place_annotated/lerobot/meta/tasks.jsonl +2 -0
- datasets/apple_pick_place_generated_small.hdf5 +3 -0
- datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000000.parquet +3 -0
- datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000001.parquet +3 -0
- datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000002.parquet +3 -0
- datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000003.parquet +3 -0
- datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000004.parquet +3 -0
- datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000005.parquet +3 -0
- datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000006.parquet +3 -0
- datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000007.parquet +3 -0
- datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000008.parquet +3 -0
- datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000009.parquet +3 -0
- datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000010.parquet +3 -0
- datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000011.parquet +3 -0
- datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000012.parquet +3 -0
- datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000013.parquet +3 -0
- datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000014.parquet +3 -0
- datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000015.parquet +3 -0
- datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000016.parquet +3 -0
- datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000017.parquet +3 -0
- datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000018.parquet +3 -0
- datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000019.parquet +3 -0
- datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000020.parquet +3 -0
- datasets/apple_pick_place_generated_small/lerobot/meta/episodes.jsonl +21 -0
- datasets/apple_pick_place_generated_small/lerobot/meta/info.json +158 -0
- datasets/apple_pick_place_generated_small/lerobot/meta/modality.json +51 -0
.dockerignore
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ignore .git related folders
|
| 2 |
+
.git/
|
| 3 |
+
.github/
|
| 4 |
+
.gitignore
|
| 5 |
+
# ignore docs
|
| 6 |
+
docs/
|
| 7 |
+
# ignore logs
|
| 8 |
+
**/logs/
|
| 9 |
+
**/runs/
|
| 10 |
+
**/output/*
|
| 11 |
+
**/outputs/*
|
| 12 |
+
**/videos/*
|
| 13 |
+
*.tmp
|
| 14 |
+
# ignore docker
|
| 15 |
+
docker/cluster/exports/
|
| 16 |
+
docker/.container.cfg
|
| 17 |
+
# ignore recordings
|
| 18 |
+
recordings/
|
| 19 |
+
# ignore __pycache__
|
| 20 |
+
**/__pycache__/
|
| 21 |
+
**/*.egg-info/
|
| 22 |
+
# ignore isaac sim symlink
|
| 23 |
+
_isaac_sim?
|
.flake8
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# copied from https://github.com/isaac-sim/IsaacLab/blob/main/.flake8
|
| 2 |
+
|
| 3 |
+
[flake8]
|
| 4 |
+
show-source=True
|
| 5 |
+
statistics=True
|
| 6 |
+
per-file-ignores=*/__init__.py:F401
|
| 7 |
+
# E402: Module level import not at top of file
|
| 8 |
+
# E501: Line too long
|
| 9 |
+
# W503: Line break before binary operator
|
| 10 |
+
# E203: Whitespace before ':' -> conflicts with black
|
| 11 |
+
# D401: First line should be in imperative mood
|
| 12 |
+
# R504: Unnecessary variable assignment before return statement.
|
| 13 |
+
# R505: Unnecessary elif after return statement
|
| 14 |
+
# SIM102: Use a single if-statement instead of nested if-statements
|
| 15 |
+
# SIM117: Merge with statements for context managers that have same scope.
|
| 16 |
+
ignore=E402,E501,W503,E203,D401,R504,R505,SIM102,SIM117
|
| 17 |
+
max-line-length = 120
|
| 18 |
+
max-complexity = 30
|
| 19 |
+
exclude=_*,.vscode,.git,docs/**
|
| 20 |
+
# docstrings
|
| 21 |
+
docstring-convention=google
|
| 22 |
+
# annotations
|
| 23 |
+
suppress-none-returning=True
|
| 24 |
+
allow-star-arg-any=True
|
.gitattributes
CHANGED
|
@@ -1,60 +1,46 @@
|
|
| 1 |
-
|
| 2 |
-
*
|
| 3 |
-
*.
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
*.
|
| 7 |
-
*.
|
| 8 |
-
*.
|
| 9 |
-
*.
|
| 10 |
-
*.joblib filter=lfs diff=lfs merge=lfs -text
|
| 11 |
-
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
| 12 |
-
*.lz4 filter=lfs diff=lfs merge=lfs -text
|
| 13 |
-
*.mds filter=lfs diff=lfs merge=lfs -text
|
| 14 |
-
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
| 15 |
-
*.model filter=lfs diff=lfs merge=lfs -text
|
| 16 |
-
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
| 17 |
-
*.npy filter=lfs diff=lfs merge=lfs -text
|
| 18 |
-
*.npz filter=lfs diff=lfs merge=lfs -text
|
| 19 |
-
*.onnx filter=lfs diff=lfs merge=lfs -text
|
| 20 |
-
*.ot filter=lfs diff=lfs merge=lfs -text
|
| 21 |
-
*.parquet filter=lfs diff=lfs merge=lfs -text
|
| 22 |
-
*.pb filter=lfs diff=lfs merge=lfs -text
|
| 23 |
-
*.pickle filter=lfs diff=lfs merge=lfs -text
|
| 24 |
-
*.pkl filter=lfs diff=lfs merge=lfs -text
|
| 25 |
-
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 26 |
-
*.pth filter=lfs diff=lfs merge=lfs -text
|
| 27 |
-
*.rar filter=lfs diff=lfs merge=lfs -text
|
| 28 |
-
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
| 29 |
-
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
| 30 |
-
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
| 31 |
-
*.tar filter=lfs diff=lfs merge=lfs -text
|
| 32 |
-
*.tflite filter=lfs diff=lfs merge=lfs -text
|
| 33 |
-
*.tgz filter=lfs diff=lfs merge=lfs -text
|
| 34 |
-
*.wasm filter=lfs diff=lfs merge=lfs -text
|
| 35 |
-
*.xz filter=lfs diff=lfs merge=lfs -text
|
| 36 |
-
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 37 |
-
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 38 |
-
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 39 |
-
# Audio files - uncompressed
|
| 40 |
-
*.pcm filter=lfs diff=lfs merge=lfs -text
|
| 41 |
-
*.sam filter=lfs diff=lfs merge=lfs -text
|
| 42 |
-
*.raw filter=lfs diff=lfs merge=lfs -text
|
| 43 |
-
# Audio files - compressed
|
| 44 |
-
*.aac filter=lfs diff=lfs merge=lfs -text
|
| 45 |
-
*.flac filter=lfs diff=lfs merge=lfs -text
|
| 46 |
-
*.mp3 filter=lfs diff=lfs merge=lfs -text
|
| 47 |
-
*.ogg filter=lfs diff=lfs merge=lfs -text
|
| 48 |
-
*.wav filter=lfs diff=lfs merge=lfs -text
|
| 49 |
-
# Image files - uncompressed
|
| 50 |
-
*.bmp filter=lfs diff=lfs merge=lfs -text
|
| 51 |
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 52 |
*.png filter=lfs diff=lfs merge=lfs -text
|
| 53 |
-
*.tiff filter=lfs diff=lfs merge=lfs -text
|
| 54 |
-
# Image files - compressed
|
| 55 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 56 |
-
*.
|
| 57 |
-
*.webp filter=lfs diff=lfs merge=lfs -text
|
| 58 |
-
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
-
*.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# copied and modified from https://github.com/NVIDIA/warp/blob/main/.gitattributes
|
| 2 |
+
* text=auto
|
| 3 |
+
*.sh text eol=LF
|
| 4 |
+
|
| 5 |
+
# copied from https://github.com/isaac-sim/IsaacLab/blob/main/.gitattributes
|
| 6 |
+
*.usd filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
*.dae filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
*.mtl filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
*.obj filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
*.gif filter=lfs diff=lfs merge=lfs -text
|
| 11 |
*.png filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
| 12 |
*.jpg filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
*.psd filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
| 14 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
*.usda filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
*.hdr filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
*.jit filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
datasets/apple_pick_place_annotated/lerobot/data/chunk-000/episode_000000.parquet filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
datasets/apple_pick_place_annotated/lerobot/data/chunk-000/episode_000001.parquet filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
datasets/apple_pick_place_annotated/lerobot/data/chunk-000/episode_000002.parquet filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
datasets/apple_pick_place_annotated/lerobot/data/chunk-000/episode_000003.parquet filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
datasets/apple_pick_place_annotated/lerobot/data/chunk-000/episode_000004.parquet filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
datasets/apple_pick_place_annotated.hdf5 filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000000.parquet filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000001.parquet filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000002.parquet filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000003.parquet filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000004.parquet filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000005.parquet filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000006.parquet filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000007.parquet filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000008.parquet filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000009.parquet filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000010.parquet filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000011.parquet filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000012.parquet filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000013.parquet filter=lfs diff=lfs merge=lfs -text
|
| 39 |
+
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000014.parquet filter=lfs diff=lfs merge=lfs -text
|
| 40 |
+
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000015.parquet filter=lfs diff=lfs merge=lfs -text
|
| 41 |
+
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000016.parquet filter=lfs diff=lfs merge=lfs -text
|
| 42 |
+
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000017.parquet filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000018.parquet filter=lfs diff=lfs merge=lfs -text
|
| 44 |
+
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000019.parquet filter=lfs diff=lfs merge=lfs -text
|
| 45 |
+
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000020.parquet filter=lfs diff=lfs merge=lfs -text
|
| 46 |
+
datasets/apple_pick_place_generated_small.hdf5 filter=lfs diff=lfs merge=lfs -text
|
.gitignore
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Omniverse
|
| 2 |
+
**/*.dmp
|
| 3 |
+
**/.thumbs
|
| 4 |
+
|
| 5 |
+
# Python
|
| 6 |
+
.DS_Store
|
| 7 |
+
**/*.egg-info/
|
| 8 |
+
**/__pycache__/
|
| 9 |
+
**/.pytest_cache/
|
| 10 |
+
**/*.pyc
|
| 11 |
+
**/*.pb
|
| 12 |
+
|
| 13 |
+
# IDE
|
| 14 |
+
**/.idea/
|
| 15 |
+
**/.vscode/
|
| 16 |
+
# Don't ignore the top-level .vscode directory as it is
|
| 17 |
+
# used to configure VS Code settings
|
| 18 |
+
!.vscode
|
| 19 |
+
|
| 20 |
+
# Outputs
|
| 21 |
+
**/runs/*
|
| 22 |
+
**/logs/*
|
| 23 |
+
**/recordings/*
|
| 24 |
+
**/output/*
|
| 25 |
+
**/outputs/*
|
| 26 |
+
**/videos/*
|
| 27 |
+
**/wandb/*
|
| 28 |
+
**/.neptune/*
|
| 29 |
+
docker/artifacts/
|
| 30 |
+
*.tmp
|
| 31 |
+
|
| 32 |
+
# Isaac-Sim packman
|
| 33 |
+
_isaac_sim*
|
| 34 |
+
_repo
|
| 35 |
+
_build
|
| 36 |
+
.lastformat
|
| 37 |
+
|
| 38 |
+
datasets_large/
|
.gitmodules
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[submodule "submodules/Isaac-GR00T"]
|
| 2 |
+
path = submodules/Isaac-GR00T
|
| 3 |
+
url = git@github.com:NVIDIA/Isaac-GR00T.git
|
| 4 |
+
branch = n1-release
|
.pre-commit-config.yaml
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
repos:
|
| 2 |
+
- repo: https://github.com/python/black
|
| 3 |
+
rev: 23.10.1
|
| 4 |
+
hooks:
|
| 5 |
+
- id: black
|
| 6 |
+
args: ["--line-length", "120", "--preview"]
|
| 7 |
+
- repo: https://github.com/pycqa/flake8
|
| 8 |
+
rev: 6.1.0
|
| 9 |
+
hooks:
|
| 10 |
+
- id: flake8
|
| 11 |
+
additional_dependencies: [flake8-simplify, flake8-return]
|
| 12 |
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
| 13 |
+
rev: v4.5.0
|
| 14 |
+
hooks:
|
| 15 |
+
- id: trailing-whitespace
|
| 16 |
+
- id: check-symlinks
|
| 17 |
+
- id: destroyed-symlinks
|
| 18 |
+
- id: check-yaml
|
| 19 |
+
- id: check-merge-conflict
|
| 20 |
+
- id: check-case-conflict
|
| 21 |
+
- id: check-executables-have-shebangs
|
| 22 |
+
- id: check-toml
|
| 23 |
+
- id: end-of-file-fixer
|
| 24 |
+
- id: check-shebang-scripts-are-executable
|
| 25 |
+
- id: detect-private-key
|
| 26 |
+
- id: debug-statements
|
| 27 |
+
- repo: https://github.com/pycqa/isort
|
| 28 |
+
rev: 5.12.0
|
| 29 |
+
hooks:
|
| 30 |
+
- id: isort
|
| 31 |
+
name: isort (python)
|
| 32 |
+
args: ["--profile", "black", "--filter-files"]
|
| 33 |
+
- repo: https://github.com/asottile/pyupgrade
|
| 34 |
+
rev: v3.15.0
|
| 35 |
+
hooks:
|
| 36 |
+
- id: pyupgrade
|
| 37 |
+
args: ["--py37-plus"]
|
| 38 |
+
- repo: https://github.com/codespell-project/codespell
|
| 39 |
+
rev: v2.2.6
|
| 40 |
+
hooks:
|
| 41 |
+
- id: codespell
|
| 42 |
+
additional_dependencies:
|
| 43 |
+
- tomli
|
| 44 |
+
- repo: https://github.com/pre-commit/pygrep-hooks
|
| 45 |
+
rev: v1.10.0
|
| 46 |
+
hooks:
|
| 47 |
+
- id: rst-backticks
|
| 48 |
+
- id: rst-directive-colons
|
| 49 |
+
- id: rst-inline-touching-normal
|
.vscode/.gitignore
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Note: These files are kept for development purposes only.
|
| 2 |
+
!tools/launch.template.json
|
| 3 |
+
!tools/settings.template.json
|
| 4 |
+
!tools/setup_vscode.py
|
| 5 |
+
!extensions.json
|
| 6 |
+
!tasks.json
|
| 7 |
+
|
| 8 |
+
# Ignore all other files
|
| 9 |
+
.python.env
|
| 10 |
+
*.json
|
.vscode/extensions.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
// See http://go.microsoft.com/fwlink/?LinkId=827846
|
| 3 |
+
// for the documentation about the extensions.json format
|
| 4 |
+
"recommendations": [
|
| 5 |
+
"ms-python.python",
|
| 6 |
+
"ms-python.vscode-pylance",
|
| 7 |
+
"ban.spellright",
|
| 8 |
+
"ms-iot.vscode-ros",
|
| 9 |
+
"ms-python.black-formatter",
|
| 10 |
+
"ms-python.flake8",
|
| 11 |
+
]
|
| 12 |
+
}
|
.vscode/tasks.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"version": "2.0.0",
|
| 3 |
+
"tasks": [
|
| 4 |
+
{
|
| 5 |
+
"label": "setup_python_env",
|
| 6 |
+
"type": "shell",
|
| 7 |
+
"linux": {
|
| 8 |
+
"command": "${input:isaac_path}/python.sh ${workspaceFolder}/.vscode/tools/setup_vscode.py --isaac_path ${input:isaac_path}"
|
| 9 |
+
},
|
| 10 |
+
"windows": {
|
| 11 |
+
"command": "${input:isaac_path}/python.bat ${workspaceFolder}/.vscode/tools/setup_vscode.py --isaac_path ${input:isaac_path}"
|
| 12 |
+
}
|
| 13 |
+
}
|
| 14 |
+
],
|
| 15 |
+
"inputs": [
|
| 16 |
+
{
|
| 17 |
+
"id": "isaac_path",
|
| 18 |
+
"description": "Absolute path to the current Isaac Sim installation. Can be skipped if Isaac Sim installed from pip.",
|
| 19 |
+
"default": "${HOME}/.local/share/ov/pkg/isaac_sim-4.2.0",
|
| 20 |
+
"type": "promptString"
|
| 21 |
+
},
|
| 22 |
+
]
|
| 23 |
+
}
|
.vscode/tools/launch.template.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
// Use IntelliSense to learn about possible attributes.
|
| 3 |
+
// Hover to view descriptions of existing attributes.
|
| 4 |
+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
| 5 |
+
"version": "0.2.0",
|
| 6 |
+
"configurations": [
|
| 7 |
+
// For standalone script execution
|
| 8 |
+
{
|
| 9 |
+
"name": "Python: Current File",
|
| 10 |
+
"type": "debugpy",
|
| 11 |
+
"request": "launch",
|
| 12 |
+
"program": "${file}",
|
| 13 |
+
"console": "integratedTerminal",
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"name": "Python: Train Environment",
|
| 17 |
+
"type": "debugpy",
|
| 18 |
+
"request": "launch",
|
| 19 |
+
"args" : ["--task", "Template-Isaac-Velocity-Flat-Anymal-D-v0", "--num_envs", "4096", "--headless"],
|
| 20 |
+
"program": "${workspaceFolder}/scripts/rsl_rl/train.py",
|
| 21 |
+
"console": "integratedTerminal",
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"name": "Python: Play Environment",
|
| 25 |
+
"type": "debugpy",
|
| 26 |
+
"request": "launch",
|
| 27 |
+
"args" : ["--task", "Template-Isaac-Velocity-Flat-Anymal-D-Play-v0", "--num_envs", "32"],
|
| 28 |
+
"program": "${workspaceFolder}/scripts/rsl_rl/play.py",
|
| 29 |
+
"console": "integratedTerminal",
|
| 30 |
+
},
|
| 31 |
+
|
| 32 |
+
// For script execution inside a Docker
|
| 33 |
+
{
|
| 34 |
+
"name": "Docker: Current File",
|
| 35 |
+
"type": "debugpy",
|
| 36 |
+
"request": "launch",
|
| 37 |
+
"program": "${file}",
|
| 38 |
+
"console": "integratedTerminal",
|
| 39 |
+
"env": {
|
| 40 |
+
"PYTHONPATH": "${env:PYTHONPATH}:${workspaceFolder}"
|
| 41 |
+
}
|
| 42 |
+
},
|
| 43 |
+
{
|
| 44 |
+
"name": "Docker: Train Environment",
|
| 45 |
+
"type": "debugpy",
|
| 46 |
+
"request": "launch",
|
| 47 |
+
"args" : ["--task", "Template-Isaac-Velocity-Flat-Anymal-D-v0", "--num_envs", "4096", "--headless"],
|
| 48 |
+
"program": "${workspaceFolder}/scripts/rsl_rl/train.py",
|
| 49 |
+
"console": "integratedTerminal",
|
| 50 |
+
"env": {
|
| 51 |
+
"PYTHONPATH": "${env:PYTHONPATH}:${workspaceFolder}"
|
| 52 |
+
}
|
| 53 |
+
},
|
| 54 |
+
{
|
| 55 |
+
"name": "Docker: Play Environment",
|
| 56 |
+
"type": "debugpy",
|
| 57 |
+
"request": "launch",
|
| 58 |
+
"args" : ["--task", "Template-Isaac-Velocity-Flat-Anymal-D-Play-v0", "--num_envs", "32"],
|
| 59 |
+
"program": "${workspaceFolder}/scripts/rsl_rl/play.py",
|
| 60 |
+
"console": "integratedTerminal",
|
| 61 |
+
"env": {
|
| 62 |
+
"PYTHONPATH": "${env:PYTHONPATH}:${workspaceFolder}"
|
| 63 |
+
}
|
| 64 |
+
}
|
| 65 |
+
]
|
| 66 |
+
}
|
.vscode/tools/settings.template.json
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"files.associations": {
|
| 3 |
+
"*.tpp": "cpp",
|
| 4 |
+
"*.kit": "toml",
|
| 5 |
+
"*.rst": "restructuredtext"
|
| 6 |
+
},
|
| 7 |
+
"editor.rulers": [120],
|
| 8 |
+
|
| 9 |
+
// files to be ignored by the linter
|
| 10 |
+
"files.watcherExclude": {
|
| 11 |
+
"**/.git/objects/**": true,
|
| 12 |
+
"**/.git/subtree-cache/**": true,
|
| 13 |
+
"**/node_modules/**": true,
|
| 14 |
+
"**/_isaac_sim/**": true,
|
| 15 |
+
"**/_compiler/**": true
|
| 16 |
+
},
|
| 17 |
+
// Configuration for spelling checker
|
| 18 |
+
"spellright.language": [
|
| 19 |
+
"en-US-10-1."
|
| 20 |
+
],
|
| 21 |
+
"spellright.documentTypes": [
|
| 22 |
+
"markdown",
|
| 23 |
+
"latex",
|
| 24 |
+
"plaintext",
|
| 25 |
+
"cpp",
|
| 26 |
+
"asciidoc",
|
| 27 |
+
"python",
|
| 28 |
+
"restructuredtext"
|
| 29 |
+
],
|
| 30 |
+
"cSpell.words": [
|
| 31 |
+
"literalinclude",
|
| 32 |
+
"linenos",
|
| 33 |
+
"instanceable",
|
| 34 |
+
"isaacSim",
|
| 35 |
+
"jacobians",
|
| 36 |
+
"pointcloud",
|
| 37 |
+
"ridgeback",
|
| 38 |
+
"rllib",
|
| 39 |
+
"robomimic",
|
| 40 |
+
"teleoperation",
|
| 41 |
+
"xform",
|
| 42 |
+
"numpy",
|
| 43 |
+
"tensordict",
|
| 44 |
+
"flatcache",
|
| 45 |
+
"physx",
|
| 46 |
+
"dpad",
|
| 47 |
+
"gamepad",
|
| 48 |
+
"linspace",
|
| 49 |
+
"upsampled",
|
| 50 |
+
"downsampled",
|
| 51 |
+
"arange",
|
| 52 |
+
"discretization",
|
| 53 |
+
"trimesh",
|
| 54 |
+
"uninstanceable"
|
| 55 |
+
],
|
| 56 |
+
// This enables python language server. Seems to work slightly better than jedi:
|
| 57 |
+
"python.languageServer": "Pylance",
|
| 58 |
+
// We use "black" as a formatter:
|
| 59 |
+
"python.formatting.provider": "black",
|
| 60 |
+
"python.formatting.blackArgs": ["--line-length", "120"],
|
| 61 |
+
// Use flake8 for linting
|
| 62 |
+
"python.linting.pylintEnabled": false,
|
| 63 |
+
"python.linting.flake8Enabled": true,
|
| 64 |
+
"python.linting.flake8Args": [
|
| 65 |
+
"--max-line-length=120"
|
| 66 |
+
],
|
| 67 |
+
// Use docstring generator
|
| 68 |
+
"autoDocstring.docstringFormat": "google",
|
| 69 |
+
"autoDocstring.guessTypes": true,
|
| 70 |
+
// Python environment path
|
| 71 |
+
// note: the default interpreter is overridden when user selects a workspace interpreter
|
| 72 |
+
// in the status bar. For example, the virtual environment python interpreter
|
| 73 |
+
"python.defaultInterpreterPath": "",
|
| 74 |
+
// ROS distribution
|
| 75 |
+
"ros.distro": "noetic",
|
| 76 |
+
// Language specific settings
|
| 77 |
+
"[python]": {
|
| 78 |
+
"editor.tabSize": 4
|
| 79 |
+
},
|
| 80 |
+
"[restructuredtext]": {
|
| 81 |
+
"editor.tabSize": 2
|
| 82 |
+
},
|
| 83 |
+
// Python extra paths
|
| 84 |
+
// Note: this is filled up when vscode is set up for the first time
|
| 85 |
+
"python.analysis.extraPaths": []
|
| 86 |
+
}
|
.vscode/tools/setup_vscode.py
ADDED
|
@@ -0,0 +1,220 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright (c) 2022-2024, The Isaac Lab Project Developers.
|
| 2 |
+
# All rights reserved.
|
| 3 |
+
#
|
| 4 |
+
# SPDX-License-Identifier: BSD-3-Clause
|
| 5 |
+
|
| 6 |
+
"""This script sets up the vs-code settings for the Isaac Lab project.
|
| 7 |
+
|
| 8 |
+
This script merges the python.analysis.extraPaths from the "{ISAACSIM_DIR}/.vscode/settings.json" file into
|
| 9 |
+
the ".vscode/settings.json" file.
|
| 10 |
+
|
| 11 |
+
This is necessary because Isaac Sim 2022.2.1 onwards does not add the necessary python packages to the python path
|
| 12 |
+
when the "setup_python_env.sh" is run as part of the vs-code launch configuration.
|
| 13 |
+
"""
|
| 14 |
+
|
| 15 |
+
import argparse
|
| 16 |
+
import os
|
| 17 |
+
import pathlib
|
| 18 |
+
import platform
|
| 19 |
+
import re
|
| 20 |
+
import sys
|
| 21 |
+
|
| 22 |
+
PROJECT_DIR = pathlib.Path(__file__).parents[2]
|
| 23 |
+
"""Path to the the project directory."""
|
| 24 |
+
|
| 25 |
+
try:
|
| 26 |
+
import isaacsim # noqa: F401
|
| 27 |
+
|
| 28 |
+
isaacsim_dir = os.environ.get("ISAAC_PATH", "")
|
| 29 |
+
except ModuleNotFoundError or ImportError:
|
| 30 |
+
# Create a parser to get the isaac-sim path
|
| 31 |
+
parser = argparse.ArgumentParser(description="Setup the VSCode settings for the project.")
|
| 32 |
+
parser.add_argument("--isaac_path", type=str, help="The absolute path to the Isaac Sim installation.")
|
| 33 |
+
args = parser.parse_args()
|
| 34 |
+
|
| 35 |
+
# parse the isaac-sim directory
|
| 36 |
+
isaacsim_dir = args.isaac_path
|
| 37 |
+
# check if the isaac-sim directory is provided
|
| 38 |
+
if not os.path.exists(isaacsim_dir):
|
| 39 |
+
raise FileNotFoundError(
|
| 40 |
+
f"Could not find the isaac-sim directory: {isaacsim_dir}. Please provide the correct path to the Isaac Sim"
|
| 41 |
+
" installation."
|
| 42 |
+
)
|
| 43 |
+
except EOFError:
|
| 44 |
+
print("Unable to trigger EULA acceptance. This is likely due to the script being run in a non-interactive shell.")
|
| 45 |
+
print("Please run the script in an interactive shell to accept the EULA.")
|
| 46 |
+
print("Skipping the setup of the VSCode settings...")
|
| 47 |
+
sys.exit(0)
|
| 48 |
+
|
| 49 |
+
# check if the isaac-sim directory exists
|
| 50 |
+
if not os.path.exists(isaacsim_dir):
|
| 51 |
+
raise FileNotFoundError(
|
| 52 |
+
f"Could not find the isaac-sim directory: {isaacsim_dir}. There are two possible reasons for this:"
|
| 53 |
+
"\n\t1. The Isaac Sim directory does not exist as provided CLI path."
|
| 54 |
+
"\n\t2. The script could import the 'isaacsim' package. This could be due to the 'isaacsim' package not being "
|
| 55 |
+
"installed in the Python environment.\n"
|
| 56 |
+
"\nPlease make sure that the Isaac Sim directory exists or that the 'isaacsim' package is installed."
|
| 57 |
+
)
|
| 58 |
+
|
| 59 |
+
ISAACSIM_DIR = isaacsim_dir
|
| 60 |
+
"""Path to the isaac-sim directory."""
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
def overwrite_python_analysis_extra_paths(isaaclab_settings: str) -> str:
|
| 64 |
+
"""Overwrite the python.analysis.extraPaths in the Isaac Lab settings file.
|
| 65 |
+
|
| 66 |
+
The extraPaths are replaced with the path names from the isaac-sim settings file that exists in the
|
| 67 |
+
"{ISAACSIM_DIR}/.vscode/settings.json" file.
|
| 68 |
+
|
| 69 |
+
If the isaac-sim settings file does not exist, the extraPaths are not overwritten.
|
| 70 |
+
|
| 71 |
+
Args:
|
| 72 |
+
isaaclab_settings: The settings string to use as template.
|
| 73 |
+
|
| 74 |
+
Returns:
|
| 75 |
+
The settings string with overwritten python analysis extra paths.
|
| 76 |
+
"""
|
| 77 |
+
# isaac-sim settings
|
| 78 |
+
isaacsim_vscode_filename = os.path.join(ISAACSIM_DIR, ".vscode", "settings.json")
|
| 79 |
+
|
| 80 |
+
# we use the isaac-sim settings file to get the python.analysis.extraPaths for kit extensions
|
| 81 |
+
# if this file does not exist, we will not add any extra paths
|
| 82 |
+
if os.path.exists(isaacsim_vscode_filename):
|
| 83 |
+
# read the path names from the isaac-sim settings file
|
| 84 |
+
with open(isaacsim_vscode_filename) as f:
|
| 85 |
+
vscode_settings = f.read()
|
| 86 |
+
# extract the path names
|
| 87 |
+
# search for the python.analysis.extraPaths section and extract the contents
|
| 88 |
+
settings = re.search(
|
| 89 |
+
r"\"python.analysis.extraPaths\": \[.*?\]", vscode_settings, flags=re.MULTILINE | re.DOTALL
|
| 90 |
+
)
|
| 91 |
+
settings = settings.group(0)
|
| 92 |
+
settings = settings.split('"python.analysis.extraPaths": [')[-1]
|
| 93 |
+
settings = settings.split("]")[0]
|
| 94 |
+
|
| 95 |
+
# read the path names from the isaac-sim settings file
|
| 96 |
+
path_names = settings.split(",")
|
| 97 |
+
path_names = [path_name.strip().strip('"') for path_name in path_names]
|
| 98 |
+
path_names = [path_name for path_name in path_names if len(path_name) > 0]
|
| 99 |
+
|
| 100 |
+
# change the path names to be relative to the Isaac Lab directory
|
| 101 |
+
rel_path = os.path.relpath(ISAACSIM_DIR, PROJECT_DIR)
|
| 102 |
+
path_names = ['"${workspaceFolder}/' + rel_path + "/" + path_name + '"' for path_name in path_names]
|
| 103 |
+
else:
|
| 104 |
+
path_names = []
|
| 105 |
+
print(
|
| 106 |
+
f"[WARN] Could not find Isaac Sim VSCode settings: {isaacsim_vscode_filename}."
|
| 107 |
+
"\n\tThis will result in missing 'python.analysis.extraPaths' in the VSCode"
|
| 108 |
+
"\n\tsettings, which limits the functionality of the Python language server."
|
| 109 |
+
"\n\tHowever, it does not affect the functionality of the Isaac Lab project."
|
| 110 |
+
"\n\tWe are working on a fix for this issue with the Isaac Sim team."
|
| 111 |
+
)
|
| 112 |
+
|
| 113 |
+
# add the path names that are in the Isaac Lab extensions directory
|
| 114 |
+
isaaclab_extensions = os.listdir(os.path.join(PROJECT_DIR, "source"))
|
| 115 |
+
path_names.extend(['"${workspaceFolder}/source/' + ext + '"' for ext in isaaclab_extensions])
|
| 116 |
+
|
| 117 |
+
# combine them into a single string
|
| 118 |
+
path_names = ",\n\t\t".expandtabs(4).join(path_names)
|
| 119 |
+
# deal with the path separator being different on Windows and Unix
|
| 120 |
+
path_names = path_names.replace("\\", "/")
|
| 121 |
+
|
| 122 |
+
# replace the path names in the Isaac Lab settings file with the path names parsed
|
| 123 |
+
isaaclab_settings = re.sub(
|
| 124 |
+
r"\"python.analysis.extraPaths\": \[.*?\]",
|
| 125 |
+
'"python.analysis.extraPaths": [\n\t\t'.expandtabs(4) + path_names + "\n\t]".expandtabs(4),
|
| 126 |
+
isaaclab_settings,
|
| 127 |
+
flags=re.DOTALL,
|
| 128 |
+
)
|
| 129 |
+
# return the Isaac Lab settings string
|
| 130 |
+
return isaaclab_settings
|
| 131 |
+
|
| 132 |
+
|
| 133 |
+
def overwrite_default_python_interpreter(isaaclab_settings: str) -> str:
|
| 134 |
+
"""Overwrite the default python interpreter in the Isaac Lab settings file.
|
| 135 |
+
|
| 136 |
+
The default python interpreter is replaced with the path to the python interpreter used by the
|
| 137 |
+
isaac-sim project. This is necessary because the default python interpreter is the one shipped with
|
| 138 |
+
isaac-sim.
|
| 139 |
+
|
| 140 |
+
Args:
|
| 141 |
+
isaaclab_settings: The settings string to use as template.
|
| 142 |
+
|
| 143 |
+
Returns:
|
| 144 |
+
The settings string with overwritten default python interpreter.
|
| 145 |
+
"""
|
| 146 |
+
# read executable name
|
| 147 |
+
python_exe = os.path.normpath(sys.executable)
|
| 148 |
+
|
| 149 |
+
# replace with Isaac Sim's python.sh or python.bat scripts to make sure python with correct
|
| 150 |
+
# source paths is set as default
|
| 151 |
+
if f"kit{os.sep}python{os.sep}bin{os.sep}python" in python_exe:
|
| 152 |
+
# Check if the OS is Windows or Linux to use appropriate shell file
|
| 153 |
+
if platform.system() == "Windows":
|
| 154 |
+
python_exe = python_exe.replace(f"kit{os.sep}python{os.sep}bin{os.sep}python3", "python.bat")
|
| 155 |
+
else:
|
| 156 |
+
python_exe = python_exe.replace(f"kit{os.sep}python{os.sep}bin{os.sep}python3", "python.sh")
|
| 157 |
+
|
| 158 |
+
# replace the default python interpreter in the Isaac Lab settings file with the path to the
|
| 159 |
+
# python interpreter in the Isaac Lab directory
|
| 160 |
+
isaaclab_settings = re.sub(
|
| 161 |
+
r"\"python.defaultInterpreterPath\": \".*?\"",
|
| 162 |
+
f'"python.defaultInterpreterPath": "{python_exe}"',
|
| 163 |
+
isaaclab_settings,
|
| 164 |
+
flags=re.DOTALL,
|
| 165 |
+
)
|
| 166 |
+
# return the Isaac Lab settings file
|
| 167 |
+
return isaaclab_settings
|
| 168 |
+
|
| 169 |
+
|
| 170 |
+
def main():
|
| 171 |
+
# Isaac Lab template settings
|
| 172 |
+
isaaclab_vscode_template_filename = os.path.join(PROJECT_DIR, ".vscode", "tools", "settings.template.json")
|
| 173 |
+
# make sure the Isaac Lab template settings file exists
|
| 174 |
+
if not os.path.exists(isaaclab_vscode_template_filename):
|
| 175 |
+
raise FileNotFoundError(
|
| 176 |
+
f"Could not find the Isaac Lab template settings file: {isaaclab_vscode_template_filename}"
|
| 177 |
+
)
|
| 178 |
+
# read the Isaac Lab template settings file
|
| 179 |
+
with open(isaaclab_vscode_template_filename) as f:
|
| 180 |
+
isaaclab_template_settings = f.read()
|
| 181 |
+
|
| 182 |
+
# overwrite the python.analysis.extraPaths in the Isaac Lab settings file with the path names
|
| 183 |
+
isaaclab_settings = overwrite_python_analysis_extra_paths(isaaclab_template_settings)
|
| 184 |
+
# overwrite the default python interpreter in the Isaac Lab settings file with the path to the
|
| 185 |
+
# python interpreter used to call this script
|
| 186 |
+
isaaclab_settings = overwrite_default_python_interpreter(isaaclab_settings)
|
| 187 |
+
|
| 188 |
+
# add template notice to the top of the file
|
| 189 |
+
header_message = (
|
| 190 |
+
"// This file is a template and is automatically generated by the setup_vscode.py script.\n"
|
| 191 |
+
"// Do not edit this file directly.\n"
|
| 192 |
+
"// \n"
|
| 193 |
+
f"// Generated from: {isaaclab_vscode_template_filename}\n"
|
| 194 |
+
)
|
| 195 |
+
isaaclab_settings = header_message + isaaclab_settings
|
| 196 |
+
|
| 197 |
+
# write the Isaac Lab settings file
|
| 198 |
+
isaaclab_vscode_filename = os.path.join(PROJECT_DIR, ".vscode", "settings.json")
|
| 199 |
+
with open(isaaclab_vscode_filename, "w") as f:
|
| 200 |
+
f.write(isaaclab_settings)
|
| 201 |
+
|
| 202 |
+
# copy the launch.json file if it doesn't exist
|
| 203 |
+
isaaclab_vscode_launch_filename = os.path.join(PROJECT_DIR, ".vscode", "launch.json")
|
| 204 |
+
isaaclab_vscode_template_launch_filename = os.path.join(PROJECT_DIR, ".vscode", "tools", "launch.template.json")
|
| 205 |
+
if not os.path.exists(isaaclab_vscode_launch_filename):
|
| 206 |
+
# read template launch settings
|
| 207 |
+
with open(isaaclab_vscode_template_launch_filename) as f:
|
| 208 |
+
isaaclab_template_launch_settings = f.read()
|
| 209 |
+
# add header
|
| 210 |
+
header_message = header_message.replace(
|
| 211 |
+
isaaclab_vscode_template_filename, isaaclab_vscode_template_launch_filename
|
| 212 |
+
)
|
| 213 |
+
isaaclab_launch_settings = header_message + isaaclab_template_launch_settings
|
| 214 |
+
# write the Isaac Lab launch settings file
|
| 215 |
+
with open(isaaclab_vscode_launch_filename, "w") as f:
|
| 216 |
+
f.write(isaaclab_launch_settings)
|
| 217 |
+
|
| 218 |
+
|
| 219 |
+
if __name__ == "__main__":
|
| 220 |
+
main()
|
CONTIRBUTING.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Developer Certificate of Origin Version 1.1
|
| 2 |
+
|
| 3 |
+
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
|
| 4 |
+
|
| 5 |
+
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
|
| 6 |
+
|
| 7 |
+
Developer's Certificate of Origin 1.1
|
| 8 |
+
|
| 9 |
+
By making a contribution to this project, I certify that:
|
| 10 |
+
|
| 11 |
+
(a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or
|
| 12 |
+
|
| 13 |
+
(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or
|
| 14 |
+
|
| 15 |
+
(c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.
|
| 16 |
+
|
| 17 |
+
(d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.
|
LICENCE
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Apache License
|
| 2 |
+
Version 2.0, January 2004
|
| 3 |
+
http://www.apache.org/licenses/
|
| 4 |
+
|
| 5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 6 |
+
|
| 7 |
+
1. Definitions.
|
| 8 |
+
|
| 9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 11 |
+
|
| 12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 13 |
+
the copyright owner that is granting the License.
|
| 14 |
+
|
| 15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 16 |
+
other entities that control, are controlled by, or are under common
|
| 17 |
+
control with that entity. For the purposes of this definition,
|
| 18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 19 |
+
direction or management of such entity, whether by contract or
|
| 20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 22 |
+
|
| 23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 24 |
+
exercising permissions granted by this License.
|
| 25 |
+
|
| 26 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 27 |
+
including but not limited to software source code, documentation
|
| 28 |
+
source, and configuration files.
|
| 29 |
+
|
| 30 |
+
"Object" form shall mean any form resulting from mechanical
|
| 31 |
+
transformation or translation of a Source form, including but
|
| 32 |
+
not limited to compiled object code, generated documentation,
|
| 33 |
+
and conversions to other media types.
|
| 34 |
+
|
| 35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 36 |
+
Object form, made available under the License, as indicated by a
|
| 37 |
+
copyright notice that is included in or attached to the work
|
| 38 |
+
(an example is provided in the Appendix below).
|
| 39 |
+
|
| 40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 41 |
+
form, that is based on (or derived from) the Work and for which the
|
| 42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 44 |
+
of this License, Derivative Works shall not include works that remain
|
| 45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 46 |
+
the Work and Derivative Works thereof.
|
| 47 |
+
|
| 48 |
+
"Contribution" shall mean any work of authorship, including
|
| 49 |
+
the original version of the Work and any modifications or additions
|
| 50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 54 |
+
means any form of electronic, verbal, or written communication sent
|
| 55 |
+
to the Licensor or its representatives, including but not limited to
|
| 56 |
+
communication on electronic mailing lists, source code control systems,
|
| 57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 59 |
+
excluding communication that is conspicuously marked or otherwise
|
| 60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 61 |
+
|
| 62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 64 |
+
subsequently incorporated within the Work.
|
| 65 |
+
|
| 66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 71 |
+
Work and such Derivative Works in Source or Object form.
|
| 72 |
+
|
| 73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 76 |
+
(except as stated in this section) patent license to make, have made,
|
| 77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 78 |
+
where such license applies only to those patent claims licensable
|
| 79 |
+
by such Contributor that are necessarily infringed by their
|
| 80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 82 |
+
institute patent litigation against any entity (including a
|
| 83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 84 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 85 |
+
or contributory patent infringement, then any patent licenses
|
| 86 |
+
granted to You under this License for that Work shall terminate
|
| 87 |
+
as of the date such litigation is filed.
|
| 88 |
+
|
| 89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 90 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 91 |
+
modifications, and in Source or Object form, provided that You
|
| 92 |
+
meet the following conditions:
|
| 93 |
+
|
| 94 |
+
(a) You must give any other recipients of the Work or
|
| 95 |
+
Derivative Works a copy of this License; and
|
| 96 |
+
|
| 97 |
+
(b) You must cause any modified files to carry prominent notices
|
| 98 |
+
stating that You changed the files; and
|
| 99 |
+
|
| 100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 101 |
+
that You distribute, all copyright, patent, trademark, and
|
| 102 |
+
attribution notices from the Source form of the Work,
|
| 103 |
+
excluding those notices that do not pertain to any part of
|
| 104 |
+
the Derivative Works; and
|
| 105 |
+
|
| 106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 107 |
+
distribution, then any Derivative Works that You distribute must
|
| 108 |
+
include a readable copy of the attribution notices contained
|
| 109 |
+
within such NOTICE file, excluding those notices that do not
|
| 110 |
+
pertain to any part of the Derivative Works, in at least one
|
| 111 |
+
of the following places: within a NOTICE text file distributed
|
| 112 |
+
as part of the Derivative Works; within the Source form or
|
| 113 |
+
documentation, if provided along with the Derivative Works; or,
|
| 114 |
+
within a display generated by the Derivative Works, if and
|
| 115 |
+
wherever such third-party notices normally appear. The contents
|
| 116 |
+
of the NOTICE file are for informational purposes only and
|
| 117 |
+
do not modify the License. You may add Your own attribution
|
| 118 |
+
notices within Derivative Works that You distribute, alongside
|
| 119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 120 |
+
that such additional attribution notices cannot be construed
|
| 121 |
+
as modifying the License.
|
| 122 |
+
|
| 123 |
+
You may add Your own copyright statement to Your modifications and
|
| 124 |
+
may provide additional or different license terms and conditions
|
| 125 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 126 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 127 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 128 |
+
the conditions stated in this License.
|
| 129 |
+
|
| 130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 132 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 133 |
+
this License, without any additional terms or conditions.
|
| 134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 135 |
+
the terms of any separate license agreement you may have executed
|
| 136 |
+
with Licensor regarding such Contributions.
|
| 137 |
+
|
| 138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 140 |
+
except as required for reasonable and customary use in describing the
|
| 141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 142 |
+
|
| 143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 144 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 147 |
+
implied, including, without limitation, any warranties or conditions
|
| 148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 150 |
+
appropriateness of using or redistributing the Work and assume any
|
| 151 |
+
risks associated with Your exercise of permissions under this License.
|
| 152 |
+
|
| 153 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 154 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 155 |
+
unless required by applicable law (such as deliberate and grossly
|
| 156 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 157 |
+
liable to You for damages, including any direct, indirect, special,
|
| 158 |
+
incidental, or consequential damages of any character arising as a
|
| 159 |
+
result of this License or out of the use or inability to use the
|
| 160 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 161 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 162 |
+
other commercial damages or losses), even if such Contributor
|
| 163 |
+
has been advised of the possibility of such damages.
|
| 164 |
+
|
| 165 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 166 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 167 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 168 |
+
or other liability obligations and/or rights consistent with this
|
| 169 |
+
License. However, in accepting such obligations, You may act only
|
| 170 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 171 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 172 |
+
defend, and hold each Contributor harmless for any liability
|
| 173 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 174 |
+
of your accepting any such warranty or additional liability.
|
README.md
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Isaac Lab Evaluation Tasks
|
| 2 |
+
|
| 3 |
+
[](https://docs.isaacsim.omniverse.nvidia.com/latest/index.html)
|
| 4 |
+
[](https://isaac-sim.github.io/IsaacLab/main/index.html)
|
| 5 |
+
[](https://docs.python.org/3/whatsnew/3.11.html)
|
| 6 |
+
[](https://releases.ubuntu.com/20.04/)
|
| 7 |
+
[](https://github.com/isaac-sim/IsaacLab/actions/workflows/pre-commit.yaml)
|
| 8 |
+
[](https://opensource.org/license/apache-2-0)
|
| 9 |
+
|
| 10 |
+
## 📝 Overview
|
| 11 |
+
|
| 12 |
+
This repository introduces two new industrial manipulation tasks designed in [Isaac Lab](https://isaac-sim.github.io/IsaacLab/main/index.html), enabling simulating and evaluating manipulation policies (e.g. [Isaac GR00T N1](https://github.com/NVIDIA/Isaac-GR00T/tree/n1-release)) using a humanoid robot. The tasks are designed to simulate realistic industrial scenarios, including Nut Pouring and Exhaust Pipe Sorting.
|
| 13 |
+
It also provides benchmarking scripts for closed-loop evaluation of manipulation policy (i.e. Isaac GR00T N1) with post-trained checkpoints. These scripts enable developers to load prebuilt Isaac Lab environments and industrial tasks—such as nut pouring and pipe sorting—and run standardized benchmarks to quantitatively assess policy performance.
|
| 14 |
+
|
| 15 |
+
## 📦 Installation
|
| 16 |
+
|
| 17 |
+
For detailed installation instructions, see [Installation Guide](doc/installation.md).
|
| 18 |
+
|
| 19 |
+
## 🛠️ Evaluation Tasks
|
| 20 |
+
|
| 21 |
+
Two industrial tasks have been created in [Isaac Lab](https://isaac-sim.github.io/IsaacLab/main/index.html) to simulate robotic manipulation scenarios. The environments are set up with a humanoid robot (i.e. Fourier GR1-T2) positioned in front of several industrial objects on a table. This can include multi-step bi-manual tasks such as grasping, moving, sorting, or placing the objects into specific locations.
|
| 22 |
+
|
| 23 |
+
The robot is positioned upright, facing the table with both arms slightly bent and hands open. A first-person-view monocular RGB camera is mounted on its head to cover the workspace.
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
### Nut Pouring
|
| 27 |
+
|
| 28 |
+
<div align="center">
|
| 29 |
+
<img src="doc/gr-1_nut_pouring_policy.gif" width="600" alt="Nut Pouring Task">
|
| 30 |
+
<p><em>The robot picks up a beaker containing metallic nuts, pours one nut into a bowl, and places the bowl on a scale.</em></p>
|
| 31 |
+
</div>
|
| 32 |
+
|
| 33 |
+
The task is defined as successful if following criteria have been met.
|
| 34 |
+
1. The sorting beaker is placed in the sorting bin
|
| 35 |
+
2. The factory nut is in the sorting bowl
|
| 36 |
+
3. The sorting bowl is placed on the sorting scale
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
### Exhaust Pipe Sorting
|
| 40 |
+
|
| 41 |
+
<div align="center">
|
| 42 |
+
<img src="doc/gr-1_exhaust_pipe_demo.gif" width="600" alt="Exhaust Pipe Sorting Task">
|
| 43 |
+
<p><em>The robot picks up the blue exhaust pipe, transfers it to the other hand, and places the pipe into the blue bin.</em></p>
|
| 44 |
+
</div>
|
| 45 |
+
|
| 46 |
+
The task is defined as successful if following criteria has been met.
|
| 47 |
+
|
| 48 |
+
1. The blue exhaust pipe is placed in the correct position
|
| 49 |
+
|
| 50 |
+
|
| 51 |
+
## 📦 Downloading Datasets (Optional)
|
| 52 |
+
|
| 53 |
+
For dataset information and download instructions, see [Datasets Guide](doc/datasets.md).
|
| 54 |
+
|
| 55 |
+
## 🤖 Isaac GR00T N1 Policy Post Training (Optional)
|
| 56 |
+
|
| 57 |
+
For detailed post-training instructions including data conversion and model fine-tuning, see [Post Training Guide](doc/post-training.md).
|
| 58 |
+
|
| 59 |
+
|
| 60 |
+
## 📦 Downloading Checkpoints
|
| 61 |
+
|
| 62 |
+
For information on available pre-trained checkpoints and download instructions, see [Checkpoints Guide](doc/checkpoints.md).
|
| 63 |
+
|
| 64 |
+
## 📈 Policy Closed-loop Evaluation
|
| 65 |
+
|
| 66 |
+
For detailed evaluation instructions including benchmarking features and performance results, see [Evaluation Guide](doc/evaluation.md).
|
| 67 |
+
|
| 68 |
+
## Code formatting
|
| 69 |
+
|
| 70 |
+
We have a pre-commit template to automatically format your code.
|
| 71 |
+
To install pre-commit:
|
| 72 |
+
|
| 73 |
+
```bash
|
| 74 |
+
pip install pre-commit
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
Then you can run pre-commit with:
|
| 78 |
+
|
| 79 |
+
```bash
|
| 80 |
+
pre-commit run --all-files
|
| 81 |
+
```
|
| 82 |
+
|
| 83 |
+
## Troubleshooting
|
| 84 |
+
|
| 85 |
+
For common issues and solutions, see [Troubleshooting Guide](doc/troubleshooting.md).
|
| 86 |
+
|
| 87 |
+
## Contributing
|
| 88 |
+
For more details, see [CONTRIBUTING.md](CONTIRBUTING.md)
|
datasets/apple_pick_place_annotated.hdf5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cdd75e7702c0cdfd89ddb700f7a499c524c07359de86327ed45f40d401cad146
|
| 3 |
+
size 75382054
|
datasets/apple_pick_place_annotated/lerobot/data/chunk-000/episode_000000.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:11761bdb3d65d65b6ff05400746a5d6b2039d0a994fe4a0a52858cb12b4a459d
|
| 3 |
+
size 76346
|
datasets/apple_pick_place_annotated/lerobot/data/chunk-000/episode_000001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e63ba696a240161f86106fc0bf87b074c6621fc3dce2f7103301d09fd25761cb
|
| 3 |
+
size 79495
|
datasets/apple_pick_place_annotated/lerobot/data/chunk-000/episode_000002.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:722cc4d69d0b42db83938187f9d251e91255016279bd37f49a696fc735c1ed21
|
| 3 |
+
size 83052
|
datasets/apple_pick_place_annotated/lerobot/data/chunk-000/episode_000003.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6fa0c0a309d30b76e04e308dfc1f982ba7c730843060fac9417e3c74182f05e3
|
| 3 |
+
size 71125
|
datasets/apple_pick_place_annotated/lerobot/data/chunk-000/episode_000004.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:713bad84326eb62219e3b06562a563e626f2e9c5c3e069c4bc488ae6dd85aced
|
| 3 |
+
size 76048
|
datasets/apple_pick_place_annotated/lerobot/meta/episodes.jsonl
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"episode_index": 0, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 194}
|
| 2 |
+
{"episode_index": 1, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 201}
|
| 3 |
+
{"episode_index": 2, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 214}
|
| 4 |
+
{"episode_index": 3, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 181}
|
| 5 |
+
{"episode_index": 4, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 192}
|
datasets/apple_pick_place_annotated/lerobot/meta/info.json
ADDED
|
@@ -0,0 +1,158 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"codebase_version": "v2.0",
|
| 3 |
+
"robot_type": "g1",
|
| 4 |
+
"total_episodes": 5,
|
| 5 |
+
"total_frames": 982,
|
| 6 |
+
"total_tasks": 2,
|
| 7 |
+
"total_videos": 5,
|
| 8 |
+
"total_chunks": 0,
|
| 9 |
+
"chunks_size": 1000,
|
| 10 |
+
"fps": 20,
|
| 11 |
+
"splits": {
|
| 12 |
+
"train": "0:100"
|
| 13 |
+
},
|
| 14 |
+
"data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet",
|
| 15 |
+
"video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4",
|
| 16 |
+
"features": {
|
| 17 |
+
"observation.images.ego_view": {
|
| 18 |
+
"dtype": "video",
|
| 19 |
+
"shape": [
|
| 20 |
+
256,
|
| 21 |
+
256,
|
| 22 |
+
3
|
| 23 |
+
],
|
| 24 |
+
"names": [
|
| 25 |
+
"height",
|
| 26 |
+
"width",
|
| 27 |
+
"channel"
|
| 28 |
+
],
|
| 29 |
+
"video_info": {
|
| 30 |
+
"video.fps": 20.0,
|
| 31 |
+
"video.codec": "h264",
|
| 32 |
+
"video.pix_fmt": null,
|
| 33 |
+
"video.is_depth_map": false,
|
| 34 |
+
"has_audio": false
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"observation.state": {
|
| 38 |
+
"dtype": "float64",
|
| 39 |
+
"shape": [
|
| 40 |
+
28
|
| 41 |
+
],
|
| 42 |
+
"names": [
|
| 43 |
+
"motor_0",
|
| 44 |
+
"motor_1",
|
| 45 |
+
"motor_2",
|
| 46 |
+
"motor_3",
|
| 47 |
+
"motor_4",
|
| 48 |
+
"motor_5",
|
| 49 |
+
"motor_6",
|
| 50 |
+
"motor_7",
|
| 51 |
+
"motor_8",
|
| 52 |
+
"motor_9",
|
| 53 |
+
"motor_10",
|
| 54 |
+
"motor_11",
|
| 55 |
+
"motor_12",
|
| 56 |
+
"motor_13",
|
| 57 |
+
"motor_14",
|
| 58 |
+
"motor_15",
|
| 59 |
+
"motor_16",
|
| 60 |
+
"motor_17",
|
| 61 |
+
"motor_18",
|
| 62 |
+
"motor_19",
|
| 63 |
+
"motor_20",
|
| 64 |
+
"motor_21",
|
| 65 |
+
"motor_22",
|
| 66 |
+
"motor_23",
|
| 67 |
+
"motor_24",
|
| 68 |
+
"motor_25",
|
| 69 |
+
"motor_26",
|
| 70 |
+
"motor_27"
|
| 71 |
+
]
|
| 72 |
+
},
|
| 73 |
+
"action": {
|
| 74 |
+
"dtype": "float64",
|
| 75 |
+
"shape": [
|
| 76 |
+
28
|
| 77 |
+
],
|
| 78 |
+
"names": [
|
| 79 |
+
"motor_0",
|
| 80 |
+
"motor_1",
|
| 81 |
+
"motor_2",
|
| 82 |
+
"motor_3",
|
| 83 |
+
"motor_4",
|
| 84 |
+
"motor_5",
|
| 85 |
+
"motor_6",
|
| 86 |
+
"motor_7",
|
| 87 |
+
"motor_8",
|
| 88 |
+
"motor_9",
|
| 89 |
+
"motor_10",
|
| 90 |
+
"motor_11",
|
| 91 |
+
"motor_12",
|
| 92 |
+
"motor_13",
|
| 93 |
+
"motor_14",
|
| 94 |
+
"motor_15",
|
| 95 |
+
"motor_16",
|
| 96 |
+
"motor_17",
|
| 97 |
+
"motor_18",
|
| 98 |
+
"motor_19",
|
| 99 |
+
"motor_20",
|
| 100 |
+
"motor_21",
|
| 101 |
+
"motor_22",
|
| 102 |
+
"motor_23",
|
| 103 |
+
"motor_24",
|
| 104 |
+
"motor_25",
|
| 105 |
+
"motor_26",
|
| 106 |
+
"motor_27"
|
| 107 |
+
]
|
| 108 |
+
},
|
| 109 |
+
"timestamp": {
|
| 110 |
+
"dtype": "float64",
|
| 111 |
+
"shape": [
|
| 112 |
+
1
|
| 113 |
+
]
|
| 114 |
+
},
|
| 115 |
+
"annotation.human.action.task_description": {
|
| 116 |
+
"dtype": "int64",
|
| 117 |
+
"shape": [
|
| 118 |
+
1
|
| 119 |
+
]
|
| 120 |
+
},
|
| 121 |
+
"annotation.human.action.valid": {
|
| 122 |
+
"dtype": "int64",
|
| 123 |
+
"shape": [
|
| 124 |
+
1
|
| 125 |
+
]
|
| 126 |
+
},
|
| 127 |
+
"episode_index": {
|
| 128 |
+
"dtype": "int64",
|
| 129 |
+
"shape": [
|
| 130 |
+
1
|
| 131 |
+
]
|
| 132 |
+
},
|
| 133 |
+
"task_index": {
|
| 134 |
+
"dtype": "int64",
|
| 135 |
+
"shape": [
|
| 136 |
+
1
|
| 137 |
+
]
|
| 138 |
+
},
|
| 139 |
+
"index": {
|
| 140 |
+
"dtype": "int64",
|
| 141 |
+
"shape": [
|
| 142 |
+
1
|
| 143 |
+
]
|
| 144 |
+
},
|
| 145 |
+
"next.reward": {
|
| 146 |
+
"dtype": "float64",
|
| 147 |
+
"shape": [
|
| 148 |
+
1
|
| 149 |
+
]
|
| 150 |
+
},
|
| 151 |
+
"next.done": {
|
| 152 |
+
"dtype": "bool",
|
| 153 |
+
"shape": [
|
| 154 |
+
1
|
| 155 |
+
]
|
| 156 |
+
}
|
| 157 |
+
}
|
| 158 |
+
}
|
datasets/apple_pick_place_annotated/lerobot/meta/modality.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"state": {
|
| 3 |
+
"left_arm": {
|
| 4 |
+
"original_key": "observation.state",
|
| 5 |
+
"start": 0,
|
| 6 |
+
"end": 7
|
| 7 |
+
},
|
| 8 |
+
"right_arm": {
|
| 9 |
+
"original_key": "observation.state",
|
| 10 |
+
"start": 7,
|
| 11 |
+
"end": 14
|
| 12 |
+
},
|
| 13 |
+
"left_hand": {
|
| 14 |
+
"original_key": "observation.state",
|
| 15 |
+
"start": 14,
|
| 16 |
+
"end": 21
|
| 17 |
+
},
|
| 18 |
+
"right_hand": {
|
| 19 |
+
"original_key": "observation.state",
|
| 20 |
+
"start": 21,
|
| 21 |
+
"end": 28
|
| 22 |
+
}
|
| 23 |
+
},
|
| 24 |
+
"action": {
|
| 25 |
+
"left_arm": {
|
| 26 |
+
"start": 0,
|
| 27 |
+
"end": 7
|
| 28 |
+
},
|
| 29 |
+
"right_arm": {
|
| 30 |
+
"start": 7,
|
| 31 |
+
"end": 14
|
| 32 |
+
},
|
| 33 |
+
"left_hand": {
|
| 34 |
+
"start": 14,
|
| 35 |
+
"end": 21
|
| 36 |
+
},
|
| 37 |
+
"right_hand": {
|
| 38 |
+
"start": 21,
|
| 39 |
+
"end": 28
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
"video": {
|
| 43 |
+
"ego_view": {
|
| 44 |
+
"original_key": "observation.images.ego_view"
|
| 45 |
+
}
|
| 46 |
+
},
|
| 47 |
+
"annotation": {
|
| 48 |
+
"human.action.task_description": {},
|
| 49 |
+
"human.validity": {}
|
| 50 |
+
}
|
| 51 |
+
}
|
datasets/apple_pick_place_annotated/lerobot/meta/tasks.jsonl
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"task_index": 1, "task": "valid"}
|
| 2 |
+
{"task_index": 5, "task": "Pick up the apple and place it on the plate."}
|
datasets/apple_pick_place_generated_small.hdf5
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:606a51ec98856f200d952da51f61c437c5acc3571f64a7a1bc2192d1c7560197
|
| 3 |
+
size 235878882
|
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000000.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:128026bb0e51ae2819fa4c35f11a726932b621a9a8b0244106dc4385e293e955
|
| 3 |
+
size 77806
|
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000001.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3a0b3a214b458ffb02d07f24826ddbcbf946113d1ffd11e50faafcd6ca628e6d
|
| 3 |
+
size 77758
|
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000002.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0345813f04eabaadec102aefd853da4276ed43093f91f7e9e06069b151e222e0
|
| 3 |
+
size 80867
|
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000003.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a5165345ea31edaffffb6225dbeafbc8a0e25c50254ca99e5ceefdb40fa1518
|
| 3 |
+
size 80906
|
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000004.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:322d874dc1a5e3392c452d547a6117435a8612236abd5dba16a70ccbaa4b62a3
|
| 3 |
+
size 84703
|
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000005.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:301e1dcca6d872dfd42aafed64835daf25b3243cd018f102bd80616318b0ba42
|
| 3 |
+
size 77764
|
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000006.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b7cac628b4a07db1445547bf72d80c42ce2cf917c06602404153077afcbab62f
|
| 3 |
+
size 80899
|
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000007.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8dc81dbe63cba23b7ceb9378cd9f80829759bd6d2140078b831460e2951cbedc
|
| 3 |
+
size 80847
|
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000008.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1685d6486e7f0013dc9fe13cb732092be73f8e1f6153785a47fbe3ad53e74145
|
| 3 |
+
size 77696
|
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000009.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e1ba4e767b900611f7d12663745707a087806d8eb283d4f9aa97d2a4d1db05a
|
| 3 |
+
size 77732
|
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000010.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:11fd792c98e98dbee1cd4ff1f6f01cb2f42e99e5022dcddd9fef3f9432fd8cab
|
| 3 |
+
size 77712
|
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000011.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5ed7217a4747a87c705ca202a6314105b0a514e5a5e3e1545b873949e739db4c
|
| 3 |
+
size 77724
|
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000012.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:78cd97fdba9707da9a7dd110d9fb49c2d32bdcbfca1f21f00eeddc9de59cdb6f
|
| 3 |
+
size 77859
|
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000013.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aac73484946c98a6e6d2ae6da3da673e56d1286a03002880add9dee9093b38ec
|
| 3 |
+
size 77782
|
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000014.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d707b90baf50a03626c6f39c0fc346fba1b202d30e9d702de7d4ee2e59d07490
|
| 3 |
+
size 77796
|
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000015.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d9508065db0b743b1a53cc1ddfed97a1466576706adedfd08bc36fca27366b89
|
| 3 |
+
size 77742
|
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000016.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8bd4c0c1099b579e5cb6e85eba78cd188304a0509ef558b87f8b4367a0c70c6b
|
| 3 |
+
size 80857
|
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000017.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:07ac24e6c037af51c5c77f2e9f92d3ca4b2b549f060c548a9baf53ab348cd4a7
|
| 3 |
+
size 80919
|
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000018.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:98a566a7ecbe3b564b8832642662b0082da65794124d0f30b161e307d920214a
|
| 3 |
+
size 80976
|
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000019.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dbe49234ba52f02d9b28e2f52e8946d9310b57db9e8b334e978f09d068a33153
|
| 3 |
+
size 80839
|
datasets/apple_pick_place_generated_small/lerobot/data/chunk-000/episode_000020.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4ce903c02f41deec03464a1b6c59616cf1d61d88a11cd1d052ce8f99493d4621
|
| 3 |
+
size 80905
|
datasets/apple_pick_place_generated_small/lerobot/meta/episodes.jsonl
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"episode_index": 0, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 198}
|
| 2 |
+
{"episode_index": 1, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 198}
|
| 3 |
+
{"episode_index": 2, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 205}
|
| 4 |
+
{"episode_index": 3, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 205}
|
| 5 |
+
{"episode_index": 4, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 218}
|
| 6 |
+
{"episode_index": 5, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 198}
|
| 7 |
+
{"episode_index": 6, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 205}
|
| 8 |
+
{"episode_index": 7, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 205}
|
| 9 |
+
{"episode_index": 8, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 198}
|
| 10 |
+
{"episode_index": 9, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 198}
|
| 11 |
+
{"episode_index": 10, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 198}
|
| 12 |
+
{"episode_index": 11, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 198}
|
| 13 |
+
{"episode_index": 12, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 198}
|
| 14 |
+
{"episode_index": 13, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 198}
|
| 15 |
+
{"episode_index": 14, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 198}
|
| 16 |
+
{"episode_index": 15, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 198}
|
| 17 |
+
{"episode_index": 16, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 205}
|
| 18 |
+
{"episode_index": 17, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 205}
|
| 19 |
+
{"episode_index": 18, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 205}
|
| 20 |
+
{"episode_index": 19, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 205}
|
| 21 |
+
{"episode_index": 20, "tasks": ["valid", "Pick up the apple and place it on the plate."], "length": 205}
|
datasets/apple_pick_place_generated_small/lerobot/meta/info.json
ADDED
|
@@ -0,0 +1,158 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"codebase_version": "v2.0",
|
| 3 |
+
"robot_type": "g1",
|
| 4 |
+
"total_episodes": 21,
|
| 5 |
+
"total_frames": 4241,
|
| 6 |
+
"total_tasks": 2,
|
| 7 |
+
"total_videos": 21,
|
| 8 |
+
"total_chunks": 0,
|
| 9 |
+
"chunks_size": 1000,
|
| 10 |
+
"fps": 20,
|
| 11 |
+
"splits": {
|
| 12 |
+
"train": "0:100"
|
| 13 |
+
},
|
| 14 |
+
"data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet",
|
| 15 |
+
"video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4",
|
| 16 |
+
"features": {
|
| 17 |
+
"observation.images.ego_view": {
|
| 18 |
+
"dtype": "video",
|
| 19 |
+
"shape": [
|
| 20 |
+
256,
|
| 21 |
+
256,
|
| 22 |
+
3
|
| 23 |
+
],
|
| 24 |
+
"names": [
|
| 25 |
+
"height",
|
| 26 |
+
"width",
|
| 27 |
+
"channel"
|
| 28 |
+
],
|
| 29 |
+
"video_info": {
|
| 30 |
+
"video.fps": 20.0,
|
| 31 |
+
"video.codec": "h264",
|
| 32 |
+
"video.pix_fmt": null,
|
| 33 |
+
"video.is_depth_map": false,
|
| 34 |
+
"has_audio": false
|
| 35 |
+
}
|
| 36 |
+
},
|
| 37 |
+
"observation.state": {
|
| 38 |
+
"dtype": "float64",
|
| 39 |
+
"shape": [
|
| 40 |
+
28
|
| 41 |
+
],
|
| 42 |
+
"names": [
|
| 43 |
+
"motor_0",
|
| 44 |
+
"motor_1",
|
| 45 |
+
"motor_2",
|
| 46 |
+
"motor_3",
|
| 47 |
+
"motor_4",
|
| 48 |
+
"motor_5",
|
| 49 |
+
"motor_6",
|
| 50 |
+
"motor_7",
|
| 51 |
+
"motor_8",
|
| 52 |
+
"motor_9",
|
| 53 |
+
"motor_10",
|
| 54 |
+
"motor_11",
|
| 55 |
+
"motor_12",
|
| 56 |
+
"motor_13",
|
| 57 |
+
"motor_14",
|
| 58 |
+
"motor_15",
|
| 59 |
+
"motor_16",
|
| 60 |
+
"motor_17",
|
| 61 |
+
"motor_18",
|
| 62 |
+
"motor_19",
|
| 63 |
+
"motor_20",
|
| 64 |
+
"motor_21",
|
| 65 |
+
"motor_22",
|
| 66 |
+
"motor_23",
|
| 67 |
+
"motor_24",
|
| 68 |
+
"motor_25",
|
| 69 |
+
"motor_26",
|
| 70 |
+
"motor_27"
|
| 71 |
+
]
|
| 72 |
+
},
|
| 73 |
+
"action": {
|
| 74 |
+
"dtype": "float64",
|
| 75 |
+
"shape": [
|
| 76 |
+
28
|
| 77 |
+
],
|
| 78 |
+
"names": [
|
| 79 |
+
"motor_0",
|
| 80 |
+
"motor_1",
|
| 81 |
+
"motor_2",
|
| 82 |
+
"motor_3",
|
| 83 |
+
"motor_4",
|
| 84 |
+
"motor_5",
|
| 85 |
+
"motor_6",
|
| 86 |
+
"motor_7",
|
| 87 |
+
"motor_8",
|
| 88 |
+
"motor_9",
|
| 89 |
+
"motor_10",
|
| 90 |
+
"motor_11",
|
| 91 |
+
"motor_12",
|
| 92 |
+
"motor_13",
|
| 93 |
+
"motor_14",
|
| 94 |
+
"motor_15",
|
| 95 |
+
"motor_16",
|
| 96 |
+
"motor_17",
|
| 97 |
+
"motor_18",
|
| 98 |
+
"motor_19",
|
| 99 |
+
"motor_20",
|
| 100 |
+
"motor_21",
|
| 101 |
+
"motor_22",
|
| 102 |
+
"motor_23",
|
| 103 |
+
"motor_24",
|
| 104 |
+
"motor_25",
|
| 105 |
+
"motor_26",
|
| 106 |
+
"motor_27"
|
| 107 |
+
]
|
| 108 |
+
},
|
| 109 |
+
"timestamp": {
|
| 110 |
+
"dtype": "float64",
|
| 111 |
+
"shape": [
|
| 112 |
+
1
|
| 113 |
+
]
|
| 114 |
+
},
|
| 115 |
+
"annotation.human.action.task_description": {
|
| 116 |
+
"dtype": "int64",
|
| 117 |
+
"shape": [
|
| 118 |
+
1
|
| 119 |
+
]
|
| 120 |
+
},
|
| 121 |
+
"annotation.human.action.valid": {
|
| 122 |
+
"dtype": "int64",
|
| 123 |
+
"shape": [
|
| 124 |
+
1
|
| 125 |
+
]
|
| 126 |
+
},
|
| 127 |
+
"episode_index": {
|
| 128 |
+
"dtype": "int64",
|
| 129 |
+
"shape": [
|
| 130 |
+
1
|
| 131 |
+
]
|
| 132 |
+
},
|
| 133 |
+
"task_index": {
|
| 134 |
+
"dtype": "int64",
|
| 135 |
+
"shape": [
|
| 136 |
+
1
|
| 137 |
+
]
|
| 138 |
+
},
|
| 139 |
+
"index": {
|
| 140 |
+
"dtype": "int64",
|
| 141 |
+
"shape": [
|
| 142 |
+
1
|
| 143 |
+
]
|
| 144 |
+
},
|
| 145 |
+
"next.reward": {
|
| 146 |
+
"dtype": "float64",
|
| 147 |
+
"shape": [
|
| 148 |
+
1
|
| 149 |
+
]
|
| 150 |
+
},
|
| 151 |
+
"next.done": {
|
| 152 |
+
"dtype": "bool",
|
| 153 |
+
"shape": [
|
| 154 |
+
1
|
| 155 |
+
]
|
| 156 |
+
}
|
| 157 |
+
}
|
| 158 |
+
}
|
datasets/apple_pick_place_generated_small/lerobot/meta/modality.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"state": {
|
| 3 |
+
"left_arm": {
|
| 4 |
+
"original_key": "observation.state",
|
| 5 |
+
"start": 0,
|
| 6 |
+
"end": 7
|
| 7 |
+
},
|
| 8 |
+
"right_arm": {
|
| 9 |
+
"original_key": "observation.state",
|
| 10 |
+
"start": 7,
|
| 11 |
+
"end": 14
|
| 12 |
+
},
|
| 13 |
+
"left_hand": {
|
| 14 |
+
"original_key": "observation.state",
|
| 15 |
+
"start": 14,
|
| 16 |
+
"end": 21
|
| 17 |
+
},
|
| 18 |
+
"right_hand": {
|
| 19 |
+
"original_key": "observation.state",
|
| 20 |
+
"start": 21,
|
| 21 |
+
"end": 28
|
| 22 |
+
}
|
| 23 |
+
},
|
| 24 |
+
"action": {
|
| 25 |
+
"left_arm": {
|
| 26 |
+
"start": 0,
|
| 27 |
+
"end": 7
|
| 28 |
+
},
|
| 29 |
+
"right_arm": {
|
| 30 |
+
"start": 7,
|
| 31 |
+
"end": 14
|
| 32 |
+
},
|
| 33 |
+
"left_hand": {
|
| 34 |
+
"start": 14,
|
| 35 |
+
"end": 21
|
| 36 |
+
},
|
| 37 |
+
"right_hand": {
|
| 38 |
+
"start": 21,
|
| 39 |
+
"end": 28
|
| 40 |
+
}
|
| 41 |
+
},
|
| 42 |
+
"video": {
|
| 43 |
+
"ego_view": {
|
| 44 |
+
"original_key": "observation.images.ego_view"
|
| 45 |
+
}
|
| 46 |
+
},
|
| 47 |
+
"annotation": {
|
| 48 |
+
"human.action.task_description": {},
|
| 49 |
+
"human.validity": {}
|
| 50 |
+
}
|
| 51 |
+
}
|