diff --git a/Real_world/GelSight_mini/empty_can_selection/README.md b/Real_world/GelSight_mini/empty_can_selection/README.md new file mode 100644 index 0000000000000000000000000000000000000000..2c48024698c34471a4874eae892f32da6ee0c073 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/README.md @@ -0,0 +1,42 @@ +# OpenViTac real-world GelSight Mini: empty_can_selection + +LeRobot v2.1 conversion of real Franka/GelSight Mini demonstrations. + +## Instructions + +- Find the empty can by touch and place it in the basket. + +## Sources + +- `/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/ces_gelsight` -> `Find the empty can by touch and place it in the basket.` + +## Features + +- `observation.state`: `[q0..q6, measured_gripper]`, 8 float32 values. +- `observation.joint_position`: absolute Franka joints, 7 values, radians. +- `observation.eef_pose_quaternion`: `[x,y,z,qx,qy,qz,qw]`, 7 values. +- `observation.eef_pose_rotvec`: `[x,y,z,rx,ry,rz]`, 6 values; absolute rotation vector. +- `observation.eef_rotation_matrix`: absolute 3x3 rotation, row-major, 9 values. +- `observation.gripper`: measured absolute Franka Hand opening state in metres, 1 value. +- `action`: unchanged source `[dx,dy,dz,drot_x,drot_y,drot_z,gripper_target_position]`. + +The action gripper value is the commanded absolute target. It is not replaced +with the next measured gripper state during conversion. + +## Visual observations + +Four synchronized per-episode MP4 streams are stored at 30 FPS: head and +wrist at 640x480, and left/right GelSight tactile frames at 224x224. The +converter does not apply an additional tactile resize. + +See `meta/dataset_metadata.json` for semantics and +`meta/conversion_manifest.jsonl` for output-to-source episode mapping. + +## Explicitly excluded source episodes + +- `/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/ces_gelsight/000046`: states.npz action has shape (0,) while the episode contains state/image frames + +These raw source directories were not modified. They are excluded because the +canonical policy dataset requires a valid action for every frame. See +`meta/exclusion_manifest.jsonl` for machine-readable details. + diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000000.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000000.parquet new file mode 100644 index 0000000000000000000000000000000000000000..2266eea896f17a207051043f2ee17195112c4fc4 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000000.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f51eddf0a886c1deea8a190bdad4d9e40a987b05c99724fb3df19f2fbb0c3224 +size 153262 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000001.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000001.parquet new file mode 100644 index 0000000000000000000000000000000000000000..974866c09a1eddeaf101fc35b04be965aa458a9f --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000001.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d5441b0bf65fd347c7c124843f43b152547adcec71acd5b5fae5aba54132a9c +size 154898 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000002.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000002.parquet new file mode 100644 index 0000000000000000000000000000000000000000..baf90e160e3091feec837112703686b7660a4306 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000002.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:348cc637f5449b7ce3e8a9e3808d5975dcd37b168a1c1644ef0f6c5293cfcbc7 +size 160385 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000003.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000003.parquet new file mode 100644 index 0000000000000000000000000000000000000000..2f1851c92a35df27a2916638e425af5f066fa499 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000003.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f00b3eb58cffe4c4761e9ef08610a39370c2a34972a07c589c10a46fdf3a71a7 +size 152301 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000004.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000004.parquet new file mode 100644 index 0000000000000000000000000000000000000000..d3769696da342ae3bf7e28d05d9df2cc79f418f1 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000004.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:79a0c8bdec3e2800c91d73e354896d588f8a6d4a3f8642315a15e66fd40e5d26 +size 147814 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000005.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000005.parquet new file mode 100644 index 0000000000000000000000000000000000000000..eae9fe8ada8a7c83a3b0a1992570209d356e0f2c --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000005.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:813214de7f2ad12cf3bcb24033835c9192c7b3dba95421a95e114d93bdaea656 +size 148299 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000006.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000006.parquet new file mode 100644 index 0000000000000000000000000000000000000000..5bafc0ddaa2843a806ea14aea59e84f9954976ca --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000006.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a99334af142b90d0c0539b7baf50414f9b1fe9b4c35a60878b74eeb457402f89 +size 152039 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000007.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000007.parquet new file mode 100644 index 0000000000000000000000000000000000000000..3f00b4db7b1331d3239cd3c470e53774b206867e --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000007.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6030ca15e40a2df8221ce141c40d9898cc19f4ca7526ece27602ae5dcdb9cf41 +size 159565 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000008.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000008.parquet new file mode 100644 index 0000000000000000000000000000000000000000..087f05377987807d1fbf2bc1a407812b097bb336 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000008.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37815331e14d4763fe1e54b03cfb496427a5ff1c11324deb940d704e74e375fd +size 156081 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000009.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000009.parquet new file mode 100644 index 0000000000000000000000000000000000000000..7342beef0ebc80f6f84f6b170228257528090c5b --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000009.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27a3c9f4c5f10adad4cdfa5c751e78dde69fc8f58e3f38bd0ed9cc8dd579145c +size 156039 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000010.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000010.parquet new file mode 100644 index 0000000000000000000000000000000000000000..41a878fd685caf712fe987aea10cea14e25b0db5 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000010.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:93a094bc5bf5b89cf8932e3a55947b81154a1c171a711e7f672e25104e094702 +size 152457 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000011.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000011.parquet new file mode 100644 index 0000000000000000000000000000000000000000..9693812606246c427056b41f014549fab70f3950 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000011.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ee743938fb29df3ee3c05843f41fd9047c7a2821dd88a90c1d85d67fa2e08ca1 +size 146956 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000012.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000012.parquet new file mode 100644 index 0000000000000000000000000000000000000000..7c3d872e3726879776e40e9769446378692d87cf --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000012.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:96cb7491c90d7b54f6bd9c6f08e46d43c0e591bcbe49857d6812c21d59b7ebaf +size 151674 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000013.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000013.parquet new file mode 100644 index 0000000000000000000000000000000000000000..1da6383bcdd231e0fd230cc1155ec20dd89a7ab3 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000013.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:81c088def3e3911dc98f13b4bfda48ad3c9893896df913ffd03d69713cb8b4be +size 164034 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000014.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000014.parquet new file mode 100644 index 0000000000000000000000000000000000000000..e387d059f1614e5baf9352c06aa92642e971d777 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000014.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec9aa0ecb745418fb0ec8764df8d1b77a756e9637deec2ffac7dd033c7553983 +size 151223 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000015.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000015.parquet new file mode 100644 index 0000000000000000000000000000000000000000..c033b87058192dc47d600c07152e3a9c937b26de --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000015.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:21e5818f3bf6ca4efafd54c7fc1d59fdc1fafed0e231a63d5e60e3a939e9626a +size 159157 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000016.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000016.parquet new file mode 100644 index 0000000000000000000000000000000000000000..8d52776e7ecff9dae2af9c187b4d6c64f3e89a1c --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000016.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2bcbf834eda4b4945a18523d816e47504ff4ae7929219b1e7f829e6fba6dd448 +size 161802 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000017.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000017.parquet new file mode 100644 index 0000000000000000000000000000000000000000..343b9629fa29f2ba870293ec27c55fbf06291c59 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000017.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:61d4f838a1cd41c368c1d1bad123700e27a43dad1650a05fd5cdb5de7d6dd6f1 +size 156004 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000018.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000018.parquet new file mode 100644 index 0000000000000000000000000000000000000000..b00a4aee0087453bc06809a3a22c8cdb35818fd3 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000018.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:97c402a08064e57a2c4aaf1b5b5d38cc7b6a260dbe33917f71262e916443a245 +size 167756 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000019.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000019.parquet new file mode 100644 index 0000000000000000000000000000000000000000..63909d256fd2e768c5f6fed6c6676629eed461de --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000019.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9abb32f6c9574cebf0ab72908f1a3e259bcb8608b76550c354d2f19430d0abb3 +size 154268 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000020.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000020.parquet new file mode 100644 index 0000000000000000000000000000000000000000..7396863a63981ca5ea8404b96aaba90ceeb6d2ba --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000020.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c8852e5680fb16e50e4e09f9e149270bb5b338d14bd53407725cee270e83a351 +size 160176 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000021.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000021.parquet new file mode 100644 index 0000000000000000000000000000000000000000..db8bf6c5558a73dd30065172af5e3a7ab7755894 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000021.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:81a71104388365caeff54d1f01c21a415d6469e52ca4765d6630b5498736269b +size 155272 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000022.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000022.parquet new file mode 100644 index 0000000000000000000000000000000000000000..b536c97396c34322bd26bcde01ffae1a6532fb57 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000022.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:31edb05cbdcb1c92eb8c8b03fafdc9333ad2ab18ba7a3548d5c8bc1ed50a3233 +size 166818 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000023.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000023.parquet new file mode 100644 index 0000000000000000000000000000000000000000..78bc570e34a5380a87f874186af2911281cc1606 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000023.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:87a9e0a7190bd56c2976ef381cdc2ee57be11cfe36d183387f7ca90caa67c897 +size 151696 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000024.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000024.parquet new file mode 100644 index 0000000000000000000000000000000000000000..3014c787a35aa1e8d031b19593e959290d86835d --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000024.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9f8b93ad06c9af2316e8217ac2abe85bfda3bbf284be5432ebeb892131339b48 +size 158995 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000025.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000025.parquet new file mode 100644 index 0000000000000000000000000000000000000000..eefe46fcc7901cdf3e14a2c01de7f1688d527500 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000025.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:605fdbd3498642a5a7c6dc1ebbc4dbbd58e1ad93365a166fe7f4a2fdacd7e7f1 +size 150988 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000026.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000026.parquet new file mode 100644 index 0000000000000000000000000000000000000000..d3e081857f2105e49e3414dafb7f82801684706c --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000026.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08ec8d34f78f3d4a63785b516b3f43d3b5208e14f0b1e07e530804488070ad68 +size 149929 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000027.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000027.parquet new file mode 100644 index 0000000000000000000000000000000000000000..b853d54dca67c4993b7b1a0ac93bdf989edb77e3 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000027.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:acae014e0b89cdf4726c9fb9637a6fbc81139db260a4b62cb2729f11ed0e8c57 +size 160747 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000028.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000028.parquet new file mode 100644 index 0000000000000000000000000000000000000000..f0b516ac87ab53c125181f2fbb29aaab391c60eb --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000028.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6bdb7832a67d9b0234828bc8cbbd466783f0d02ff49a8859fda54207c6a46744 +size 155354 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000029.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000029.parquet new file mode 100644 index 0000000000000000000000000000000000000000..81478d973d58ffbe39502c69f578245d18d51649 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000029.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:243393a900beedfcca976e6d0078cb30acf1315042f26f173698a0b40c8a63a5 +size 161176 diff --git a/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000030.parquet b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000030.parquet new file mode 100644 index 0000000000000000000000000000000000000000..fc6ac17ea09017d1d7fb195488ae1618000850da --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/data/chunk-000/episode_000030.parquet @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:20967970b35a2bd22fcf7aeeabf559643de157bbcfdd6e26fc7361eccc0dc73a +size 150021 diff --git a/Real_world/GelSight_mini/empty_can_selection/meta/conversion_manifest.jsonl b/Real_world/GelSight_mini/empty_can_selection/meta/conversion_manifest.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..809b00a4262e9d39e258329758f785fc9b7b68c8 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/meta/conversion_manifest.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fc9f26d6319377d538a7589be60d53493eaa925f1747a820c21660b23801bb01 +size 31076 diff --git a/Real_world/GelSight_mini/empty_can_selection/meta/dataset_metadata.json b/Real_world/GelSight_mini/empty_can_selection/meta/dataset_metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..31034cfdf4a384d453ced181d74fe6e6acf23d50 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/meta/dataset_metadata.json @@ -0,0 +1,106 @@ +{ + "dataset": "OpenViTac Real_world/GelSight_mini/empty_can_selection", + "batch_key": "empty_can_selection", + "source_directories": [ + "/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/ces_gelsight" + ], + "published_task": "empty_can_selection", + "instruction": "Find the empty can by touch and place it in the basket.", + "instructions": [ + "Find the empty can by touch and place it in the basket." + ], + "instruction_by_source": { + "ces_gelsight": "Find the empty can by touch and place it in the basket." + }, + "excluded_episodes": [ + { + "batch_key": "empty_can_selection", + "source_task": "ces_gelsight", + "source_episode_id": "000046", + "source_episode_path": "/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/ces_gelsight/000046", + "reason": "states.npz action has shape (0,) while the episode contains state/image frames", + "policy": "excluded_from_policy_dataset", + "observed_state_length": 646, + "observed_action_shape": [ + 0 + ], + "source_data_modified": false + } + ], + "fps": 30, + "robot": "Franka", + "gripper": "Franka Hand", + "tactile_sensor": "GelSight Mini", + "image_storage": "LeRobot video features; one MP4 per episode and camera", + "eef_frame": "robot_base", + "eef_quaternion_order": "xyzw", + "eef_rotation_matrix_shape": [ + 3, + 3 + ], + "eef_rotation_matrix_flattening": "row_major", + "eef_rotvec_semantics": "absolute axis-angle rotation vector derived from the absolute EEF rotation matrix", + "action": { + "source": "states.npz[action]", + "copied_without_value_transformation": true, + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ], + "first_six_semantics": "recorded controller-space delta translation and delta rotation-vector command", + "gripper_semantics": "commanded absolute gripper target position", + "gripper_is_measured_state": false, + "optional_training_note": "A downstream pipeline may explicitly use observation.gripper[t+1], but this dataset does not replace action[6]." + }, + "observation_gripper": { + "source": "states.npz[gripper_q]", + "semantics": "measured absolute Franka Hand opening state in metres" + }, + "cameras": { + "observation.images.head": { + "source": "main/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.wrist": { + "source": "wrist/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.tactile_left": { + "source": "tactile/left/rectify", + "stored_size_wh": [ + 224, + 224 + ] + }, + "observation.images.tactile_right": { + "source": "tactile/right/rectify", + "stored_size_wh": [ + 224, + 224 + ] + } + }, + "gelsight_tactile_provenance": { + "source_sensor": "GelSight Mini", + "stored_size_wh": [ + 224, + 224 + ], + "resize_stage": "collection_time", + "resize_method": "OpenCV INTER_AREA", + "aspect_ratio_preserved": false, + "native_rectify_frames_available": false, + "conversion_applies_second_resize": false + } +} diff --git a/Real_world/GelSight_mini/empty_can_selection/meta/episodes.jsonl b/Real_world/GelSight_mini/empty_can_selection/meta/episodes.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..9d51dcc2f1d4873db3423d72e4f6762367570347 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/meta/episodes.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3e30c77d640e9a85fa6e87348f97add4f5bd243535d40255c10315e2eb888f08 +size 10583 diff --git a/Real_world/GelSight_mini/empty_can_selection/meta/episodes_stats.jsonl b/Real_world/GelSight_mini/empty_can_selection/meta/episodes_stats.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..0534f39c906c62b26dd50d590737f6831ba77ad8 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/meta/episodes_stats.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:617852ef76dbba2ec775eeac3c9a52e564c2a7ac7d0e2b3541f14cd162988439 +size 619362 diff --git a/Real_world/GelSight_mini/empty_can_selection/meta/exclusion_manifest.jsonl b/Real_world/GelSight_mini/empty_can_selection/meta/exclusion_manifest.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..d5a0d993f1bfd340706eb2208b9275f79c06f133 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/meta/exclusion_manifest.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dde604905e0149ada07e00e26a94d6388d2087e04eb42d4db1b4f09fa62505e9 +size 429 diff --git a/Real_world/GelSight_mini/empty_can_selection/meta/info.json b/Real_world/GelSight_mini/empty_can_selection/meta/info.json new file mode 100644 index 0000000000000000000000000000000000000000..80f51e356f061b95c1ad58d0fc3d7476c9e61e57 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/meta/info.json @@ -0,0 +1,246 @@ +{ + "codebase_version": "v2.1", + "robot_type": "franka", + "total_episodes": 99, + "total_frames": 47201, + "total_tasks": 1, + "total_videos": 396, + "total_chunks": 1, + "chunks_size": 1000, + "fps": 30, + "splits": { + "train": "0:99" + }, + "data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet", + "video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4", + "features": { + "observation.images.head": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.wrist": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_left": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_right": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.state": { + "dtype": "float32", + "shape": [ + 8 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6", + "gripper_measured" + ] + }, + "observation.joint_position": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6" + ] + }, + "observation.eef_pose_quaternion": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "x", + "y", + "z", + "qx", + "qy", + "qz", + "qw" + ] + }, + "observation.eef_pose_rotvec": { + "dtype": "float32", + "shape": [ + 6 + ], + "names": [ + "x", + "y", + "z", + "rx", + "ry", + "rz" + ] + }, + "observation.eef_rotation_matrix": { + "dtype": "float32", + "shape": [ + 9 + ], + "names": [ + "r00", + "r01", + "r02", + "r10", + "r11", + "r12", + "r20", + "r21", + "r22" + ] + }, + "observation.gripper": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": [ + "gripper_measured" + ] + }, + "action": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ] + }, + "timestamp": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": null + }, + "frame_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "episode_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "task_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + } + } +} \ No newline at end of file diff --git a/Real_world/GelSight_mini/empty_can_selection/meta/tasks.jsonl b/Real_world/GelSight_mini/empty_can_selection/meta/tasks.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..6185217ca0a8b3ffbbb85780ccc2abdebf0626d9 --- /dev/null +++ b/Real_world/GelSight_mini/empty_can_selection/meta/tasks.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4349e7d5157792c15d4d57721c389b6909a94833349cd1ec2151cdeb8ce1ff2e +size 85 diff --git a/Real_world/GelSight_mini/gear_assembly/README.md b/Real_world/GelSight_mini/gear_assembly/README.md new file mode 100644 index 0000000000000000000000000000000000000000..bcabe8ac26acc7a4a8dadef0335b6dd9b043f371 --- /dev/null +++ b/Real_world/GelSight_mini/gear_assembly/README.md @@ -0,0 +1,34 @@ +# OpenViTac real-world GelSight Mini: gear_assembly + +LeRobot v2.1 conversion of real Franka/GelSight Mini demonstrations. + +## Instructions + +- Pick up the red gear, assemble it onto the base, and rotate it to turn the gear pair. + +## Sources + +- `/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/turn_gear_gelsight` -> `Pick up the red gear, assemble it onto the base, and rotate it to turn the gear pair.` + +## Features + +- `observation.state`: `[q0..q6, measured_gripper]`, 8 float32 values. +- `observation.joint_position`: absolute Franka joints, 7 values, radians. +- `observation.eef_pose_quaternion`: `[x,y,z,qx,qy,qz,qw]`, 7 values. +- `observation.eef_pose_rotvec`: `[x,y,z,rx,ry,rz]`, 6 values; absolute rotation vector. +- `observation.eef_rotation_matrix`: absolute 3x3 rotation, row-major, 9 values. +- `observation.gripper`: measured absolute Franka Hand opening state in metres, 1 value. +- `action`: unchanged source `[dx,dy,dz,drot_x,drot_y,drot_z,gripper_target_position]`. + +The action gripper value is the commanded absolute target. It is not replaced +with the next measured gripper state during conversion. + +## Visual observations + +Four synchronized per-episode MP4 streams are stored at 30 FPS: head and +wrist at 640x480, and left/right GelSight tactile frames at 224x224. The +converter does not apply an additional tactile resize. + +See `meta/dataset_metadata.json` for semantics and +`meta/conversion_manifest.jsonl` for output-to-source episode mapping. + diff --git a/Real_world/GelSight_mini/gear_assembly/meta/conversion_manifest.jsonl b/Real_world/GelSight_mini/gear_assembly/meta/conversion_manifest.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..aac06352da9753fb3cf8bf9dd07868b14d629f0f --- /dev/null +++ b/Real_world/GelSight_mini/gear_assembly/meta/conversion_manifest.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:429177e43504ced516664642fe9444e5da069abdf0e582410c7cb0a04259c0ad +size 70090 diff --git a/Real_world/GelSight_mini/gear_assembly/meta/dataset_metadata.json b/Real_world/GelSight_mini/gear_assembly/meta/dataset_metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..f85e5a9c623c9ba10410c3268419b52d544b11eb --- /dev/null +++ b/Real_world/GelSight_mini/gear_assembly/meta/dataset_metadata.json @@ -0,0 +1,92 @@ +{ + "dataset": "OpenViTac Real_world/GelSight_mini/gear_assembly", + "batch_key": "gear_assembly", + "source_directories": [ + "/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/turn_gear_gelsight" + ], + "published_task": "gear_assembly", + "instruction": "Pick up the red gear, assemble it onto the base, and rotate it to turn the gear pair.", + "instructions": [ + "Pick up the red gear, assemble it onto the base, and rotate it to turn the gear pair." + ], + "instruction_by_source": { + "turn_gear_gelsight": "Pick up the red gear, assemble it onto the base, and rotate it to turn the gear pair." + }, + "excluded_episodes": [], + "fps": 30, + "robot": "Franka", + "gripper": "Franka Hand", + "tactile_sensor": "GelSight Mini", + "image_storage": "LeRobot video features; one MP4 per episode and camera", + "eef_frame": "robot_base", + "eef_quaternion_order": "xyzw", + "eef_rotation_matrix_shape": [ + 3, + 3 + ], + "eef_rotation_matrix_flattening": "row_major", + "eef_rotvec_semantics": "absolute axis-angle rotation vector derived from the absolute EEF rotation matrix", + "action": { + "source": "states.npz[action]", + "copied_without_value_transformation": true, + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ], + "first_six_semantics": "recorded controller-space delta translation and delta rotation-vector command", + "gripper_semantics": "commanded absolute gripper target position", + "gripper_is_measured_state": false, + "optional_training_note": "A downstream pipeline may explicitly use observation.gripper[t+1], but this dataset does not replace action[6]." + }, + "observation_gripper": { + "source": "states.npz[gripper_q]", + "semantics": "measured absolute Franka Hand opening state in metres" + }, + "cameras": { + "observation.images.head": { + "source": "main/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.wrist": { + "source": "wrist/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.tactile_left": { + "source": "tactile/left/rectify", + "stored_size_wh": [ + 224, + 224 + ] + }, + "observation.images.tactile_right": { + "source": "tactile/right/rectify", + "stored_size_wh": [ + 224, + 224 + ] + } + }, + "gelsight_tactile_provenance": { + "source_sensor": "GelSight Mini", + "stored_size_wh": [ + 224, + 224 + ], + "resize_stage": "collection_time", + "resize_method": "OpenCV INTER_AREA", + "aspect_ratio_preserved": false, + "native_rectify_frames_available": false, + "conversion_applies_second_resize": false + } +} diff --git a/Real_world/GelSight_mini/gear_assembly/meta/episodes.jsonl b/Real_world/GelSight_mini/gear_assembly/meta/episodes.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..1714e6b37eabbb9c2569a8530ca9ad38c2965c5a --- /dev/null +++ b/Real_world/GelSight_mini/gear_assembly/meta/episodes.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0bdb749a8432fc46f0237cf41fa8ef0f9ab5871c49310c7457a56275eb87d66f +size 27490 diff --git a/Real_world/GelSight_mini/gear_assembly/meta/episodes_stats.jsonl b/Real_world/GelSight_mini/gear_assembly/meta/episodes_stats.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..86ebe0c3aead1f522debeb787eca99310521863c --- /dev/null +++ b/Real_world/GelSight_mini/gear_assembly/meta/episodes_stats.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f983bdc64bbab8f18b7654fa6fa809c3f94217b93402723c5a26c85396446885 +size 1252857 diff --git a/Real_world/GelSight_mini/gear_assembly/meta/info.json b/Real_world/GelSight_mini/gear_assembly/meta/info.json new file mode 100644 index 0000000000000000000000000000000000000000..6d0cf57d41b88823ea6eba813e28923ff58ddda3 --- /dev/null +++ b/Real_world/GelSight_mini/gear_assembly/meta/info.json @@ -0,0 +1,246 @@ +{ + "codebase_version": "v2.1", + "robot_type": "franka", + "total_episodes": 200, + "total_frames": 86638, + "total_tasks": 1, + "total_videos": 800, + "total_chunks": 1, + "chunks_size": 1000, + "fps": 30, + "splits": { + "train": "0:200" + }, + "data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet", + "video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4", + "features": { + "observation.images.head": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.wrist": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_left": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_right": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.state": { + "dtype": "float32", + "shape": [ + 8 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6", + "gripper_measured" + ] + }, + "observation.joint_position": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6" + ] + }, + "observation.eef_pose_quaternion": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "x", + "y", + "z", + "qx", + "qy", + "qz", + "qw" + ] + }, + "observation.eef_pose_rotvec": { + "dtype": "float32", + "shape": [ + 6 + ], + "names": [ + "x", + "y", + "z", + "rx", + "ry", + "rz" + ] + }, + "observation.eef_rotation_matrix": { + "dtype": "float32", + "shape": [ + 9 + ], + "names": [ + "r00", + "r01", + "r02", + "r10", + "r11", + "r12", + "r20", + "r21", + "r22" + ] + }, + "observation.gripper": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": [ + "gripper_measured" + ] + }, + "action": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ] + }, + "timestamp": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": null + }, + "frame_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "episode_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "task_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + } + } +} \ No newline at end of file diff --git a/Real_world/GelSight_mini/gear_assembly/meta/tasks.jsonl b/Real_world/GelSight_mini/gear_assembly/meta/tasks.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..5aac17e008be74bcd31fa24b1f7211cb8b5a0932 --- /dev/null +++ b/Real_world/GelSight_mini/gear_assembly/meta/tasks.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a8dec4844b3a097a716ebbbe1b87909065adae4e944a36a9326d671007e3493 +size 115 diff --git a/Real_world/GelSight_mini/insert_USB/README.md b/Real_world/GelSight_mini/insert_USB/README.md new file mode 100644 index 0000000000000000000000000000000000000000..32a66e529881e016c8938994976e668a7cb1cf24 --- /dev/null +++ b/Real_world/GelSight_mini/insert_USB/README.md @@ -0,0 +1,43 @@ +# OpenViTac real-world GelSight Mini: insert_USB + +LeRobot v2.1 conversion of real Franka/GelSight Mini demonstrations. + +## Instructions + +- Pick up the USB plug from the blue slot and insert it into the red USB slot. + +## Sources + +- `/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_USB_gelsight_100_frankahand` -> `Pick up the USB plug from the blue slot and insert it into the red USB slot.` +- `/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_usb_gelsight` -> `Pick up the USB plug from the blue slot and insert it into the red USB slot.` + +## Features + +- `observation.state`: `[q0..q6, measured_gripper]`, 8 float32 values. +- `observation.joint_position`: absolute Franka joints, 7 values, radians. +- `observation.eef_pose_quaternion`: `[x,y,z,qx,qy,qz,qw]`, 7 values. +- `observation.eef_pose_rotvec`: `[x,y,z,rx,ry,rz]`, 6 values; absolute rotation vector. +- `observation.eef_rotation_matrix`: absolute 3x3 rotation, row-major, 9 values. +- `observation.gripper`: measured absolute Franka Hand opening state in metres, 1 value. +- `action`: unchanged source `[dx,dy,dz,drot_x,drot_y,drot_z,gripper_target_position]`. + +The action gripper value is the commanded absolute target. It is not replaced +with the next measured gripper state during conversion. + +## Visual observations + +Four synchronized per-episode MP4 streams are stored at 30 FPS: head and +wrist at 640x480, and left/right GelSight tactile frames at 224x224. The +converter does not apply an additional tactile resize. + +See `meta/dataset_metadata.json` for semantics and +`meta/conversion_manifest.jsonl` for output-to-source episode mapping. + +## Explicitly excluded source episodes + +- `/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_USB_gelsight_100_frankahand/000171`: states.npz action has shape (0,) while the episode contains state/image frames + +These raw source directories were not modified. They are excluded because the +canonical policy dataset requires a valid action for every frame. See +`meta/exclusion_manifest.jsonl` for machine-readable details. + diff --git a/Real_world/GelSight_mini/insert_USB/meta/conversion_manifest.jsonl b/Real_world/GelSight_mini/insert_USB/meta/conversion_manifest.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..bbfb27449cd688f1adfcf6a19da9a0f06de34233 --- /dev/null +++ b/Real_world/GelSight_mini/insert_USB/meta/conversion_manifest.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c86d2d651c4a67b55f32587943c472ed72f8875b17d309bc0afe35649af48a1 +size 107819 diff --git a/Real_world/GelSight_mini/insert_USB/meta/dataset_metadata.json b/Real_world/GelSight_mini/insert_USB/meta/dataset_metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..92fc4926f53b96ff2c7d671415a61e7337360c6a --- /dev/null +++ b/Real_world/GelSight_mini/insert_USB/meta/dataset_metadata.json @@ -0,0 +1,108 @@ +{ + "dataset": "OpenViTac Real_world/GelSight_mini/insert_USB", + "batch_key": "insert_USB", + "source_directories": [ + "/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_USB_gelsight_100_frankahand", + "/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_usb_gelsight" + ], + "published_task": "insert_USB", + "instruction": "Pick up the USB plug from the blue slot and insert it into the red USB slot.", + "instructions": [ + "Pick up the USB plug from the blue slot and insert it into the red USB slot." + ], + "instruction_by_source": { + "insert_USB_gelsight_100_frankahand": "Pick up the USB plug from the blue slot and insert it into the red USB slot.", + "insert_usb_gelsight": "Pick up the USB plug from the blue slot and insert it into the red USB slot." + }, + "excluded_episodes": [ + { + "batch_key": "insert_USB", + "source_task": "insert_USB_gelsight_100_frankahand", + "source_episode_id": "000171", + "source_episode_path": "/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_USB_gelsight_100_frankahand/000171", + "reason": "states.npz action has shape (0,) while the episode contains state/image frames", + "policy": "excluded_from_policy_dataset", + "observed_state_length": 346, + "observed_action_shape": [ + 0 + ], + "source_data_modified": false + } + ], + "fps": 30, + "robot": "Franka", + "gripper": "Franka Hand", + "tactile_sensor": "GelSight Mini", + "image_storage": "LeRobot video features; one MP4 per episode and camera", + "eef_frame": "robot_base", + "eef_quaternion_order": "xyzw", + "eef_rotation_matrix_shape": [ + 3, + 3 + ], + "eef_rotation_matrix_flattening": "row_major", + "eef_rotvec_semantics": "absolute axis-angle rotation vector derived from the absolute EEF rotation matrix", + "action": { + "source": "states.npz[action]", + "copied_without_value_transformation": true, + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ], + "first_six_semantics": "recorded controller-space delta translation and delta rotation-vector command", + "gripper_semantics": "commanded absolute gripper target position", + "gripper_is_measured_state": false, + "optional_training_note": "A downstream pipeline may explicitly use observation.gripper[t+1], but this dataset does not replace action[6]." + }, + "observation_gripper": { + "source": "states.npz[gripper_q]", + "semantics": "measured absolute Franka Hand opening state in metres" + }, + "cameras": { + "observation.images.head": { + "source": "main/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.wrist": { + "source": "wrist/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.tactile_left": { + "source": "tactile/left/rectify", + "stored_size_wh": [ + 224, + 224 + ] + }, + "observation.images.tactile_right": { + "source": "tactile/right/rectify", + "stored_size_wh": [ + 224, + 224 + ] + } + }, + "gelsight_tactile_provenance": { + "source_sensor": "GelSight Mini", + "stored_size_wh": [ + 224, + 224 + ], + "resize_stage": "collection_time", + "resize_method": "OpenCV INTER_AREA", + "aspect_ratio_preserved": false, + "native_rectify_frames_available": false, + "conversion_applies_second_resize": false + } +} diff --git a/Real_world/GelSight_mini/insert_USB/meta/episodes.jsonl b/Real_world/GelSight_mini/insert_USB/meta/episodes.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..3d069cd22ca7ff94690ab52fe0f475994c1ae9f6 --- /dev/null +++ b/Real_world/GelSight_mini/insert_USB/meta/episodes.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:47e200a11a08fad0525f2f9c3637443592c29acbbd2170d5c6c6e012e3f4286c +size 38461 diff --git a/Real_world/GelSight_mini/insert_USB/meta/episodes_stats.jsonl b/Real_world/GelSight_mini/insert_USB/meta/episodes_stats.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..554cd77aee28df5657b834f332d72dc2823a24c6 --- /dev/null +++ b/Real_world/GelSight_mini/insert_USB/meta/episodes_stats.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:94876e0b93630f43d1ba68ee86629bb280b4a2a41f37bbaac5dcb2f170e844d4 +size 1880137 diff --git a/Real_world/GelSight_mini/insert_USB/meta/exclusion_manifest.jsonl b/Real_world/GelSight_mini/insert_USB/meta/exclusion_manifest.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..8e25da24dec02f5285267d70bc7f57d6a8de37a1 --- /dev/null +++ b/Real_world/GelSight_mini/insert_USB/meta/exclusion_manifest.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18c9e3b6c9a66b7f4211cfd2d08888c7b6e7bbfe38e55088991d065c62bc9c16 +size 464 diff --git a/Real_world/GelSight_mini/insert_USB/meta/info.json b/Real_world/GelSight_mini/insert_USB/meta/info.json new file mode 100644 index 0000000000000000000000000000000000000000..ebc4652038e5285e15419b0a9acabe1449dfbb20 --- /dev/null +++ b/Real_world/GelSight_mini/insert_USB/meta/info.json @@ -0,0 +1,246 @@ +{ + "codebase_version": "v2.1", + "robot_type": "franka", + "total_episodes": 299, + "total_frames": 111302, + "total_tasks": 1, + "total_videos": 1196, + "total_chunks": 1, + "chunks_size": 1000, + "fps": 30, + "splits": { + "train": "0:299" + }, + "data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet", + "video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4", + "features": { + "observation.images.head": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.wrist": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_left": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_right": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.state": { + "dtype": "float32", + "shape": [ + 8 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6", + "gripper_measured" + ] + }, + "observation.joint_position": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6" + ] + }, + "observation.eef_pose_quaternion": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "x", + "y", + "z", + "qx", + "qy", + "qz", + "qw" + ] + }, + "observation.eef_pose_rotvec": { + "dtype": "float32", + "shape": [ + 6 + ], + "names": [ + "x", + "y", + "z", + "rx", + "ry", + "rz" + ] + }, + "observation.eef_rotation_matrix": { + "dtype": "float32", + "shape": [ + 9 + ], + "names": [ + "r00", + "r01", + "r02", + "r10", + "r11", + "r12", + "r20", + "r21", + "r22" + ] + }, + "observation.gripper": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": [ + "gripper_measured" + ] + }, + "action": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ] + }, + "timestamp": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": null + }, + "frame_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "episode_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "task_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + } + } +} \ No newline at end of file diff --git a/Real_world/GelSight_mini/insert_USB/meta/tasks.jsonl b/Real_world/GelSight_mini/insert_USB/meta/tasks.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..d88d0aa1ba5bed97ed58b25f64f58c3510c2844b --- /dev/null +++ b/Real_world/GelSight_mini/insert_USB/meta/tasks.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9e8daeccb0355254cc65716cbf6d8afe7dc21a5fe9405de4461b90522c7da65d +size 106 diff --git a/Real_world/GelSight_mini/insert_block_v1/README.md b/Real_world/GelSight_mini/insert_block_v1/README.md new file mode 100644 index 0000000000000000000000000000000000000000..298b32f76676b8ac8d68ac7e0a650ea460cf1387 --- /dev/null +++ b/Real_world/GelSight_mini/insert_block_v1/README.md @@ -0,0 +1,35 @@ +# OpenViTac real-world GelSight Mini: insert_block_v1 + +LeRobot v2.1 conversion of real Franka/GelSight Mini demonstrations. + +## Instructions + +- Insert the blue cube into the matching hole in the yellow box. + +## Sources + +- `/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_cube_gelsight_layout_1` -> `Insert the blue cube into the matching hole in the yellow box.` +- `/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_cube_gelsight_layout_2` -> `Insert the blue cube into the matching hole in the yellow box.` + +## Features + +- `observation.state`: `[q0..q6, measured_gripper]`, 8 float32 values. +- `observation.joint_position`: absolute Franka joints, 7 values, radians. +- `observation.eef_pose_quaternion`: `[x,y,z,qx,qy,qz,qw]`, 7 values. +- `observation.eef_pose_rotvec`: `[x,y,z,rx,ry,rz]`, 6 values; absolute rotation vector. +- `observation.eef_rotation_matrix`: absolute 3x3 rotation, row-major, 9 values. +- `observation.gripper`: measured absolute Franka Hand opening state in metres, 1 value. +- `action`: unchanged source `[dx,dy,dz,drot_x,drot_y,drot_z,gripper_target_position]`. + +The action gripper value is the commanded absolute target. It is not replaced +with the next measured gripper state during conversion. + +## Visual observations + +Four synchronized per-episode MP4 streams are stored at 30 FPS: head and +wrist at 640x480, and left/right GelSight tactile frames at 224x224. The +converter does not apply an additional tactile resize. + +See `meta/dataset_metadata.json` for semantics and +`meta/conversion_manifest.jsonl` for output-to-source episode mapping. + diff --git a/Real_world/GelSight_mini/insert_block_v1/meta/conversion_manifest.jsonl b/Real_world/GelSight_mini/insert_block_v1/meta/conversion_manifest.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..6288875ec2eda9b19de59d6d78075a60df63bee8 --- /dev/null +++ b/Real_world/GelSight_mini/insert_block_v1/meta/conversion_manifest.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f09c9d08d8dca5d600c912ef5cd84fc57466816cae9247e139c3965a1620bb57 +size 140690 diff --git a/Real_world/GelSight_mini/insert_block_v1/meta/dataset_metadata.json b/Real_world/GelSight_mini/insert_block_v1/meta/dataset_metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..22aa53af60198dbb83106bd0ec4bd18f86d85095 --- /dev/null +++ b/Real_world/GelSight_mini/insert_block_v1/meta/dataset_metadata.json @@ -0,0 +1,94 @@ +{ + "dataset": "OpenViTac Real_world/GelSight_mini/insert_block_v1", + "batch_key": "insert_block_v1", + "source_directories": [ + "/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_cube_gelsight_layout_1", + "/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_cube_gelsight_layout_2" + ], + "published_task": "insert_block_v1", + "instruction": "Insert the blue cube into the matching hole in the yellow box.", + "instructions": [ + "Insert the blue cube into the matching hole in the yellow box." + ], + "instruction_by_source": { + "insert_cube_gelsight_layout_1": "Insert the blue cube into the matching hole in the yellow box.", + "insert_cube_gelsight_layout_2": "Insert the blue cube into the matching hole in the yellow box." + }, + "excluded_episodes": [], + "fps": 30, + "robot": "Franka", + "gripper": "Franka Hand", + "tactile_sensor": "GelSight Mini", + "image_storage": "LeRobot video features; one MP4 per episode and camera", + "eef_frame": "robot_base", + "eef_quaternion_order": "xyzw", + "eef_rotation_matrix_shape": [ + 3, + 3 + ], + "eef_rotation_matrix_flattening": "row_major", + "eef_rotvec_semantics": "absolute axis-angle rotation vector derived from the absolute EEF rotation matrix", + "action": { + "source": "states.npz[action]", + "copied_without_value_transformation": true, + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ], + "first_six_semantics": "recorded controller-space delta translation and delta rotation-vector command", + "gripper_semantics": "commanded absolute gripper target position", + "gripper_is_measured_state": false, + "optional_training_note": "A downstream pipeline may explicitly use observation.gripper[t+1], but this dataset does not replace action[6]." + }, + "observation_gripper": { + "source": "states.npz[gripper_q]", + "semantics": "measured absolute Franka Hand opening state in metres" + }, + "cameras": { + "observation.images.head": { + "source": "main/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.wrist": { + "source": "wrist/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.tactile_left": { + "source": "tactile/left/rectify", + "stored_size_wh": [ + 224, + 224 + ] + }, + "observation.images.tactile_right": { + "source": "tactile/right/rectify", + "stored_size_wh": [ + 224, + 224 + ] + } + }, + "gelsight_tactile_provenance": { + "source_sensor": "GelSight Mini", + "stored_size_wh": [ + 224, + 224 + ], + "resize_stage": "collection_time", + "resize_method": "OpenCV INTER_AREA", + "aspect_ratio_preserved": false, + "native_rectify_frames_available": false, + "conversion_applies_second_resize": false + } +} diff --git a/Real_world/GelSight_mini/insert_block_v1/meta/episodes.jsonl b/Real_world/GelSight_mini/insert_block_v1/meta/episodes.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..739d9b33df094023f07fe4376989c0fed32b89c8 --- /dev/null +++ b/Real_world/GelSight_mini/insert_block_v1/meta/episodes.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:34457b3262d11da0e188da49aa906196a38785d5ab72d1f1cc47dbd39e966571 +size 45890 diff --git a/Real_world/GelSight_mini/insert_block_v1/meta/episodes_stats.jsonl b/Real_world/GelSight_mini/insert_block_v1/meta/episodes_stats.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..9c0d31cf71f6c78bd4adf79c3acce8973f239a7a --- /dev/null +++ b/Real_world/GelSight_mini/insert_block_v1/meta/episodes_stats.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9cbb74c66945747f98089ee642e5465bf01e7625f8a75155c823b2c9a83b84f1 +size 2501296 diff --git a/Real_world/GelSight_mini/insert_block_v1/meta/info.json b/Real_world/GelSight_mini/insert_block_v1/meta/info.json new file mode 100644 index 0000000000000000000000000000000000000000..a2c50cc0aad978184f82e52457dc6b5b55710174 --- /dev/null +++ b/Real_world/GelSight_mini/insert_block_v1/meta/info.json @@ -0,0 +1,246 @@ +{ + "codebase_version": "v2.1", + "robot_type": "franka", + "total_episodes": 400, + "total_frames": 161925, + "total_tasks": 1, + "total_videos": 1600, + "total_chunks": 1, + "chunks_size": 1000, + "fps": 30, + "splits": { + "train": "0:400" + }, + "data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet", + "video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4", + "features": { + "observation.images.head": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.wrist": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_left": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_right": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.state": { + "dtype": "float32", + "shape": [ + 8 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6", + "gripper_measured" + ] + }, + "observation.joint_position": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6" + ] + }, + "observation.eef_pose_quaternion": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "x", + "y", + "z", + "qx", + "qy", + "qz", + "qw" + ] + }, + "observation.eef_pose_rotvec": { + "dtype": "float32", + "shape": [ + 6 + ], + "names": [ + "x", + "y", + "z", + "rx", + "ry", + "rz" + ] + }, + "observation.eef_rotation_matrix": { + "dtype": "float32", + "shape": [ + 9 + ], + "names": [ + "r00", + "r01", + "r02", + "r10", + "r11", + "r12", + "r20", + "r21", + "r22" + ] + }, + "observation.gripper": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": [ + "gripper_measured" + ] + }, + "action": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ] + }, + "timestamp": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": null + }, + "frame_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "episode_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "task_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + } + } +} \ No newline at end of file diff --git a/Real_world/GelSight_mini/insert_block_v1/meta/tasks.jsonl b/Real_world/GelSight_mini/insert_block_v1/meta/tasks.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..40d206a9381dfc536b81c087d2fdf2166e9148b4 --- /dev/null +++ b/Real_world/GelSight_mini/insert_block_v1/meta/tasks.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb8ab39be590cfc16fc83020e1afb2f24027016accbe37a68fa5ece82ee7ac22 +size 92 diff --git a/Real_world/GelSight_mini/insert_block_v2/README.md b/Real_world/GelSight_mini/insert_block_v2/README.md new file mode 100644 index 0000000000000000000000000000000000000000..60edf77762b3ce3dbf7b4f02b547c585181973be --- /dev/null +++ b/Real_world/GelSight_mini/insert_block_v2/README.md @@ -0,0 +1,53 @@ +# OpenViTac real-world GelSight Mini: insert_block_v2 + +LeRobot v2.1 conversion of real Franka/GelSight Mini demonstrations. + +## Instructions + +- Insert the blue cube into the matching hole in the yellow box. +- Insert the blue half cylinder into the matching hole in the yellow box. +- Insert the red hexagonal prism into the matching hole in the yellow box. + +## Sources + +- `/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_cube_gelsight_layout_1` -> `Insert the blue cube into the matching hole in the yellow box.` +- `/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_cube_gelsight_layout_2` -> `Insert the blue cube into the matching hole in the yellow box.` +- `/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_half_cylinder_gelsight_layout_1` -> `Insert the blue half cylinder into the matching hole in the yellow box.` +- `/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_half_cylinder_gelsight_layout_2` -> `Insert the blue half cylinder into the matching hole in the yellow box.` +- `/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_hexahedron_gelsight_layout_1` -> `Insert the red hexagonal prism into the matching hole in the yellow box.` +- `/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_hexahedron_gelsight_layout_2` -> `Insert the red hexagonal prism into the matching hole in the yellow box.` + +## Features + +- `observation.state`: `[q0..q6, measured_gripper]`, 8 float32 values. +- `observation.joint_position`: absolute Franka joints, 7 values, radians. +- `observation.eef_pose_quaternion`: `[x,y,z,qx,qy,qz,qw]`, 7 values. +- `observation.eef_pose_rotvec`: `[x,y,z,rx,ry,rz]`, 6 values; absolute rotation vector. +- `observation.eef_rotation_matrix`: absolute 3x3 rotation, row-major, 9 values. +- `observation.gripper`: measured absolute Franka Hand opening state in metres, 1 value. +- `action`: unchanged source `[dx,dy,dz,drot_x,drot_y,drot_z,gripper_target_position]`. + +The action gripper value is the commanded absolute target. It is not replaced +with the next measured gripper state during conversion. + +## Visual observations + +Four synchronized per-episode MP4 streams are stored at 30 FPS: head and +wrist at 640x480, and left/right GelSight tactile frames at 224x224. The +converter does not apply an additional tactile resize. + +See `meta/dataset_metadata.json` for semantics and +`meta/conversion_manifest.jsonl` for output-to-source episode mapping. + +## Explicitly excluded source episodes + +- `/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_half_cylinder_gelsight_layout_1/000083`: states.npz action has shape (0,) while the episode contains state/image frames +- `/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_hexahedron_gelsight_layout_1/000043`: states.npz action has shape (0,) while the episode contains state/image frames +- `/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_hexahedron_gelsight_layout_1/000063`: states.npz action has shape (0,) while the episode contains state/image frames +- `/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_hexahedron_gelsight_layout_1/000186`: states.npz action has shape (0,) while the episode contains state/image frames +- `/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_hexahedron_gelsight_layout_2/000154`: states.npz action has shape (0,) while the episode contains state/image frames + +These raw source directories were not modified. They are excluded because the +canonical policy dataset requires a valid action for every frame. See +`meta/exclusion_manifest.jsonl` for machine-readable details. + diff --git a/Real_world/GelSight_mini/insert_block_v2/meta/conversion_manifest.jsonl b/Real_world/GelSight_mini/insert_block_v2/meta/conversion_manifest.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..038aafe5f99165a1347a1df6948c7644b03a6dd4 --- /dev/null +++ b/Real_world/GelSight_mini/insert_block_v2/meta/conversion_manifest.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c612bd3fab1218199b9bcc13316e91d9daa1c070e534ae4498989a3d59035dec +size 440210 diff --git a/Real_world/GelSight_mini/insert_block_v2/meta/dataset_metadata.json b/Real_world/GelSight_mini/insert_block_v2/meta/dataset_metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..cd37ecf393f2cc254a19c67cad5135beaf0e28db --- /dev/null +++ b/Real_world/GelSight_mini/insert_block_v2/meta/dataset_metadata.json @@ -0,0 +1,170 @@ +{ + "dataset": "OpenViTac Real_world/GelSight_mini/insert_block_v2", + "batch_key": "insert_block_v2", + "source_directories": [ + "/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_cube_gelsight_layout_1", + "/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_cube_gelsight_layout_2", + "/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_half_cylinder_gelsight_layout_1", + "/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_half_cylinder_gelsight_layout_2", + "/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_hexahedron_gelsight_layout_1", + "/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_hexahedron_gelsight_layout_2" + ], + "published_task": "insert_block_v2", + "instruction": null, + "instructions": [ + "Insert the blue cube into the matching hole in the yellow box.", + "Insert the blue half cylinder into the matching hole in the yellow box.", + "Insert the red hexagonal prism into the matching hole in the yellow box." + ], + "instruction_by_source": { + "insert_cube_gelsight_layout_1": "Insert the blue cube into the matching hole in the yellow box.", + "insert_cube_gelsight_layout_2": "Insert the blue cube into the matching hole in the yellow box.", + "insert_half_cylinder_gelsight_layout_1": "Insert the blue half cylinder into the matching hole in the yellow box.", + "insert_half_cylinder_gelsight_layout_2": "Insert the blue half cylinder into the matching hole in the yellow box.", + "insert_hexahedron_gelsight_layout_1": "Insert the red hexagonal prism into the matching hole in the yellow box.", + "insert_hexahedron_gelsight_layout_2": "Insert the red hexagonal prism into the matching hole in the yellow box." + }, + "excluded_episodes": [ + { + "batch_key": "insert_block_v2", + "source_task": "insert_half_cylinder_gelsight_layout_1", + "source_episode_id": "000083", + "source_episode_path": "/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_half_cylinder_gelsight_layout_1/000083", + "reason": "states.npz action has shape (0,) while the episode contains state/image frames", + "policy": "excluded_from_policy_dataset", + "observed_state_length": 401, + "observed_action_shape": [ + 0 + ], + "source_data_modified": false + }, + { + "batch_key": "insert_block_v2", + "source_task": "insert_hexahedron_gelsight_layout_1", + "source_episode_id": "000043", + "source_episode_path": "/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_hexahedron_gelsight_layout_1/000043", + "reason": "states.npz action has shape (0,) while the episode contains state/image frames", + "policy": "excluded_from_policy_dataset", + "observed_state_length": 403, + "observed_action_shape": [ + 0 + ], + "source_data_modified": false + }, + { + "batch_key": "insert_block_v2", + "source_task": "insert_hexahedron_gelsight_layout_1", + "source_episode_id": "000063", + "source_episode_path": "/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_hexahedron_gelsight_layout_1/000063", + "reason": "states.npz action has shape (0,) while the episode contains state/image frames", + "policy": "excluded_from_policy_dataset", + "observed_state_length": 386, + "observed_action_shape": [ + 0 + ], + "source_data_modified": false + }, + { + "batch_key": "insert_block_v2", + "source_task": "insert_hexahedron_gelsight_layout_1", + "source_episode_id": "000186", + "source_episode_path": "/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_hexahedron_gelsight_layout_1/000186", + "reason": "states.npz action has shape (0,) while the episode contains state/image frames", + "policy": "excluded_from_policy_dataset", + "observed_state_length": 373, + "observed_action_shape": [ + 0 + ], + "source_data_modified": false + }, + { + "batch_key": "insert_block_v2", + "source_task": "insert_hexahedron_gelsight_layout_2", + "source_episode_id": "000154", + "source_episode_path": "/home/fudan/Workspace/gjzhong/fk_control/data/gelsightmini/insert_hexahedron_gelsight_layout_2/000154", + "reason": "states.npz action has shape (0,) while the episode contains state/image frames", + "policy": "excluded_from_policy_dataset", + "observed_state_length": 388, + "observed_action_shape": [ + 0 + ], + "source_data_modified": false + } + ], + "fps": 30, + "robot": "Franka", + "gripper": "Franka Hand", + "tactile_sensor": "GelSight Mini", + "image_storage": "LeRobot video features; one MP4 per episode and camera", + "eef_frame": "robot_base", + "eef_quaternion_order": "xyzw", + "eef_rotation_matrix_shape": [ + 3, + 3 + ], + "eef_rotation_matrix_flattening": "row_major", + "eef_rotvec_semantics": "absolute axis-angle rotation vector derived from the absolute EEF rotation matrix", + "action": { + "source": "states.npz[action]", + "copied_without_value_transformation": true, + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ], + "first_six_semantics": "recorded controller-space delta translation and delta rotation-vector command", + "gripper_semantics": "commanded absolute gripper target position", + "gripper_is_measured_state": false, + "optional_training_note": "A downstream pipeline may explicitly use observation.gripper[t+1], but this dataset does not replace action[6]." + }, + "observation_gripper": { + "source": "states.npz[gripper_q]", + "semantics": "measured absolute Franka Hand opening state in metres" + }, + "cameras": { + "observation.images.head": { + "source": "main/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.wrist": { + "source": "wrist/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.tactile_left": { + "source": "tactile/left/rectify", + "stored_size_wh": [ + 224, + 224 + ] + }, + "observation.images.tactile_right": { + "source": "tactile/right/rectify", + "stored_size_wh": [ + 224, + 224 + ] + } + }, + "gelsight_tactile_provenance": { + "source_sensor": "GelSight Mini", + "stored_size_wh": [ + 224, + 224 + ], + "resize_stage": "collection_time", + "resize_method": "OpenCV INTER_AREA", + "aspect_ratio_preserved": false, + "native_rectify_frames_available": false, + "conversion_applies_second_resize": false + } +} diff --git a/Real_world/GelSight_mini/insert_block_v2/meta/episodes.jsonl b/Real_world/GelSight_mini/insert_block_v2/meta/episodes.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..b61b385d090fe1405512c5c271535b696da6dc6c --- /dev/null +++ b/Real_world/GelSight_mini/insert_block_v2/meta/episodes.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3767241fd0e6f67a76bf3a06cbf908a200f595944dba14edb7665f239c7fdc46 +size 145061 diff --git a/Real_world/GelSight_mini/insert_block_v2/meta/episodes_stats.jsonl b/Real_world/GelSight_mini/insert_block_v2/meta/episodes_stats.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..340d2b3c628deb8dd7a020ba13c8dbf722b93578 --- /dev/null +++ b/Real_world/GelSight_mini/insert_block_v2/meta/episodes_stats.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a49efa74c334a917adf475a24f015ae4a036604ee7629fafddd12fca862f1f08 +size 7475089 diff --git a/Real_world/GelSight_mini/insert_block_v2/meta/exclusion_manifest.jsonl b/Real_world/GelSight_mini/insert_block_v2/meta/exclusion_manifest.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..5ad09061c1f850539664d35fad7ff380ee8bf5f4 --- /dev/null +++ b/Real_world/GelSight_mini/insert_block_v2/meta/exclusion_manifest.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:efb8696eeae24db3814deefdc22b0875a482b41bfbb5010fb675517e73bd5810 +size 2361 diff --git a/Real_world/GelSight_mini/insert_block_v2/meta/info.json b/Real_world/GelSight_mini/insert_block_v2/meta/info.json new file mode 100644 index 0000000000000000000000000000000000000000..7e5c08ec4aaa1c111e7be20fec7223802550c283 --- /dev/null +++ b/Real_world/GelSight_mini/insert_block_v2/meta/info.json @@ -0,0 +1,246 @@ +{ + "codebase_version": "v2.1", + "robot_type": "franka", + "total_episodes": 1195, + "total_frames": 483057, + "total_tasks": 3, + "total_videos": 4780, + "total_chunks": 2, + "chunks_size": 1000, + "fps": 30, + "splits": { + "train": "0:1195" + }, + "data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet", + "video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4", + "features": { + "observation.images.head": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.wrist": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_left": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_right": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.state": { + "dtype": "float32", + "shape": [ + 8 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6", + "gripper_measured" + ] + }, + "observation.joint_position": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6" + ] + }, + "observation.eef_pose_quaternion": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "x", + "y", + "z", + "qx", + "qy", + "qz", + "qw" + ] + }, + "observation.eef_pose_rotvec": { + "dtype": "float32", + "shape": [ + 6 + ], + "names": [ + "x", + "y", + "z", + "rx", + "ry", + "rz" + ] + }, + "observation.eef_rotation_matrix": { + "dtype": "float32", + "shape": [ + 9 + ], + "names": [ + "r00", + "r01", + "r02", + "r10", + "r11", + "r12", + "r20", + "r21", + "r22" + ] + }, + "observation.gripper": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": [ + "gripper_measured" + ] + }, + "action": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ] + }, + "timestamp": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": null + }, + "frame_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "episode_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "task_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + } + } +} \ No newline at end of file diff --git a/Real_world/GelSight_mini/insert_block_v2/meta/tasks.jsonl b/Real_world/GelSight_mini/insert_block_v2/meta/tasks.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..dbe31719261fc2f427e7c8b05f275f9e52f6072f --- /dev/null +++ b/Real_world/GelSight_mini/insert_block_v2/meta/tasks.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb535daa1fe9db312ecac953d950ba09b6d1b120df121a26dcb021e17266b18f +size 295 diff --git a/Real_world/Xense/empty_can_selection/README.md b/Real_world/Xense/empty_can_selection/README.md new file mode 100644 index 0000000000000000000000000000000000000000..58c9bfd181f81ba6c371fc1cc4c1a552eaf00ec3 --- /dev/null +++ b/Real_world/Xense/empty_can_selection/README.md @@ -0,0 +1,35 @@ +# OpenViTac real-world Xense: empty_can_selection + +LeRobot v2.1 conversion of real Franka/Robotiq/Xense demonstrations. + +## Instructions + +- Find the empty can by touch and place it in the basket. + +## Sources + +- `/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/ces` -> `Find the empty can by touch and place it in the basket.` + +## Features + +- `observation.state`: `[q0..q6, measured_gripper]`, 8 float32 values. +- `observation.joint_position`: absolute Franka joints, 7 values, radians. +- `observation.eef_pose_quaternion`: `[x,y,z,qx,qy,qz,qw]`, 7 values. +- `observation.eef_pose_rotvec`: `[x,y,z,rx,ry,rz]`, 6 values; absolute rotation vector. +- `observation.eef_rotation_matrix`: absolute 3x3 rotation, row-major, 9 values. +- `observation.gripper`: measured absolute Robotiq opening state, 1 value. +- `action`: unchanged source `[dx,dy,dz,drot_x,drot_y,drot_z,gripper_target_position]`. + +The action gripper value is the commanded absolute target. It is not replaced +with the next measured gripper state during conversion. + +## Visual observations + +Four synchronized per-episode MP4 streams are stored at 30 FPS: head and +wrist at 640x480, and left/right tactile at 224x224. The Xense SDK Rectify +output was originally 400x700 and was resized to 224x224 during collection; +this converter does not resize it again. + +See `meta/dataset_metadata.json` for semantics and +`meta/conversion_manifest.jsonl` for output-to-source episode mapping. + diff --git a/Real_world/Xense/empty_can_selection/meta/conversion_manifest.jsonl b/Real_world/Xense/empty_can_selection/meta/conversion_manifest.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..95ebb8e7cdcf857b6b93929f6541e766abb81baa --- /dev/null +++ b/Real_world/Xense/empty_can_selection/meta/conversion_manifest.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dae8cca9b8238d8af0579e54d21549573806b6c06190f7d9ef3c97bc70d1a899 +size 29690 diff --git a/Real_world/Xense/empty_can_selection/meta/dataset_metadata.json b/Real_world/Xense/empty_can_selection/meta/dataset_metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..4e78c05f529415e280ecda02633f6938b05f1c9a --- /dev/null +++ b/Real_world/Xense/empty_can_selection/meta/dataset_metadata.json @@ -0,0 +1,96 @@ +{ + "dataset": "OpenViTac Real_world/Xense/empty_can_selection", + "batch_key": "empty_can_selection", + "source_directories": [ + "/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/ces" + ], + "published_task": "empty_can_selection", + "instruction": "Find the empty can by touch and place it in the basket.", + "instructions": [ + "Find the empty can by touch and place it in the basket." + ], + "instruction_by_source": { + "ces": "Find the empty can by touch and place it in the basket." + }, + "excluded_episodes": [], + "fps": 30, + "robot": "Franka", + "gripper": "Robotiq", + "tactile_sensor": "Xense", + "image_storage": "LeRobot video features; one MP4 per episode and camera", + "eef_frame": "robot_base", + "eef_quaternion_order": "xyzw", + "eef_rotation_matrix_shape": [ + 3, + 3 + ], + "eef_rotation_matrix_flattening": "row_major", + "eef_rotvec_semantics": "absolute axis-angle rotation vector derived from the absolute EEF rotation matrix", + "action": { + "source": "states.npz[action]", + "copied_without_value_transformation": true, + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ], + "first_six_semantics": "recorded controller-space delta translation and delta rotation-vector command", + "gripper_semantics": "commanded absolute gripper target position", + "gripper_is_measured_state": false, + "optional_training_note": "A downstream pipeline may explicitly use observation.gripper[t+1], but this dataset does not replace action[6]." + }, + "observation_gripper": { + "source": "states.npz[gripper_q]", + "semantics": "measured absolute Robotiq opening state" + }, + "cameras": { + "observation.images.head": { + "source": "main/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.wrist": { + "source": "wrist/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.tactile_left": { + "source": "tactile/left/rectify", + "stored_size_wh": [ + 224, + 224 + ] + }, + "observation.images.tactile_right": { + "source": "tactile/right/rectify", + "stored_size_wh": [ + 224, + 224 + ] + } + }, + "xense_tactile_provenance": { + "sdk_output": "Rectify", + "sdk_rectify_size_wh": [ + 400, + 700 + ], + "stored_size_wh": [ + 224, + 224 + ], + "resize_stage": "collection_time", + "resize_method": "OpenCV INTER_AREA", + "aspect_ratio_preserved": false, + "native_rectify_frames_available": false, + "conversion_applies_second_resize": false + } +} diff --git a/Real_world/Xense/empty_can_selection/meta/episodes.jsonl b/Real_world/Xense/empty_can_selection/meta/episodes.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..274d20c6d7c7bc079c7b249dfcf46ab12fc26343 --- /dev/null +++ b/Real_world/Xense/empty_can_selection/meta/episodes.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:58eec777a095114f2e978c29cf03854effa5a0d84b1820ec733968bf55cecc00 +size 10690 diff --git a/Real_world/Xense/empty_can_selection/meta/episodes_stats.jsonl b/Real_world/Xense/empty_can_selection/meta/episodes_stats.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..45ee686ac940ba528ca03043005890bd9c66f1e6 --- /dev/null +++ b/Real_world/Xense/empty_can_selection/meta/episodes_stats.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c778c47667c9caa589b9d91f70903ad9a55422a8d70c7cc3279129a45332231 +size 617412 diff --git a/Real_world/Xense/empty_can_selection/meta/info.json b/Real_world/Xense/empty_can_selection/meta/info.json new file mode 100644 index 0000000000000000000000000000000000000000..d8cee589ebaf098bea5b9c2ac891fbb4aae07ed4 --- /dev/null +++ b/Real_world/Xense/empty_can_selection/meta/info.json @@ -0,0 +1,246 @@ +{ + "codebase_version": "v2.1", + "robot_type": "franka", + "total_episodes": 100, + "total_frames": 42189, + "total_tasks": 1, + "total_videos": 400, + "total_chunks": 1, + "chunks_size": 1000, + "fps": 30, + "splits": { + "train": "0:100" + }, + "data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet", + "video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4", + "features": { + "observation.images.head": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.wrist": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_left": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_right": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.state": { + "dtype": "float32", + "shape": [ + 8 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6", + "gripper_measured" + ] + }, + "observation.joint_position": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6" + ] + }, + "observation.eef_pose_quaternion": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "x", + "y", + "z", + "qx", + "qy", + "qz", + "qw" + ] + }, + "observation.eef_pose_rotvec": { + "dtype": "float32", + "shape": [ + 6 + ], + "names": [ + "x", + "y", + "z", + "rx", + "ry", + "rz" + ] + }, + "observation.eef_rotation_matrix": { + "dtype": "float32", + "shape": [ + 9 + ], + "names": [ + "r00", + "r01", + "r02", + "r10", + "r11", + "r12", + "r20", + "r21", + "r22" + ] + }, + "observation.gripper": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": [ + "gripper_measured" + ] + }, + "action": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ] + }, + "timestamp": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": null + }, + "frame_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "episode_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "task_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + } + } +} \ No newline at end of file diff --git a/Real_world/Xense/empty_can_selection/meta/tasks.jsonl b/Real_world/Xense/empty_can_selection/meta/tasks.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..6185217ca0a8b3ffbbb85780ccc2abdebf0626d9 --- /dev/null +++ b/Real_world/Xense/empty_can_selection/meta/tasks.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4349e7d5157792c15d4d57721c389b6909a94833349cd1ec2151cdeb8ce1ff2e +size 85 diff --git a/Real_world/Xense/gear_assembly/README.md b/Real_world/Xense/gear_assembly/README.md new file mode 100644 index 0000000000000000000000000000000000000000..b0accbb56c689cce6e7b153fa5392c0153b7db46 --- /dev/null +++ b/Real_world/Xense/gear_assembly/README.md @@ -0,0 +1,35 @@ +# OpenViTac real-world Xense: gear_assembly + +LeRobot v2.1 conversion of real Franka/Robotiq/Xense demonstrations. + +## Instructions + +- Pick up the red gear, assemble it onto the base, and rotate it to turn the gear pair. + +## Sources + +- `/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/place_gear` -> `Pick up the red gear, assemble it onto the base, and rotate it to turn the gear pair.` + +## Features + +- `observation.state`: `[q0..q6, measured_gripper]`, 8 float32 values. +- `observation.joint_position`: absolute Franka joints, 7 values, radians. +- `observation.eef_pose_quaternion`: `[x,y,z,qx,qy,qz,qw]`, 7 values. +- `observation.eef_pose_rotvec`: `[x,y,z,rx,ry,rz]`, 6 values; absolute rotation vector. +- `observation.eef_rotation_matrix`: absolute 3x3 rotation, row-major, 9 values. +- `observation.gripper`: measured absolute Robotiq opening state, 1 value. +- `action`: unchanged source `[dx,dy,dz,drot_x,drot_y,drot_z,gripper_target_position]`. + +The action gripper value is the commanded absolute target. It is not replaced +with the next measured gripper state during conversion. + +## Visual observations + +Four synchronized per-episode MP4 streams are stored at 30 FPS: head and +wrist at 640x480, and left/right tactile at 224x224. The Xense SDK Rectify +output was originally 400x700 and was resized to 224x224 during collection; +this converter does not resize it again. + +See `meta/dataset_metadata.json` for semantics and +`meta/conversion_manifest.jsonl` for output-to-source episode mapping. + diff --git a/Real_world/Xense/gear_assembly/meta/conversion_manifest.jsonl b/Real_world/Xense/gear_assembly/meta/conversion_manifest.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..7fb395386398185b4e9afa7618b677efcd1f3736 --- /dev/null +++ b/Real_world/Xense/gear_assembly/meta/conversion_manifest.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:877b9cfabacbd56e6ce96694dc1de4ac1a8560039e5c94d5707683bdcd200c6d +size 134290 diff --git a/Real_world/Xense/gear_assembly/meta/dataset_metadata.json b/Real_world/Xense/gear_assembly/meta/dataset_metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..a7e4b5fbd39c2eeae0b3a6825ac111daeb9a16de --- /dev/null +++ b/Real_world/Xense/gear_assembly/meta/dataset_metadata.json @@ -0,0 +1,96 @@ +{ + "dataset": "OpenViTac Real_world/Xense/gear_assembly", + "batch_key": "gear_assembly", + "source_directories": [ + "/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/place_gear" + ], + "published_task": "gear_assembly", + "instruction": "Pick up the red gear, assemble it onto the base, and rotate it to turn the gear pair.", + "instructions": [ + "Pick up the red gear, assemble it onto the base, and rotate it to turn the gear pair." + ], + "instruction_by_source": { + "place_gear": "Pick up the red gear, assemble it onto the base, and rotate it to turn the gear pair." + }, + "excluded_episodes": [], + "fps": 30, + "robot": "Franka", + "gripper": "Robotiq", + "tactile_sensor": "Xense", + "image_storage": "LeRobot video features; one MP4 per episode and camera", + "eef_frame": "robot_base", + "eef_quaternion_order": "xyzw", + "eef_rotation_matrix_shape": [ + 3, + 3 + ], + "eef_rotation_matrix_flattening": "row_major", + "eef_rotvec_semantics": "absolute axis-angle rotation vector derived from the absolute EEF rotation matrix", + "action": { + "source": "states.npz[action]", + "copied_without_value_transformation": true, + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ], + "first_six_semantics": "recorded controller-space delta translation and delta rotation-vector command", + "gripper_semantics": "commanded absolute gripper target position", + "gripper_is_measured_state": false, + "optional_training_note": "A downstream pipeline may explicitly use observation.gripper[t+1], but this dataset does not replace action[6]." + }, + "observation_gripper": { + "source": "states.npz[gripper_q]", + "semantics": "measured absolute Robotiq opening state" + }, + "cameras": { + "observation.images.head": { + "source": "main/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.wrist": { + "source": "wrist/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.tactile_left": { + "source": "tactile/left/rectify", + "stored_size_wh": [ + 224, + 224 + ] + }, + "observation.images.tactile_right": { + "source": "tactile/right/rectify", + "stored_size_wh": [ + 224, + 224 + ] + } + }, + "xense_tactile_provenance": { + "sdk_output": "Rectify", + "sdk_rectify_size_wh": [ + 400, + 700 + ], + "stored_size_wh": [ + 224, + 224 + ], + "resize_stage": "collection_time", + "resize_method": "OpenCV INTER_AREA", + "aspect_ratio_preserved": false, + "native_rectify_frames_available": false, + "conversion_applies_second_resize": false + } +} diff --git a/Real_world/Xense/gear_assembly/meta/episodes.jsonl b/Real_world/Xense/gear_assembly/meta/episodes.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..53c10ed26bf422dc72a6b4dfae07c415820e8753 --- /dev/null +++ b/Real_world/Xense/gear_assembly/meta/episodes.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b559308377d964d6356601705de9d5eb7ed3e7687ed826c91e9835c9c17afd96 +size 55090 diff --git a/Real_world/Xense/gear_assembly/meta/episodes_stats.jsonl b/Real_world/Xense/gear_assembly/meta/episodes_stats.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..911a985525448db88af3d218b7f01c216c698b52 --- /dev/null +++ b/Real_world/Xense/gear_assembly/meta/episodes_stats.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a26cd7d82c03d54cf4bdaa399b172ef990d54dd9f1732eb207847a20323b9a5 +size 2481243 diff --git a/Real_world/Xense/gear_assembly/meta/info.json b/Real_world/Xense/gear_assembly/meta/info.json new file mode 100644 index 0000000000000000000000000000000000000000..5c5a1e9225a92d1e9f63a3ae9e7622ff7cd27bc6 --- /dev/null +++ b/Real_world/Xense/gear_assembly/meta/info.json @@ -0,0 +1,246 @@ +{ + "codebase_version": "v2.1", + "robot_type": "franka", + "total_episodes": 400, + "total_frames": 121671, + "total_tasks": 1, + "total_videos": 1600, + "total_chunks": 1, + "chunks_size": 1000, + "fps": 30, + "splits": { + "train": "0:400" + }, + "data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet", + "video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4", + "features": { + "observation.images.head": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.wrist": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_left": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_right": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.state": { + "dtype": "float32", + "shape": [ + 8 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6", + "gripper_measured" + ] + }, + "observation.joint_position": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6" + ] + }, + "observation.eef_pose_quaternion": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "x", + "y", + "z", + "qx", + "qy", + "qz", + "qw" + ] + }, + "observation.eef_pose_rotvec": { + "dtype": "float32", + "shape": [ + 6 + ], + "names": [ + "x", + "y", + "z", + "rx", + "ry", + "rz" + ] + }, + "observation.eef_rotation_matrix": { + "dtype": "float32", + "shape": [ + 9 + ], + "names": [ + "r00", + "r01", + "r02", + "r10", + "r11", + "r12", + "r20", + "r21", + "r22" + ] + }, + "observation.gripper": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": [ + "gripper_measured" + ] + }, + "action": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ] + }, + "timestamp": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": null + }, + "frame_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "episode_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "task_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + } + } +} \ No newline at end of file diff --git a/Real_world/Xense/gear_assembly/meta/tasks.jsonl b/Real_world/Xense/gear_assembly/meta/tasks.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..5aac17e008be74bcd31fa24b1f7211cb8b5a0932 --- /dev/null +++ b/Real_world/Xense/gear_assembly/meta/tasks.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7a8dec4844b3a097a716ebbbe1b87909065adae4e944a36a9326d671007e3493 +size 115 diff --git a/Real_world/Xense/grasp_chip/README.md b/Real_world/Xense/grasp_chip/README.md new file mode 100644 index 0000000000000000000000000000000000000000..3fa9120700b2afaffb53fda4245fae782aa97ee8 --- /dev/null +++ b/Real_world/Xense/grasp_chip/README.md @@ -0,0 +1,43 @@ +# OpenViTac real-world Xense: grasp_chip + +LeRobot v2.1 conversion of real Franka/Robotiq/Xense demonstrations. + +## Instructions + +- Gently grasp the chip and place it on the plate. + +## Sources + +- `/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/grasp_chip` -> `Gently grasp the chip and place it on the plate.` + +## Features + +- `observation.state`: `[q0..q6, measured_gripper]`, 8 float32 values. +- `observation.joint_position`: absolute Franka joints, 7 values, radians. +- `observation.eef_pose_quaternion`: `[x,y,z,qx,qy,qz,qw]`, 7 values. +- `observation.eef_pose_rotvec`: `[x,y,z,rx,ry,rz]`, 6 values; absolute rotation vector. +- `observation.eef_rotation_matrix`: absolute 3x3 rotation, row-major, 9 values. +- `observation.gripper`: measured absolute Robotiq opening state, 1 value. +- `action`: unchanged source `[dx,dy,dz,drot_x,drot_y,drot_z,gripper_target_position]`. + +The action gripper value is the commanded absolute target. It is not replaced +with the next measured gripper state during conversion. + +## Visual observations + +Four synchronized per-episode MP4 streams are stored at 30 FPS: head and +wrist at 640x480, and left/right tactile at 224x224. The Xense SDK Rectify +output was originally 400x700 and was resized to 224x224 during collection; +this converter does not resize it again. + +See `meta/dataset_metadata.json` for semantics and +`meta/conversion_manifest.jsonl` for output-to-source episode mapping. + +## Explicitly excluded source episodes + +- `/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/grasp_chip/000087`: states.npz action is empty (shape (0,)) while the robot state moves + +These raw source directories were not modified. They are excluded because the +canonical policy dataset requires a valid action for every frame. See +`meta/exclusion_manifest.jsonl` for machine-readable details. + diff --git a/Real_world/Xense/grasp_chip/meta/conversion_manifest.jsonl b/Real_world/Xense/grasp_chip/meta/conversion_manifest.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..0d3dd3c7e1a96b40658609bae6d17af13a111eca --- /dev/null +++ b/Real_world/Xense/grasp_chip/meta/conversion_manifest.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:72bc4dc485f5c4a6a8fbdcc91ec276b208a16fe19d44fdd6e7449535346d38b9 +size 29195 diff --git a/Real_world/Xense/grasp_chip/meta/dataset_metadata.json b/Real_world/Xense/grasp_chip/meta/dataset_metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..679405b6440d10c6fe355aa18bd5da246f588bb9 --- /dev/null +++ b/Real_world/Xense/grasp_chip/meta/dataset_metadata.json @@ -0,0 +1,110 @@ +{ + "dataset": "OpenViTac Real_world/Xense/grasp_chip", + "batch_key": "grasp_chip", + "source_directories": [ + "/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/grasp_chip" + ], + "published_task": "grasp_chip", + "instruction": "Gently grasp the chip and place it on the plate.", + "instructions": [ + "Gently grasp the chip and place it on the plate." + ], + "instruction_by_source": { + "grasp_chip": "Gently grasp the chip and place it on the plate." + }, + "excluded_episodes": [ + { + "batch_key": "grasp_chip", + "source_task": "grasp_chip", + "source_episode_id": "000087", + "source_episode_path": "/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/grasp_chip/000087", + "reason": "states.npz action is empty (shape (0,)) while the robot state moves", + "policy": "excluded_from_policy_dataset", + "observed_state_length": 347, + "observed_action_shape": [ + 0 + ], + "source_data_modified": false + } + ], + "fps": 30, + "robot": "Franka", + "gripper": "Robotiq", + "tactile_sensor": "Xense", + "image_storage": "LeRobot video features; one MP4 per episode and camera", + "eef_frame": "robot_base", + "eef_quaternion_order": "xyzw", + "eef_rotation_matrix_shape": [ + 3, + 3 + ], + "eef_rotation_matrix_flattening": "row_major", + "eef_rotvec_semantics": "absolute axis-angle rotation vector derived from the absolute EEF rotation matrix", + "action": { + "source": "states.npz[action]", + "copied_without_value_transformation": true, + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ], + "first_six_semantics": "recorded controller-space delta translation and delta rotation-vector command", + "gripper_semantics": "commanded absolute gripper target position", + "gripper_is_measured_state": false, + "optional_training_note": "A downstream pipeline may explicitly use observation.gripper[t+1], but this dataset does not replace action[6]." + }, + "observation_gripper": { + "source": "states.npz[gripper_q]", + "semantics": "measured absolute Robotiq opening state" + }, + "cameras": { + "observation.images.head": { + "source": "main/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.wrist": { + "source": "wrist/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.tactile_left": { + "source": "tactile/left/rectify", + "stored_size_wh": [ + 224, + 224 + ] + }, + "observation.images.tactile_right": { + "source": "tactile/right/rectify", + "stored_size_wh": [ + 224, + 224 + ] + } + }, + "xense_tactile_provenance": { + "sdk_output": "Rectify", + "sdk_rectify_size_wh": [ + 400, + 700 + ], + "stored_size_wh": [ + 224, + 224 + ], + "resize_stage": "collection_time", + "resize_method": "OpenCV INTER_AREA", + "aspect_ratio_preserved": false, + "native_rectify_frames_available": false, + "conversion_applies_second_resize": false + } +} diff --git a/Real_world/Xense/grasp_chip/meta/episodes.jsonl b/Real_world/Xense/grasp_chip/meta/episodes.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..bc31a3ff01b454010c02c069d3961d9357041108 --- /dev/null +++ b/Real_world/Xense/grasp_chip/meta/episodes.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:705a2a03c92a9b478e7f8366bfd95a569b4714e76c222baa5ab4b8dd41c5bb74 +size 9890 diff --git a/Real_world/Xense/grasp_chip/meta/episodes_stats.jsonl b/Real_world/Xense/grasp_chip/meta/episodes_stats.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..38d09d932180c486f14e416a4f22974fece16567 --- /dev/null +++ b/Real_world/Xense/grasp_chip/meta/episodes_stats.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d24a0c6552bc39677ccdfd6ab9c3388599de69b57b6e3ab3cbb12df308393f50 +size 614684 diff --git a/Real_world/Xense/grasp_chip/meta/exclusion_manifest.jsonl b/Real_world/Xense/grasp_chip/meta/exclusion_manifest.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..883bd2cadcf887c33a95835f139d9c21a7a0eb0a --- /dev/null +++ b/Real_world/Xense/grasp_chip/meta/exclusion_manifest.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd0c9943de2e1f2098f20d45bb26431c76f46e88d589b1d6631a4fabce216c6b +size 406 diff --git a/Real_world/Xense/grasp_chip/meta/info.json b/Real_world/Xense/grasp_chip/meta/info.json new file mode 100644 index 0000000000000000000000000000000000000000..236d030b6f8c2231632365abf372de0872636ae8 --- /dev/null +++ b/Real_world/Xense/grasp_chip/meta/info.json @@ -0,0 +1,246 @@ +{ + "codebase_version": "v2.1", + "robot_type": "franka", + "total_episodes": 99, + "total_frames": 32308, + "total_tasks": 1, + "total_videos": 396, + "total_chunks": 1, + "chunks_size": 1000, + "fps": 30, + "splits": { + "train": "0:99" + }, + "data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet", + "video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4", + "features": { + "observation.images.head": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.wrist": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_left": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_right": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.state": { + "dtype": "float32", + "shape": [ + 8 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6", + "gripper_measured" + ] + }, + "observation.joint_position": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6" + ] + }, + "observation.eef_pose_quaternion": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "x", + "y", + "z", + "qx", + "qy", + "qz", + "qw" + ] + }, + "observation.eef_pose_rotvec": { + "dtype": "float32", + "shape": [ + 6 + ], + "names": [ + "x", + "y", + "z", + "rx", + "ry", + "rz" + ] + }, + "observation.eef_rotation_matrix": { + "dtype": "float32", + "shape": [ + 9 + ], + "names": [ + "r00", + "r01", + "r02", + "r10", + "r11", + "r12", + "r20", + "r21", + "r22" + ] + }, + "observation.gripper": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": [ + "gripper_measured" + ] + }, + "action": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ] + }, + "timestamp": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": null + }, + "frame_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "episode_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "task_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + } + } +} \ No newline at end of file diff --git a/Real_world/Xense/grasp_chip/meta/tasks.jsonl b/Real_world/Xense/grasp_chip/meta/tasks.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..b1453310dcf80f59e8d815c7294a80aa6686efbb --- /dev/null +++ b/Real_world/Xense/grasp_chip/meta/tasks.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:301569bdf66b51e9efd1820e52d44d299c992712be5d079bfa8edd29f096dafd +size 78 diff --git a/Real_world/Xense/insert_USB/README.md b/Real_world/Xense/insert_USB/README.md new file mode 100644 index 0000000000000000000000000000000000000000..62497c560708cfa997f93aa08aa54971e178041c --- /dev/null +++ b/Real_world/Xense/insert_USB/README.md @@ -0,0 +1,36 @@ +# OpenViTac Real-world Xense Insert USB + +This is a LeRobot v2.1 conversion of the real Franka/Xense Insert-USB demonstrations. + +## Instruction + +Pick up the USB plug from the blue slot and insert it into the red USB slot. + +## Source + +`/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_usb_xsense` + +## Features + +- `observation.state`: `[q0..q6, measured_gripper]`, 8 values. +- `observation.joint_position`: absolute Franka joint positions, 7 values, radians. +- `observation.eef_pose_quaternion`: `[x,y,z,qx,qy,qz,qw]`, 7 values; position in metres. +- `observation.eef_pose_rotvec`: `[x,y,z,rx,ry,rz]`, 6 values; absolute axis-angle rotation vector in radians. +- `observation.eef_rotation_matrix`: absolute 3x3 rotation matrix flattened row-major, 9 values. +- `observation.gripper`: measured absolute Robotiq opening state, 1 value. +- `action`: copied unchanged from `states.npz["action"]`, 7 values: `[dx,dy,dz,drotvec_x,drotvec_y,drotvec_z,gripper_target_position]`. + +The action gripper value is the commanded absolute target position. It is not replaced with the next measured gripper state during conversion. + +## Visual observations + +All visual features are stored as per-episode MP4 files at 30 FPS: + +- `observation.images.head`: 640x480, from `main/color`. +- `observation.images.wrist`: 640x480, from `wrist/color`. +- `observation.images.tactile_left`: 224x224. +- `observation.images.tactile_right`: 224x224. + +The Xense SDK Rectify output was originally width 400 x height 700. During raw collection it was resized to 224x224 with OpenCV INTER_AREA, without preserving the original aspect ratio. Native 400x700 Rectify frames are not present in this source dataset, and this LeRobot conversion does not resize tactile images again. + +See `meta/dataset_metadata.json` for coordinate frames and exact semantics, and `meta/conversion_manifest.jsonl` for output-to-source episode mapping. diff --git a/Real_world/Xense/insert_USB/meta/conversion_manifest.jsonl b/Real_world/Xense/insert_USB/meta/conversion_manifest.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..471cb67b2eaa34799e7b1c2a005a4c8a6b4d556c --- /dev/null +++ b/Real_world/Xense/insert_USB/meta/conversion_manifest.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:30704dc89fc7462ce9f2af711667ff623c8a444a67c51b7f64b79f3507b1b6d5 +size 53890 diff --git a/Real_world/Xense/insert_USB/meta/dataset_metadata.json b/Real_world/Xense/insert_USB/meta/dataset_metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..a227ae48d912e8d1d915ffe96755bfc353b63183 --- /dev/null +++ b/Real_world/Xense/insert_USB/meta/dataset_metadata.json @@ -0,0 +1,82 @@ +{ + "dataset": "OpenViTac Real_world/Xense/insert_USB", + "source_directory": "/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_usb_xsense", + "instruction": "Pick up the USB plug from the blue slot and insert it into the red USB slot.", + "fps": 30, + "image_storage": "LeRobot video features; one MP4 per episode and camera", + "eef_frame": "robot_base", + "eef_quaternion_order": "xyzw", + "eef_rotation_matrix_shape": [ + 3, + 3 + ], + "eef_rotation_matrix_flattening": "row_major", + "eef_rotvec_semantics": "absolute axis-angle rotation vector derived from the absolute EEF rotation matrix", + "action": { + "source": "states.npz[action]", + "copied_without_value_transformation": true, + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ], + "first_six_semantics": "recorded controller-space delta translation and delta rotation-vector command", + "gripper_semantics": "commanded absolute gripper target position", + "gripper_is_measured_state": false, + "optional_training_note": "A downstream training pipeline may explicitly construct a different gripper target from observation.gripper[t+1], but this dataset does not replace action[6]." + }, + "observation_gripper": { + "source": "states.npz[gripper_q]", + "semantics": "measured absolute Robotiq opening state" + }, + "cameras": { + "observation.images.head": { + "source": "main/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.wrist": { + "source": "wrist/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.tactile_left": { + "source": "tactile/left/rectify", + "stored_size_wh": [ + 224, + 224 + ] + }, + "observation.images.tactile_right": { + "source": "tactile/right/rectify", + "stored_size_wh": [ + 224, + 224 + ] + } + }, + "xense_tactile_provenance": { + "sdk_output": "Rectify", + "sdk_rectify_size_wh": [ + 400, + 700 + ], + "stored_size_wh": [ + 224, + 224 + ], + "resize_stage": "collection_time", + "resize_method": "OpenCV INTER_AREA", + "aspect_ratio_preserved": false, + "native_rectify_frames_available": false, + "conversion_applies_second_resize": false + } +} diff --git a/Real_world/Xense/insert_USB/meta/episodes.jsonl b/Real_world/Xense/insert_USB/meta/episodes.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..22176dd7f282c8c3610bcf576061fc24bbcec73a --- /dev/null +++ b/Real_world/Xense/insert_USB/meta/episodes.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f97ae4fe07117a6434a432aad6eb731c49e9562ee8d50ab166bb9b235d91c9ba +size 38590 diff --git a/Real_world/Xense/insert_USB/meta/episodes_stats.jsonl b/Real_world/Xense/insert_USB/meta/episodes_stats.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..a5a36b7fd4600f3b91c47faeb203e07c49289963 --- /dev/null +++ b/Real_world/Xense/insert_USB/meta/episodes_stats.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ee27e71d74124a05f6adb1910aa96d7a32970e698e081da18b56bb6c0a94b4f2 +size 1873037 diff --git a/Real_world/Xense/insert_USB/meta/info.json b/Real_world/Xense/insert_USB/meta/info.json new file mode 100644 index 0000000000000000000000000000000000000000..5745f3e6264f1861479fd19011451a334364fcd9 --- /dev/null +++ b/Real_world/Xense/insert_USB/meta/info.json @@ -0,0 +1,246 @@ +{ + "codebase_version": "v2.1", + "robot_type": "franka", + "total_episodes": 300, + "total_frames": 67338, + "total_tasks": 1, + "total_videos": 1200, + "total_chunks": 1, + "chunks_size": 1000, + "fps": 30, + "splits": { + "train": "0:300" + }, + "data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet", + "video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4", + "features": { + "observation.images.head": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.wrist": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_left": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_right": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.state": { + "dtype": "float32", + "shape": [ + 8 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6", + "gripper_measured" + ] + }, + "observation.joint_position": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6" + ] + }, + "observation.eef_pose_quaternion": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "x", + "y", + "z", + "qx", + "qy", + "qz", + "qw" + ] + }, + "observation.eef_pose_rotvec": { + "dtype": "float32", + "shape": [ + 6 + ], + "names": [ + "x", + "y", + "z", + "rx", + "ry", + "rz" + ] + }, + "observation.eef_rotation_matrix": { + "dtype": "float32", + "shape": [ + 9 + ], + "names": [ + "r00", + "r01", + "r02", + "r10", + "r11", + "r12", + "r20", + "r21", + "r22" + ] + }, + "observation.gripper": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": [ + "gripper_measured" + ] + }, + "action": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ] + }, + "timestamp": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": null + }, + "frame_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "episode_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "task_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + } + } +} \ No newline at end of file diff --git a/Real_world/Xense/insert_USB/meta/tasks.jsonl b/Real_world/Xense/insert_USB/meta/tasks.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..d88d0aa1ba5bed97ed58b25f64f58c3510c2844b --- /dev/null +++ b/Real_world/Xense/insert_USB/meta/tasks.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9e8daeccb0355254cc65716cbf6d8afe7dc21a5fe9405de4461b90522c7da65d +size 106 diff --git a/Real_world/Xense/insert_block_v1/README.md b/Real_world/Xense/insert_block_v1/README.md new file mode 100644 index 0000000000000000000000000000000000000000..f44c242a8178a42524e092d1a661502b1af69f26 --- /dev/null +++ b/Real_world/Xense/insert_block_v1/README.md @@ -0,0 +1,45 @@ +# OpenViTac real-world Xense: insert_block_v1 + +LeRobot v2.1 conversion of real Franka/Robotiq/Xense demonstrations. + +## Instructions + +- Insert the blue cube into the matching hole in the yellow box. + +## Sources + +- `/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_cube_layout_1` -> `Insert the blue cube into the matching hole in the yellow box.` +- `/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_cube_layout_2` -> `Insert the blue cube into the matching hole in the yellow box.` +- `/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_cube_layout_2_2` -> `Insert the blue cube into the matching hole in the yellow box.` + +## Features + +- `observation.state`: `[q0..q6, measured_gripper]`, 8 float32 values. +- `observation.joint_position`: absolute Franka joints, 7 values, radians. +- `observation.eef_pose_quaternion`: `[x,y,z,qx,qy,qz,qw]`, 7 values. +- `observation.eef_pose_rotvec`: `[x,y,z,rx,ry,rz]`, 6 values; absolute rotation vector. +- `observation.eef_rotation_matrix`: absolute 3x3 rotation, row-major, 9 values. +- `observation.gripper`: measured absolute Robotiq opening state, 1 value. +- `action`: unchanged source `[dx,dy,dz,drot_x,drot_y,drot_z,gripper_target_position]`. + +The action gripper value is the commanded absolute target. It is not replaced +with the next measured gripper state during conversion. + +## Visual observations + +Four synchronized per-episode MP4 streams are stored at 30 FPS: head and +wrist at 640x480, and left/right tactile at 224x224. The Xense SDK Rectify +output was originally 400x700 and was resized to 224x224 during collection; +this converter does not resize it again. + +See `meta/dataset_metadata.json` for semantics and +`meta/conversion_manifest.jsonl` for output-to-source episode mapping. + +## Explicitly excluded source episodes + +- `/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_cube_layout_2/000055`: states.npz action is empty (shape (0,)) while the robot state moves + +These raw source directories were not modified. They are excluded because the +canonical policy dataset requires a valid action for every frame. See +`meta/exclusion_manifest.jsonl` for machine-readable details. + diff --git a/Real_world/Xense/insert_block_v1/meta/conversion_manifest.jsonl b/Real_world/Xense/insert_block_v1/meta/conversion_manifest.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..edb890eac325e010d0191b9cba2f63da563f47c7 --- /dev/null +++ b/Real_world/Xense/insert_block_v1/meta/conversion_manifest.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77d8e941d7edab3ca7d06ebd69e43993b0f3195cc12519fc893156e4f54b0e5b +size 133955 diff --git a/Real_world/Xense/insert_block_v1/meta/dataset_metadata.json b/Real_world/Xense/insert_block_v1/meta/dataset_metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..3f427f51d6467d42943efd3d4475d3de16242a15 --- /dev/null +++ b/Real_world/Xense/insert_block_v1/meta/dataset_metadata.json @@ -0,0 +1,114 @@ +{ + "dataset": "OpenViTac Real_world/Xense/insert_block_v1", + "batch_key": "insert_block_v1", + "source_directories": [ + "/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_cube_layout_1", + "/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_cube_layout_2", + "/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_cube_layout_2_2" + ], + "published_task": "insert_block_v1", + "instruction": "Insert the blue cube into the matching hole in the yellow box.", + "instructions": [ + "Insert the blue cube into the matching hole in the yellow box." + ], + "instruction_by_source": { + "insert_cube_layout_1": "Insert the blue cube into the matching hole in the yellow box.", + "insert_cube_layout_2": "Insert the blue cube into the matching hole in the yellow box.", + "insert_cube_layout_2_2": "Insert the blue cube into the matching hole in the yellow box." + }, + "excluded_episodes": [ + { + "batch_key": "insert_block_v1", + "source_task": "insert_cube_layout_2", + "source_episode_id": "000055", + "source_episode_path": "/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_cube_layout_2/000055", + "reason": "states.npz action is empty (shape (0,)) while the robot state moves", + "policy": "excluded_from_policy_dataset", + "observed_state_length": 420, + "observed_action_shape": [ + 0 + ], + "source_data_modified": false + } + ], + "fps": 30, + "robot": "Franka", + "gripper": "Robotiq", + "tactile_sensor": "Xense", + "image_storage": "LeRobot video features; one MP4 per episode and camera", + "eef_frame": "robot_base", + "eef_quaternion_order": "xyzw", + "eef_rotation_matrix_shape": [ + 3, + 3 + ], + "eef_rotation_matrix_flattening": "row_major", + "eef_rotvec_semantics": "absolute axis-angle rotation vector derived from the absolute EEF rotation matrix", + "action": { + "source": "states.npz[action]", + "copied_without_value_transformation": true, + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ], + "first_six_semantics": "recorded controller-space delta translation and delta rotation-vector command", + "gripper_semantics": "commanded absolute gripper target position", + "gripper_is_measured_state": false, + "optional_training_note": "A downstream pipeline may explicitly use observation.gripper[t+1], but this dataset does not replace action[6]." + }, + "observation_gripper": { + "source": "states.npz[gripper_q]", + "semantics": "measured absolute Robotiq opening state" + }, + "cameras": { + "observation.images.head": { + "source": "main/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.wrist": { + "source": "wrist/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.tactile_left": { + "source": "tactile/left/rectify", + "stored_size_wh": [ + 224, + 224 + ] + }, + "observation.images.tactile_right": { + "source": "tactile/right/rectify", + "stored_size_wh": [ + 224, + 224 + ] + } + }, + "xense_tactile_provenance": { + "sdk_output": "Rectify", + "sdk_rectify_size_wh": [ + 400, + 700 + ], + "stored_size_wh": [ + 224, + 224 + ], + "resize_stage": "collection_time", + "resize_method": "OpenCV INTER_AREA", + "aspect_ratio_preserved": false, + "native_rectify_frames_available": false, + "conversion_applies_second_resize": false + } +} diff --git a/Real_world/Xense/insert_block_v1/meta/episodes.jsonl b/Real_world/Xense/insert_block_v1/meta/episodes.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..5f49e23cb554d8081dc7ddf14e649e3f6daa717c --- /dev/null +++ b/Real_world/Xense/insert_block_v1/meta/episodes.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b4c798e2389117e01c7679d45d6acea8a3144cacc0408dac23264b3f3a876150 +size 45775 diff --git a/Real_world/Xense/insert_block_v1/meta/episodes_stats.jsonl b/Real_world/Xense/insert_block_v1/meta/episodes_stats.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..06d851fe20e4a31f6cfe3c72c2c2edbd7449e28b --- /dev/null +++ b/Real_world/Xense/insert_block_v1/meta/episodes_stats.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7288d0d7465814870881fc89cdb44418bce803f1a747bae50c16b0e3e2653142 +size 2470160 diff --git a/Real_world/Xense/insert_block_v1/meta/exclusion_manifest.jsonl b/Real_world/Xense/insert_block_v1/meta/exclusion_manifest.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..e30cc900195927534003305cc2480b736599e993 --- /dev/null +++ b/Real_world/Xense/insert_block_v1/meta/exclusion_manifest.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c88773eeb0153d07053629043a8fd4eb72c09991c9d24160653cd309f53c54d +size 431 diff --git a/Real_world/Xense/insert_block_v1/meta/info.json b/Real_world/Xense/insert_block_v1/meta/info.json new file mode 100644 index 0000000000000000000000000000000000000000..0a9194aa89733e616b47e03f225ad5b697d016f1 --- /dev/null +++ b/Real_world/Xense/insert_block_v1/meta/info.json @@ -0,0 +1,246 @@ +{ + "codebase_version": "v2.1", + "robot_type": "franka", + "total_episodes": 399, + "total_frames": 132649, + "total_tasks": 1, + "total_videos": 1596, + "total_chunks": 1, + "chunks_size": 1000, + "fps": 30, + "splits": { + "train": "0:399" + }, + "data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet", + "video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4", + "features": { + "observation.images.head": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.wrist": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_left": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_right": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.state": { + "dtype": "float32", + "shape": [ + 8 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6", + "gripper_measured" + ] + }, + "observation.joint_position": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6" + ] + }, + "observation.eef_pose_quaternion": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "x", + "y", + "z", + "qx", + "qy", + "qz", + "qw" + ] + }, + "observation.eef_pose_rotvec": { + "dtype": "float32", + "shape": [ + 6 + ], + "names": [ + "x", + "y", + "z", + "rx", + "ry", + "rz" + ] + }, + "observation.eef_rotation_matrix": { + "dtype": "float32", + "shape": [ + 9 + ], + "names": [ + "r00", + "r01", + "r02", + "r10", + "r11", + "r12", + "r20", + "r21", + "r22" + ] + }, + "observation.gripper": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": [ + "gripper_measured" + ] + }, + "action": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ] + }, + "timestamp": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": null + }, + "frame_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "episode_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "task_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + } + } +} \ No newline at end of file diff --git a/Real_world/Xense/insert_block_v1/meta/tasks.jsonl b/Real_world/Xense/insert_block_v1/meta/tasks.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..40d206a9381dfc536b81c087d2fdf2166e9148b4 --- /dev/null +++ b/Real_world/Xense/insert_block_v1/meta/tasks.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fb8ab39be590cfc16fc83020e1afb2f24027016accbe37a68fa5ece82ee7ac22 +size 92 diff --git a/Real_world/Xense/insert_block_v2/README.md b/Real_world/Xense/insert_block_v2/README.md new file mode 100644 index 0000000000000000000000000000000000000000..0bace8aa52ea92f4ab36338741d6793f763dd364 --- /dev/null +++ b/Real_world/Xense/insert_block_v2/README.md @@ -0,0 +1,51 @@ +# OpenViTac real-world Xense: insert_block_v2 + +LeRobot v2.1 conversion of real Franka/Robotiq/Xense demonstrations. + +## Instructions + +- Insert the blue cube into the matching hole in the yellow box. +- Insert the blue half cylinder into the matching hole in the yellow box. +- Insert the red hexagonal prism into the matching hole in the yellow box. + +## Sources + +- `/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_cube_layout_1` -> `Insert the blue cube into the matching hole in the yellow box.` +- `/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_cube_layout_2` -> `Insert the blue cube into the matching hole in the yellow box.` +- `/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_cube_layout_2_2` -> `Insert the blue cube into the matching hole in the yellow box.` +- `/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_half_cylinder_layout_1` -> `Insert the blue half cylinder into the matching hole in the yellow box.` +- `/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_half_cylinder_layout_2` -> `Insert the blue half cylinder into the matching hole in the yellow box.` +- `/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_hexahedron_layout_1` -> `Insert the red hexagonal prism into the matching hole in the yellow box.` +- `/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_hexahedron_layout_2` -> `Insert the red hexagonal prism into the matching hole in the yellow box.` + +## Features + +- `observation.state`: `[q0..q6, measured_gripper]`, 8 float32 values. +- `observation.joint_position`: absolute Franka joints, 7 values, radians. +- `observation.eef_pose_quaternion`: `[x,y,z,qx,qy,qz,qw]`, 7 values. +- `observation.eef_pose_rotvec`: `[x,y,z,rx,ry,rz]`, 6 values; absolute rotation vector. +- `observation.eef_rotation_matrix`: absolute 3x3 rotation, row-major, 9 values. +- `observation.gripper`: measured absolute Robotiq opening state, 1 value. +- `action`: unchanged source `[dx,dy,dz,drot_x,drot_y,drot_z,gripper_target_position]`. + +The action gripper value is the commanded absolute target. It is not replaced +with the next measured gripper state during conversion. + +## Visual observations + +Four synchronized per-episode MP4 streams are stored at 30 FPS: head and +wrist at 640x480, and left/right tactile at 224x224. The Xense SDK Rectify +output was originally 400x700 and was resized to 224x224 during collection; +this converter does not resize it again. + +See `meta/dataset_metadata.json` for semantics and +`meta/conversion_manifest.jsonl` for output-to-source episode mapping. + +## Explicitly excluded source episodes + +- `/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_cube_layout_2/000055`: states.npz action is empty (shape (0,)) while the robot state moves + +These raw source directories were not modified. They are excluded because the +canonical policy dataset requires a valid action for every frame. See +`meta/exclusion_manifest.jsonl` for machine-readable details. + diff --git a/Real_world/Xense/insert_block_v2/meta/conversion_manifest.jsonl b/Real_world/Xense/insert_block_v2/meta/conversion_manifest.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..44fdae8a77460516fb6fbae3aeb1cb337206682a --- /dev/null +++ b/Real_world/Xense/insert_block_v2/meta/conversion_manifest.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cbc04f4bf81ae4bcdf7b193d9dd8141b7fb3c5dbf88447030915e92a702d7487 +size 421754 diff --git a/Real_world/Xense/insert_block_v2/meta/dataset_metadata.json b/Real_world/Xense/insert_block_v2/meta/dataset_metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..5a0b2aaa4e5b027280a345bf8e983b33cf02e81f --- /dev/null +++ b/Real_world/Xense/insert_block_v2/meta/dataset_metadata.json @@ -0,0 +1,124 @@ +{ + "dataset": "OpenViTac Real_world/Xense/insert_block_v2", + "batch_key": "insert_block_v2", + "source_directories": [ + "/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_cube_layout_1", + "/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_cube_layout_2", + "/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_cube_layout_2_2", + "/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_half_cylinder_layout_1", + "/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_half_cylinder_layout_2", + "/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_hexahedron_layout_1", + "/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_hexahedron_layout_2" + ], + "published_task": "insert_block_v2", + "instruction": null, + "instructions": [ + "Insert the blue cube into the matching hole in the yellow box.", + "Insert the blue half cylinder into the matching hole in the yellow box.", + "Insert the red hexagonal prism into the matching hole in the yellow box." + ], + "instruction_by_source": { + "insert_cube_layout_1": "Insert the blue cube into the matching hole in the yellow box.", + "insert_cube_layout_2": "Insert the blue cube into the matching hole in the yellow box.", + "insert_cube_layout_2_2": "Insert the blue cube into the matching hole in the yellow box.", + "insert_half_cylinder_layout_1": "Insert the blue half cylinder into the matching hole in the yellow box.", + "insert_half_cylinder_layout_2": "Insert the blue half cylinder into the matching hole in the yellow box.", + "insert_hexahedron_layout_1": "Insert the red hexagonal prism into the matching hole in the yellow box.", + "insert_hexahedron_layout_2": "Insert the red hexagonal prism into the matching hole in the yellow box." + }, + "excluded_episodes": [ + { + "batch_key": "insert_block_v2", + "source_task": "insert_cube_layout_2", + "source_episode_id": "000055", + "source_episode_path": "/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/insert_cube_layout_2/000055", + "reason": "states.npz action is empty (shape (0,)) while the robot state moves", + "policy": "excluded_from_policy_dataset", + "observed_state_length": 420, + "observed_action_shape": [ + 0 + ], + "source_data_modified": false + } + ], + "fps": 30, + "robot": "Franka", + "gripper": "Robotiq", + "tactile_sensor": "Xense", + "image_storage": "LeRobot video features; one MP4 per episode and camera", + "eef_frame": "robot_base", + "eef_quaternion_order": "xyzw", + "eef_rotation_matrix_shape": [ + 3, + 3 + ], + "eef_rotation_matrix_flattening": "row_major", + "eef_rotvec_semantics": "absolute axis-angle rotation vector derived from the absolute EEF rotation matrix", + "action": { + "source": "states.npz[action]", + "copied_without_value_transformation": true, + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ], + "first_six_semantics": "recorded controller-space delta translation and delta rotation-vector command", + "gripper_semantics": "commanded absolute gripper target position", + "gripper_is_measured_state": false, + "optional_training_note": "A downstream pipeline may explicitly use observation.gripper[t+1], but this dataset does not replace action[6]." + }, + "observation_gripper": { + "source": "states.npz[gripper_q]", + "semantics": "measured absolute Robotiq opening state" + }, + "cameras": { + "observation.images.head": { + "source": "main/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.wrist": { + "source": "wrist/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.tactile_left": { + "source": "tactile/left/rectify", + "stored_size_wh": [ + 224, + 224 + ] + }, + "observation.images.tactile_right": { + "source": "tactile/right/rectify", + "stored_size_wh": [ + 224, + 224 + ] + } + }, + "xense_tactile_provenance": { + "sdk_output": "Rectify", + "sdk_rectify_size_wh": [ + 400, + 700 + ], + "stored_size_wh": [ + 224, + 224 + ], + "resize_stage": "collection_time", + "resize_method": "OpenCV INTER_AREA", + "aspect_ratio_preserved": false, + "native_rectify_frames_available": false, + "conversion_applies_second_resize": false + } +} diff --git a/Real_world/Xense/insert_block_v2/meta/episodes.jsonl b/Real_world/Xense/insert_block_v2/meta/episodes.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..4ded5f0c07c6702cd8c7cdde3fb334e7f8ff1c56 --- /dev/null +++ b/Real_world/Xense/insert_block_v2/meta/episodes.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fbf07eb74a85c7bceb3238e3f3fa9fe634d288cc31bc048f23f7f96c44f07257 +size 145574 diff --git a/Real_world/Xense/insert_block_v2/meta/episodes_stats.jsonl b/Real_world/Xense/insert_block_v2/meta/episodes_stats.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..4e3f024e58aa213b5123c269a71f6095e784540d --- /dev/null +++ b/Real_world/Xense/insert_block_v2/meta/episodes_stats.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb98b53738dc81d549c9f67124d76b7556b6cdd18693e75aa146823a04e152e8 +size 7433238 diff --git a/Real_world/Xense/insert_block_v2/meta/exclusion_manifest.jsonl b/Real_world/Xense/insert_block_v2/meta/exclusion_manifest.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..7dc5a8f5b69ea3161df0b8365d71abb42a0d4593 --- /dev/null +++ b/Real_world/Xense/insert_block_v2/meta/exclusion_manifest.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:93d7bf589c4dad2fa6ff8b023193d8de11255a0e4f9bfbf8835b7408c5e78f78 +size 431 diff --git a/Real_world/Xense/insert_block_v2/meta/info.json b/Real_world/Xense/insert_block_v2/meta/info.json new file mode 100644 index 0000000000000000000000000000000000000000..1d66d33aa9fecf7449ab94cca8ad0393eba61516 --- /dev/null +++ b/Real_world/Xense/insert_block_v2/meta/info.json @@ -0,0 +1,246 @@ +{ + "codebase_version": "v2.1", + "robot_type": "franka", + "total_episodes": 1199, + "total_frames": 408129, + "total_tasks": 3, + "total_videos": 4796, + "total_chunks": 2, + "chunks_size": 1000, + "fps": 30, + "splits": { + "train": "0:1199" + }, + "data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet", + "video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4", + "features": { + "observation.images.head": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.wrist": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_left": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_right": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.state": { + "dtype": "float32", + "shape": [ + 8 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6", + "gripper_measured" + ] + }, + "observation.joint_position": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6" + ] + }, + "observation.eef_pose_quaternion": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "x", + "y", + "z", + "qx", + "qy", + "qz", + "qw" + ] + }, + "observation.eef_pose_rotvec": { + "dtype": "float32", + "shape": [ + 6 + ], + "names": [ + "x", + "y", + "z", + "rx", + "ry", + "rz" + ] + }, + "observation.eef_rotation_matrix": { + "dtype": "float32", + "shape": [ + 9 + ], + "names": [ + "r00", + "r01", + "r02", + "r10", + "r11", + "r12", + "r20", + "r21", + "r22" + ] + }, + "observation.gripper": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": [ + "gripper_measured" + ] + }, + "action": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ] + }, + "timestamp": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": null + }, + "frame_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "episode_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "task_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + } + } +} \ No newline at end of file diff --git a/Real_world/Xense/insert_block_v2/meta/tasks.jsonl b/Real_world/Xense/insert_block_v2/meta/tasks.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..dbe31719261fc2f427e7c8b05f275f9e52f6072f --- /dev/null +++ b/Real_world/Xense/insert_block_v2/meta/tasks.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb535daa1fe9db312ecac953d950ba09b6d1b120df121a26dcb021e17266b18f +size 295 diff --git a/Real_world/Xense/pull_drawer/README.md b/Real_world/Xense/pull_drawer/README.md new file mode 100644 index 0000000000000000000000000000000000000000..38a469349cdcae5b8b079d0dfeb2733923574907 --- /dev/null +++ b/Real_world/Xense/pull_drawer/README.md @@ -0,0 +1,35 @@ +# OpenViTac real-world Xense: pull_drawer + +LeRobot v2.1 conversion of real Franka/Robotiq/Xense demonstrations. + +## Instructions + +- Grasp the upper drawer handle and pull the upper drawer open. + +## Sources + +- `/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/pull_drawer_xsense` -> `Grasp the upper drawer handle and pull the upper drawer open.` + +## Features + +- `observation.state`: `[q0..q6, measured_gripper]`, 8 float32 values. +- `observation.joint_position`: absolute Franka joints, 7 values, radians. +- `observation.eef_pose_quaternion`: `[x,y,z,qx,qy,qz,qw]`, 7 values. +- `observation.eef_pose_rotvec`: `[x,y,z,rx,ry,rz]`, 6 values; absolute rotation vector. +- `observation.eef_rotation_matrix`: absolute 3x3 rotation, row-major, 9 values. +- `observation.gripper`: measured absolute Robotiq opening state, 1 value. +- `action`: unchanged source `[dx,dy,dz,drot_x,drot_y,drot_z,gripper_target_position]`. + +The action gripper value is the commanded absolute target. It is not replaced +with the next measured gripper state during conversion. + +## Visual observations + +Four synchronized per-episode MP4 streams are stored at 30 FPS: head and +wrist at 640x480, and left/right tactile at 224x224. The Xense SDK Rectify +output was originally 400x700 and was resized to 224x224 during collection; +this converter does not resize it again. + +See `meta/dataset_metadata.json` for semantics and +`meta/conversion_manifest.jsonl` for output-to-source episode mapping. + diff --git a/Real_world/Xense/pull_drawer/meta/conversion_manifest.jsonl b/Real_world/Xense/pull_drawer/meta/conversion_manifest.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..a49d840940bf9d33a1f7ae39a615ed7eecea19b2 --- /dev/null +++ b/Real_world/Xense/pull_drawer/meta/conversion_manifest.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c769be8a2dc890ddcd5d711ca7122826f0076ff671e67d45d9806863ba0a29ae +size 32490 diff --git a/Real_world/Xense/pull_drawer/meta/dataset_metadata.json b/Real_world/Xense/pull_drawer/meta/dataset_metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..253c34371c9011408bf28ae84451499b8860f2d2 --- /dev/null +++ b/Real_world/Xense/pull_drawer/meta/dataset_metadata.json @@ -0,0 +1,96 @@ +{ + "dataset": "OpenViTac Real_world/Xense/pull_drawer", + "batch_key": "pull_drawer", + "source_directories": [ + "/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/pull_drawer_xsense" + ], + "published_task": "pull_drawer", + "instruction": "Grasp the upper drawer handle and pull the upper drawer open.", + "instructions": [ + "Grasp the upper drawer handle and pull the upper drawer open." + ], + "instruction_by_source": { + "pull_drawer_xsense": "Grasp the upper drawer handle and pull the upper drawer open." + }, + "excluded_episodes": [], + "fps": 30, + "robot": "Franka", + "gripper": "Robotiq", + "tactile_sensor": "Xense", + "image_storage": "LeRobot video features; one MP4 per episode and camera", + "eef_frame": "robot_base", + "eef_quaternion_order": "xyzw", + "eef_rotation_matrix_shape": [ + 3, + 3 + ], + "eef_rotation_matrix_flattening": "row_major", + "eef_rotvec_semantics": "absolute axis-angle rotation vector derived from the absolute EEF rotation matrix", + "action": { + "source": "states.npz[action]", + "copied_without_value_transformation": true, + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ], + "first_six_semantics": "recorded controller-space delta translation and delta rotation-vector command", + "gripper_semantics": "commanded absolute gripper target position", + "gripper_is_measured_state": false, + "optional_training_note": "A downstream pipeline may explicitly use observation.gripper[t+1], but this dataset does not replace action[6]." + }, + "observation_gripper": { + "source": "states.npz[gripper_q]", + "semantics": "measured absolute Robotiq opening state" + }, + "cameras": { + "observation.images.head": { + "source": "main/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.wrist": { + "source": "wrist/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.tactile_left": { + "source": "tactile/left/rectify", + "stored_size_wh": [ + 224, + 224 + ] + }, + "observation.images.tactile_right": { + "source": "tactile/right/rectify", + "stored_size_wh": [ + 224, + 224 + ] + } + }, + "xense_tactile_provenance": { + "sdk_output": "Rectify", + "sdk_rectify_size_wh": [ + 400, + 700 + ], + "stored_size_wh": [ + 224, + 224 + ], + "resize_stage": "collection_time", + "resize_method": "OpenCV INTER_AREA", + "aspect_ratio_preserved": false, + "native_rectify_frames_available": false, + "conversion_applies_second_resize": false + } +} diff --git a/Real_world/Xense/pull_drawer/meta/episodes.jsonl b/Real_world/Xense/pull_drawer/meta/episodes.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..8ffddacf26775fd1c6b3686628bb0e2735ab99a8 --- /dev/null +++ b/Real_world/Xense/pull_drawer/meta/episodes.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9ba82cc31b7130a3765ead34757bbf94b7892c39e0dfa6a4a0a915c2d3397d11 +size 11290 diff --git a/Real_world/Xense/pull_drawer/meta/episodes_stats.jsonl b/Real_world/Xense/pull_drawer/meta/episodes_stats.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..0bdc85cfad2cb7f7f89adddff14c7390aa5c7749 --- /dev/null +++ b/Real_world/Xense/pull_drawer/meta/episodes_stats.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76f317e65bab43d63d25044ecfbc83f8bf8e99fba25ddc967d5731be60876acc +size 618390 diff --git a/Real_world/Xense/pull_drawer/meta/info.json b/Real_world/Xense/pull_drawer/meta/info.json new file mode 100644 index 0000000000000000000000000000000000000000..cca98c6b1c965ab63a3c0f17fd88916e92dae832 --- /dev/null +++ b/Real_world/Xense/pull_drawer/meta/info.json @@ -0,0 +1,246 @@ +{ + "codebase_version": "v2.1", + "robot_type": "franka", + "total_episodes": 100, + "total_frames": 22254, + "total_tasks": 1, + "total_videos": 400, + "total_chunks": 1, + "chunks_size": 1000, + "fps": 30, + "splits": { + "train": "0:100" + }, + "data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet", + "video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4", + "features": { + "observation.images.head": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.wrist": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_left": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_right": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.state": { + "dtype": "float32", + "shape": [ + 8 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6", + "gripper_measured" + ] + }, + "observation.joint_position": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6" + ] + }, + "observation.eef_pose_quaternion": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "x", + "y", + "z", + "qx", + "qy", + "qz", + "qw" + ] + }, + "observation.eef_pose_rotvec": { + "dtype": "float32", + "shape": [ + 6 + ], + "names": [ + "x", + "y", + "z", + "rx", + "ry", + "rz" + ] + }, + "observation.eef_rotation_matrix": { + "dtype": "float32", + "shape": [ + 9 + ], + "names": [ + "r00", + "r01", + "r02", + "r10", + "r11", + "r12", + "r20", + "r21", + "r22" + ] + }, + "observation.gripper": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": [ + "gripper_measured" + ] + }, + "action": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ] + }, + "timestamp": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": null + }, + "frame_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "episode_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "task_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + } + } +} \ No newline at end of file diff --git a/Real_world/Xense/pull_drawer/meta/tasks.jsonl b/Real_world/Xense/pull_drawer/meta/tasks.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..e392b8b19d296c0fcf92b57308603e32267ded81 --- /dev/null +++ b/Real_world/Xense/pull_drawer/meta/tasks.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cc1b03a990f709ebfb8dbf8e6cb93bebe10ed5a6cf6b923295ec3dfd87c589c9 +size 91 diff --git a/Real_world/Xense/roughness_classify/README.md b/Real_world/Xense/roughness_classify/README.md new file mode 100644 index 0000000000000000000000000000000000000000..866681e864d0540ce747efbf50d63977af1f5613 --- /dev/null +++ b/Real_world/Xense/roughness_classify/README.md @@ -0,0 +1,35 @@ +# OpenViTac real-world Xense: roughness_classify + +LeRobot v2.1 conversion of real Franka/Robotiq/Xense demonstrations. + +## Instructions + +- Classify the block surface by touch: place the smooth block on the right plate and the rough block on the left plate. + +## Sources + +- `/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/roughness_classify` -> `Classify the block surface by touch: place the smooth block on the right plate and the rough block on the left plate.` + +## Features + +- `observation.state`: `[q0..q6, measured_gripper]`, 8 float32 values. +- `observation.joint_position`: absolute Franka joints, 7 values, radians. +- `observation.eef_pose_quaternion`: `[x,y,z,qx,qy,qz,qw]`, 7 values. +- `observation.eef_pose_rotvec`: `[x,y,z,rx,ry,rz]`, 6 values; absolute rotation vector. +- `observation.eef_rotation_matrix`: absolute 3x3 rotation, row-major, 9 values. +- `observation.gripper`: measured absolute Robotiq opening state, 1 value. +- `action`: unchanged source `[dx,dy,dz,drot_x,drot_y,drot_z,gripper_target_position]`. + +The action gripper value is the commanded absolute target. It is not replaced +with the next measured gripper state during conversion. + +## Visual observations + +Four synchronized per-episode MP4 streams are stored at 30 FPS: head and +wrist at 640x480, and left/right tactile at 224x224. The Xense SDK Rectify +output was originally 400x700 and was resized to 224x224 during collection; +this converter does not resize it again. + +See `meta/dataset_metadata.json` for semantics and +`meta/conversion_manifest.jsonl` for output-to-source episode mapping. + diff --git a/Real_world/Xense/roughness_classify/meta/conversion_manifest.jsonl b/Real_world/Xense/roughness_classify/meta/conversion_manifest.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..ef8ab0207cf929e8cfea4261df1dad1a66d3791b --- /dev/null +++ b/Real_world/Xense/roughness_classify/meta/conversion_manifest.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ba92a623b054cb70589ab44fcfedd2a188628d0a88e652c520a60e8e0ec535f1 +size 15510 diff --git a/Real_world/Xense/roughness_classify/meta/dataset_metadata.json b/Real_world/Xense/roughness_classify/meta/dataset_metadata.json new file mode 100644 index 0000000000000000000000000000000000000000..3cf1e19c838c2aa04ad70166f382134785ab0216 --- /dev/null +++ b/Real_world/Xense/roughness_classify/meta/dataset_metadata.json @@ -0,0 +1,96 @@ +{ + "dataset": "OpenViTac Real_world/Xense/roughness_classify", + "batch_key": "roughness_classify", + "source_directories": [ + "/home/fudan/Workspace/gjzhong/fk_control/data/xense_robotiq/roughness_classify" + ], + "published_task": "roughness_classify", + "instruction": "Classify the block surface by touch: place the smooth block on the right plate and the rough block on the left plate.", + "instructions": [ + "Classify the block surface by touch: place the smooth block on the right plate and the rough block on the left plate." + ], + "instruction_by_source": { + "roughness_classify": "Classify the block surface by touch: place the smooth block on the right plate and the rough block on the left plate." + }, + "excluded_episodes": [], + "fps": 30, + "robot": "Franka", + "gripper": "Robotiq", + "tactile_sensor": "Xense", + "image_storage": "LeRobot video features; one MP4 per episode and camera", + "eef_frame": "robot_base", + "eef_quaternion_order": "xyzw", + "eef_rotation_matrix_shape": [ + 3, + 3 + ], + "eef_rotation_matrix_flattening": "row_major", + "eef_rotvec_semantics": "absolute axis-angle rotation vector derived from the absolute EEF rotation matrix", + "action": { + "source": "states.npz[action]", + "copied_without_value_transformation": true, + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ], + "first_six_semantics": "recorded controller-space delta translation and delta rotation-vector command", + "gripper_semantics": "commanded absolute gripper target position", + "gripper_is_measured_state": false, + "optional_training_note": "A downstream pipeline may explicitly use observation.gripper[t+1], but this dataset does not replace action[6]." + }, + "observation_gripper": { + "source": "states.npz[gripper_q]", + "semantics": "measured absolute Robotiq opening state" + }, + "cameras": { + "observation.images.head": { + "source": "main/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.wrist": { + "source": "wrist/color", + "stored_size_wh": [ + 640, + 480 + ] + }, + "observation.images.tactile_left": { + "source": "tactile/left/rectify", + "stored_size_wh": [ + 224, + 224 + ] + }, + "observation.images.tactile_right": { + "source": "tactile/right/rectify", + "stored_size_wh": [ + 224, + 224 + ] + } + }, + "xense_tactile_provenance": { + "sdk_output": "Rectify", + "sdk_rectify_size_wh": [ + 400, + 700 + ], + "stored_size_wh": [ + 224, + 224 + ], + "resize_stage": "collection_time", + "resize_method": "OpenCV INTER_AREA", + "aspect_ratio_preserved": false, + "native_rectify_frames_available": false, + "conversion_applies_second_resize": false + } +} diff --git a/Real_world/Xense/roughness_classify/meta/episodes.jsonl b/Real_world/Xense/roughness_classify/meta/episodes.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..5badf36125eeec7db4579c0cb505d908168a6adf --- /dev/null +++ b/Real_world/Xense/roughness_classify/meta/episodes.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:69e6602a5915053d4a1a2669213a95b7ef06736de84876a5851e0b29037b9b69 +size 6750 diff --git a/Real_world/Xense/roughness_classify/meta/episodes_stats.jsonl b/Real_world/Xense/roughness_classify/meta/episodes_stats.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..6e3f8c360f35b03aabf839e12569dea30aba779a --- /dev/null +++ b/Real_world/Xense/roughness_classify/meta/episodes_stats.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ccd1269a47d45f092fc9012e1650aa82840f97f08bae97ce0671254ebc74c4d +size 248377 diff --git a/Real_world/Xense/roughness_classify/meta/info.json b/Real_world/Xense/roughness_classify/meta/info.json new file mode 100644 index 0000000000000000000000000000000000000000..723b5b65feb510c033ded3ada502913e83e844bd --- /dev/null +++ b/Real_world/Xense/roughness_classify/meta/info.json @@ -0,0 +1,246 @@ +{ + "codebase_version": "v2.1", + "robot_type": "franka", + "total_episodes": 40, + "total_frames": 6946, + "total_tasks": 1, + "total_videos": 160, + "total_chunks": 1, + "chunks_size": 1000, + "fps": 30, + "splits": { + "train": "0:40" + }, + "data_path": "data/chunk-{episode_chunk:03d}/episode_{episode_index:06d}.parquet", + "video_path": "videos/chunk-{episode_chunk:03d}/{video_key}/episode_{episode_index:06d}.mp4", + "features": { + "observation.images.head": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.wrist": { + "dtype": "video", + "shape": [ + 480, + 640, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 480, + "video.width": 640, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_left": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.images.tactile_right": { + "dtype": "video", + "shape": [ + 224, + 224, + 3 + ], + "names": [ + "height", + "width", + "channel" + ], + "info": { + "video.height": 224, + "video.width": 224, + "video.codec": "av1", + "video.pix_fmt": "yuv420p", + "video.is_depth_map": false, + "video.fps": 30, + "video.channels": 3, + "has_audio": false + } + }, + "observation.state": { + "dtype": "float32", + "shape": [ + 8 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6", + "gripper_measured" + ] + }, + "observation.joint_position": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "joint_0", + "joint_1", + "joint_2", + "joint_3", + "joint_4", + "joint_5", + "joint_6" + ] + }, + "observation.eef_pose_quaternion": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "x", + "y", + "z", + "qx", + "qy", + "qz", + "qw" + ] + }, + "observation.eef_pose_rotvec": { + "dtype": "float32", + "shape": [ + 6 + ], + "names": [ + "x", + "y", + "z", + "rx", + "ry", + "rz" + ] + }, + "observation.eef_rotation_matrix": { + "dtype": "float32", + "shape": [ + 9 + ], + "names": [ + "r00", + "r01", + "r02", + "r10", + "r11", + "r12", + "r20", + "r21", + "r22" + ] + }, + "observation.gripper": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": [ + "gripper_measured" + ] + }, + "action": { + "dtype": "float32", + "shape": [ + 7 + ], + "names": [ + "delta_x", + "delta_y", + "delta_z", + "delta_rotvec_x", + "delta_rotvec_y", + "delta_rotvec_z", + "gripper_target_position" + ] + }, + "timestamp": { + "dtype": "float32", + "shape": [ + 1 + ], + "names": null + }, + "frame_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "episode_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + }, + "task_index": { + "dtype": "int64", + "shape": [ + 1 + ], + "names": null + } + } +} \ No newline at end of file diff --git a/Real_world/Xense/roughness_classify/meta/tasks.jsonl b/Real_world/Xense/roughness_classify/meta/tasks.jsonl new file mode 100644 index 0000000000000000000000000000000000000000..9e329b1004dcb16ada1c3ef2099ebb4603ed98f5 --- /dev/null +++ b/Real_world/Xense/roughness_classify/meta/tasks.jsonl @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:355184ed6b8ad6729bdbae05b3fc747d6f313e7512d35ba9ef757d5bedd107c8 +size 147