stack8_sim_pert / README.md
ketiholo's picture
Add files using upload-large-folder tool
15aadce verified
|
Raw History Blame Contribute Delete
5.9 kB
metadata
license: apache-2.0
task_categories:
  - robotics
tags:
  - LeRobot
  - piper
  - block-stacking
  - lerobot
  - mujoco
configs:
  - config_name: default
    data_files: data/*/*.parquet

This dataset was created using LeRobot.

Dataset Description

Recovery ("perturbed") demonstrations of the 8-layer block stacking task with an AgileX PiPER arm, simulated in MuJoCo with the same scene, cameras and controller as ketiholo/stack8_mujoco_sim.

In about half of the picks and places the scripted controller is deliberately disturbed and then recovers:

  • pick: before the wrist-camera servo the arm is sent to a wrong hover pose (5-15 mm off, up to +-10 deg) and the controller corrects it;
  • place: the held block is first brought off-center over the stack and then corrected; some blocks are placed slightly unevenly on purpose (long side up to 10 mm, short side 2-3 mm) so later layers must compensate.

All 350 episodes end with a standing 8-layer tower (red base + 7 blocks). Units as in stack8_mujoco_sim: observation.state = joints in millidegrees + gripper reading in micrometers, action = joints in radians + gripper command in meters.

features/ (extra, not part of the LeRobot format)

One episode_XXXXXX.parquet (+ .json summary) per episode, extracted from the top-camera video with the controller's own HSV block detector and from forward kinematics of the joints (every frame; detections on every 3rd frame):

  • phase (0 start, 1 to_block, 2 align, 3 descend, 4 grasp, 5 carry, 6 place_descend, 7 release, 8 measure_stack, 9 end), layer, next_color;

  • tool tip pose tcp_x/y/z/yaw (mm, deg, robot base frame) and of the commanded joints act_*, gripper reading / command grip_mm, grip_cmd_mm;

  • stack pose stack_x/y/yaw/top_z; the controller's next target block tgt_* (raw top-camera detection);

  • hindsight endpoints of the current layer pick_*, place_* (tip pose at grasp start / release start);

  • 7 block tracks b{k}_color/x/y/yaw/seen/status/age (status 0 table, 1 held, 2 placed). Raw top-camera positions carry a fixed offset in this simulation; the affine correction fitted over 11,080 blocks (x' = 0.9917 x + 0.0034 y + 9.17, y' = -0.0031 x + 0.9969 y + 0.73, mm) brings the median error to 0.5 mm.

  • License: apache-2.0

Dataset Structure

meta/info.json:

{
    "codebase_version": "v3.0",
    "robot_type": "piper_follower",
    "total_episodes": 350,
    "total_frames": 1421528,
    "total_tasks": 1,
    "chunks_size": 1000,
    "data_files_size_in_mb": 100,
    "video_files_size_in_mb": 500,
    "fps": 30,
    "splits": {
        "train": "0:350"
    },
    "data_path": "data/chunk-{chunk_index:03d}/file-{file_index:03d}.parquet",
    "video_path": "videos/{video_key}/chunk-{chunk_index:03d}/file-{file_index:03d}.mp4",
    "features": {
        "action": {
            "dtype": "float32",
            "shape": [
                7
            ],
            "names": [
                "joint_1.pos",
                "joint_2.pos",
                "joint_3.pos",
                "joint_4.pos",
                "joint_5.pos",
                "joint_6.pos",
                "gripper.pos"
            ]
        },
        "observation.state": {
            "dtype": "float32",
            "shape": [
                7
            ],
            "names": [
                "joint_1.pos",
                "joint_2.pos",
                "joint_3.pos",
                "joint_4.pos",
                "joint_5.pos",
                "joint_6.pos",
                "gripper.pos"
            ]
        },
        "observation.images.top": {
            "dtype": "video",
            "shape": [
                480,
                640,
                3
            ],
            "names": [
                "height",
                "width",
                "channels"
            ],
            "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",
                "channels"
            ],
            "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
            }
        },
        "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
        }
    }
}