Add README — 50 unique elevators, runtime button collider, real LED transition
Browse files
README.md
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
language:
|
| 4 |
+
- ko
|
| 5 |
+
tags:
|
| 6 |
+
- robotics
|
| 7 |
+
- imitation-learning
|
| 8 |
+
- isaac-sim
|
| 9 |
+
- elevator-button
|
| 10 |
+
- omy-arm
|
| 11 |
+
- action-chunking-transformer
|
| 12 |
+
size_categories:
|
| 13 |
+
- 10K<n<100K
|
| 14 |
+
---
|
| 15 |
+
|
| 16 |
+
# evButtonPush — 30Hz 멀티카메라 RGB 데모셋 (50 종 distinct 엘베)
|
| 17 |
+
|
| 18 |
+
## 개요
|
| 19 |
+
|
| 20 |
+
엘리베이터 콜 버튼 누르기 task 의 ROBOTIS OMY 6-DoF 매니퓰레이터 시연 데이터셋. Isaac Sim 5.1 + Isaac Lab 환경에서 scripted teacher (DLS-IK + force-feedback) 로 자동 수집됨.
|
| 21 |
+
|
| 22 |
+
**핵심 차별점:** 각 데모마다 100종 elevator USD 풀에서 **서로 다른 변형 1개씩** 강제 사용 (`--usd-index`). 50 demos = **50 unique elevators (중복 0개)**. 형제 데이터셋 `260429-01` 은 episode 마다 random sample 이라 어떤 변형은 여러 번 나오고 다른 건 한 번도 안 나오는 분포라는 점에서 다름.
|
| 23 |
+
|
| 24 |
+
## 데이터셋 정보
|
| 25 |
+
|
| 26 |
+
| 항목 | 값 |
|
| 27 |
+
|---|---|
|
| 28 |
+
| 총 데모 수 | **50** (49 업로드 — bad-write 1개 제외) |
|
| 29 |
+
| Unique elevator USD | **50종 (모두 다름)** |
|
| 30 |
+
| 모두 success=True | ✅ (button_pressed + LED_lit + door_open + home_reached) |
|
| 31 |
+
| Frames per demo | ~650 ~ 740 (raw, 가변) |
|
| 32 |
+
| 제어/관측 주기 | **30 Hz** (sim 60 Hz physics, decimation=2) |
|
| 33 |
+
| 이미지 해상도 | **1920 × 1200** |
|
| 34 |
+
| 카메라 | **3대**: cam_wrist (link6), cam_top, cam_belly |
|
| 35 |
+
| Action 차원 | 7 (6 arm joint + 1 binary gripper) |
|
| 36 |
+
| State 관측 | qpos (10), qvel (10), eef_pos (3), eef_quat (4), call_button_pos (3), rel_dist (3), call_button_lit (1), button_pixel_uv_{wrist,top,belly} (각 3: u, v, valid) |
|
| 37 |
+
| 총 용량 | ~50 GB |
|
| 38 |
+
| Format | Per-demo HDF5 — `demo_NN.hdf5`, 약 1 GB/개 |
|
| 39 |
+
|
| 40 |
+
## HDF5 구조
|
| 41 |
+
|
| 42 |
+
```
|
| 43 |
+
demo_NN.hdf5
|
| 44 |
+
└── data/
|
| 45 |
+
└── demo_<seed>/
|
| 46 |
+
├── actions (T, 7) float32
|
| 47 |
+
├── processed_actions (T, 10)
|
| 48 |
+
├── obs/
|
| 49 |
+
│ ├── cam_wrist (T, 1200, 1920, 3) uint8
|
| 50 |
+
│ ├── cam_top (T, 1200, 1920, 3) uint8
|
| 51 |
+
│ ├── cam_belly (T, 1200, 1920, 3) uint8
|
| 52 |
+
│ ├── joint_pos (T, 10) float32
|
| 53 |
+
│ ├── joint_vel (T, 10) float32
|
| 54 |
+
│ ├── eef_pos (T, 3)
|
| 55 |
+
│ ├── eef_quat (T, 4)
|
| 56 |
+
│ ├── call_button_pos (T, 3)
|
| 57 |
+
│ ├── call_button_lit (T, 1) # 실제 press 시점 0 → 1 전환
|
| 58 |
+
│ ├── rel_ee_call_button_distance (T, 3)
|
| 59 |
+
│ ├── button_pixel_uv_wrist (T, 3) # u, v, valid (1920×1200 픽셀 좌표)
|
| 60 |
+
│ ├── button_pixel_uv_top (T, 3)
|
| 61 |
+
│ └── button_pixel_uv_belly (T, 3)
|
| 62 |
+
├── initial_state/
|
| 63 |
+
└── states/
|
| 64 |
+
```
|
| 65 |
+
|
| 66 |
+
각 demo root attrs: `elevator_usd_index`, `elevator_usd_path`.
|
| 67 |
+
|
| 68 |
+
## Task / 환경 정보
|
| 69 |
+
|
| 70 |
+
- **Task ID**: `RobotisLab-CallButton-Right-OMY-Aux-v0`
|
| 71 |
+
- **Sim**: Isaac Sim 5.1, Isaac Lab
|
| 72 |
+
- **Robot**: ROBOTIS OMY (6-DoF, RH-P12-RN gripper, 4-finger mimic)
|
| 73 |
+
- **Scene**:
|
| 74 |
+
- Pedestal (큐브, 0.8m × 0.8m × 0.908m), 로봇이 위에 mount
|
| 75 |
+
- Elevator (100 variants 중 demo 마다 distinct USD, hall-side 정면)
|
| 76 |
+
- Call button `CallBtn_0` (오른쪽), 런타임에 box collider 주입
|
| 77 |
+
- **조명**: DomeLight, demo 마다 randomized
|
| 78 |
+
- **Robot 초기 자세**: 버튼 정면 standoff 0.55–0.65 m, lateral ±5 cm random, joint Gaussian noise std 0.02 rad
|
| 79 |
+
|
| 80 |
+
## 수집 방식
|
| 81 |
+
|
| 82 |
+
각 데모는 별도 teacher launch 로 수집 (`--num-demos 1 --usd-index $ID`).
|
| 83 |
+
elevator ID 는 `random.sample(range(1, 101), 30)` 으로 두 머신에서 각각 30개씩 추출 → 합쳐서 중복 제거 → 50종 unique.
|
| 84 |
+
|
| 85 |
+
```bash
|
| 86 |
+
docker exec isaac-sim bash -lc \
|
| 87 |
+
"cd /workspace/robotis_lab/scripts/my_codes && \
|
| 88 |
+
/isaac-sim/python.sh diffik_teacher_jointpos_aux.py \
|
| 89 |
+
--num-demos 1 --usd-index $ID --seed $((100 + idx)) \
|
| 90 |
+
--enable_cameras --press-depth 0.005 --press-up 0.010 --headless \
|
| 91 |
+
--dataset-file /mnt/Dataset/aux_demos/v02/demo_${idx}_usd_${ID}.hdf5"
|
| 92 |
+
```
|
| 93 |
+
|
| 94 |
+
## Teacher Phases (per demo)
|
| 95 |
+
|
| 96 |
+
| Phase | Steps (30 Hz) | 설명 |
|
| 97 |
+
|---|---|---|
|
| 98 |
+
| settle | initial | gripper 닫기 + physics settle |
|
| 99 |
+
| approach | 300 | joint-space cubic smoothstep HOME → goal_pre_q (IKPy) |
|
| 100 |
+
| press | up to 1500 | DLS micro-thrust 4 mm/step (PUSH_STEP_M=0.004) 으로 버튼 향해 |
|
| 101 |
+
| hold | 60 | 접촉 후 dwell |
|
| 102 |
+
| retract | 200 | DLS 로 goal_pre_q 거쳐 home_tip_w 까지 |
|
| 103 |
+
| home_idle | 150 | HOME 자세 유지 |
|
| 104 |
+
|
| 105 |
+
Press 판정: 그리퍼 contact force > 10 N **AND** 버튼 거리 < 4 cm → FSM `press_call_button` → LED + door FSM 동작. **버튼에 런타임 `UsdPhysics.CollisionAPI` (Cube prim 위 box collider) 주입되어 있어서 force 가 진짜 접촉으로 잡힘 (이전 spawn-impulse 가짜가 아님).**
|
| 106 |
+
|
| 107 |
+
## 주의 / 비고
|
| 108 |
+
|
| 109 |
+
- `call_button_lit` 채널이 t=0 부터 1 인 게 아니라 **진짜 press 시점에 0 → 1 로 전환** — IL supervisory signal 로 의미가 있음.
|
| 110 |
+
- 50 demos 모두 `success=True` 검증 (press + LED + door + home_reached).
|
| 111 |
+
- demo 당 wall-time 약 22 초.
|
| 112 |
+
- 이미지 크기는 Isaac Sim PinholeCameraCfg 의 1920 × 1200.
|
| 113 |
+
- 50 sweep 중 1 demo 가 HDF5 bad-write 로 변환 단계에서 drop 됨 → 실제 학습 가능 데모는 **49개**.
|
| 114 |
+
|
| 115 |
+
## 라이선스
|
| 116 |
+
|
| 117 |
+
Apache 2.0 (데이터 + 부속 코드).
|