Mark deploy patches as applied; add RealSense camera setup and gripper-convention check
Browse files
README.md
CHANGED
|
@@ -96,17 +96,24 @@ the demonstrated range, so it does **not** need the gripper clamp the B-spline v
|
|
| 96 |
|
| 97 |
## Deployment
|
| 98 |
|
| 99 |
-
Environment setup, arm bring-up, and the five repo patches for joint-space
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
|
| 105 |
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 110 |
|
| 111 |
```bash
|
| 112 |
hf download Dimios45/yam-duster-dp deploy_ema.ckpt --local-dir ./ckpt
|
|
|
|
| 96 |
|
| 97 |
## Deployment
|
| 98 |
|
| 99 |
+
Environment setup, camera configuration, arm bring-up, and the five repo patches for joint-space
|
| 100 |
+
actions are identical to the
|
| 101 |
+
[B-spline model card](https://huggingface.co/Dimios45/yam-duster-bspline-dp) — follow steps 1–4
|
| 102 |
+
there. Those patches are **applied and verified** in the working tree these models were trained
|
| 103 |
+
from, but are **not** in upstream `B-spline-policy/bspline-policy`; apply them yourself if you
|
| 104 |
+
start from upstream. The gripper clamp in `decode_action_vector` is unnecessary for this model
|
| 105 |
+
(see below) but harmless and worth keeping.
|
| 106 |
+
|
| 107 |
+
They are needed because the upstream rollout path decodes **end-effector** actions (its iPhone
|
| 108 |
+
teleop records EE poses), while this model predicts **joints** — a difference in what was
|
| 109 |
+
recorded, not in the LeRobot file format. Two things carry over unchanged: a missing `top_image`
|
| 110 |
+
does not raise (`policy_local_bspline.py:625-629` feeds a black frame, so a dead camera yields a
|
| 111 |
+
half-blind policy rather than an error), and image resolution needs no change because the rollout
|
| 112 |
+
resizes from the checkpoint's `shape_meta`. The top camera is an Intel RealSense; use
|
| 113 |
+
`TOP_CAMERA_TYPE = 'realsense'` so the RGB pipeline matches training.
|
| 114 |
+
|
| 115 |
+
The gripper-convention check in the B-spline card applies here too — verify it before the first
|
| 116 |
+
rollout, or the policy will open to grasp and close to release.
|
| 117 |
|
| 118 |
```bash
|
| 119 |
hf download Dimios45/yam-duster-dp deploy_ema.ckpt --local-dir ./ckpt
|