README: force columns recomputed from the calibration-free reconstruction; stiffness raised to 2 N/mm so no commanded target sits deeper than the gel
Browse files
README.md
CHANGED
|
@@ -132,38 +132,39 @@ observation = obs # where the sensor actually was
|
|
| 132 |
assert np.array_equal(action[f == 0], observation[f == 0])
|
| 133 |
```
|
| 134 |
|
| 135 |
-
That identity is not a claim — it is checked element-wise over all **
|
| 136 |
free-space rows of the release, maximum deviation `0.0`, quaternions included.
|
| 137 |
Nothing changes where nothing is touched, so a model trained on `target_pose`
|
| 138 |
degenerates to the pose-only model in free space and differs only in contact.
|
| 139 |
|
| 140 |
#### Choosing `k` — it is your controller's number, not ours
|
| 141 |
|
| 142 |
-
`k =
|
| 143 |
metadata (`twm.stiffness_n_per_mm`) and in each `<episode>.force.json`, so a
|
| 144 |
-
target pose is never uninterpretable. It is
|
| 145 |
-
|
|
|
|
| 146 |
|
| 147 |
-
| | penetration at `k =
|
| 148 |
|---|---|---|
|
| 149 |
-
| p95 over all rows |
|
| 150 |
-
| p95 over **contact** rows |
|
| 151 |
-
| maximum | 7.
|
| 152 |
|
| 153 |
-
**
|
| 154 |
-
|
|
|
|
|
|
|
| 155 |
|
| 156 |
-
|
| 157 |
-
|
| 158 |
-
percentile over all rows is mostly a percentile of zeros.
|
| 159 |
-
* `k ≥ 1.62 N/mm` — p95 over **contact** rows inside the gel. Use this one.
|
| 160 |
-
* `k ≥ 1.72 N/mm` — even the hardest press inside the gel.
|
| 161 |
|
| 162 |
-
|
|
|
|
| 163 |
|
| 164 |
```python
|
| 165 |
-
K =
|
| 166 |
-
n_hat = (tgt[:, :3] - obs[:, :3]) # F/k · n̂ at the shipped k
|
| 167 |
n_hat /= np.linalg.norm(n_hat, axis=1, keepdims=True) + 1e-12
|
| 168 |
my_target = obs.copy()
|
| 169 |
my_target[:, :3] = obs[:, :3] + (f / K)[:, None] * n_hat
|
|
@@ -172,13 +173,16 @@ my_target[:, :3] = obs[:, :3] + (f / K)[:, None] * n_hat
|
|
| 172 |
#### Read this before using the numbers
|
| 173 |
|
| 174 |
- **Accuracy is rank-order within a group, not a certified absolute scale.**
|
| 175 |
-
Held out by press position the estimator scores ρ = 0.
|
| 176 |
-
own calibration objects
|
| 177 |
-
|
|
|
|
|
|
|
|
|
|
| 178 |
other frames*; it is not a load cell. Do not report absolute newtons from
|
| 179 |
this dataset as ground truth.
|
| 180 |
-
- **Forces saturate at 7.
|
| 181 |
-
hardest press it was fitted on, so
|
| 182 |
Treat the maximum as a floor, not a measurement, and consider masking rows at
|
| 183 |
the ceiling out of a regression loss.
|
| 184 |
- **Duplicate tactile rows repeat the previous estimate.** The GelSight stream
|
|
|
|
| 132 |
assert np.array_equal(action[f == 0], observation[f == 0])
|
| 133 |
```
|
| 134 |
|
| 135 |
+
That identity is not a claim — it is checked element-wise over all **294,653**
|
| 136 |
free-space rows of the release, maximum deviation `0.0`, quaternions included.
|
| 137 |
Nothing changes where nothing is touched, so a model trained on `target_pose`
|
| 138 |
degenerates to the pose-only model in free space and differs only in contact.
|
| 139 |
|
| 140 |
#### Choosing `k` — it is your controller's number, not ours
|
| 141 |
|
| 142 |
+
`k = 2.0 N/mm` is a **declared assumption**, recorded in the parquet field
|
| 143 |
metadata (`twm.stiffness_n_per_mm`) and in each `<episode>.force.json`, so a
|
| 144 |
+
target pose is never uninterpretable. It is not a measured property of your
|
| 145 |
+
environment — but it is chosen so the shipped column is at least *physically
|
| 146 |
+
possible*:
|
| 147 |
|
| 148 |
+
| | penetration at the shipped `k = 2.0` | inside the 4.25 mm gel? |
|
| 149 |
|---|---|---|
|
| 150 |
+
| p95 over all rows | 3.65 mm | yes |
|
| 151 |
+
| p95 over **contact** rows | 3.93 mm | yes |
|
| 152 |
+
| maximum | 7.870 N → 3.935 mm | yes |
|
| 153 |
|
| 154 |
+
**0.00%** of rows exceed the gel thickness. This matters because a target
|
| 155 |
+
displaced further past the surface than the gel can be compressed asks for a
|
| 156 |
+
pose that cannot be reached by pressing. Earlier releases shipped `k = 1 N/mm`,
|
| 157 |
+
where 14.98% of rows were in that state.
|
| 158 |
|
| 159 |
+
The binding constraint is `k ≥ 1.86 N/mm` — the hardest press (7.870 N) inside
|
| 160 |
+
a 4.25 mm gel. Anything softer puts some rows outside it.
|
|
|
|
|
|
|
|
|
|
| 161 |
|
| 162 |
+
If your controller is stiffer, recompute rather than rescale, since the
|
| 163 |
+
direction matters:
|
| 164 |
|
| 165 |
```python
|
| 166 |
+
K = 4.0 # your controller's stiffness
|
| 167 |
+
n_hat = (tgt[:, :3] - obs[:, :3]) # F/k · n̂ at the shipped k
|
| 168 |
n_hat /= np.linalg.norm(n_hat, axis=1, keepdims=True) + 1e-12
|
| 169 |
my_target = obs.copy()
|
| 170 |
my_target[:, :3] = obs[:, :3] + (f / K)[:, None] * n_hat
|
|
|
|
| 173 |
#### Read this before using the numbers
|
| 174 |
|
| 175 |
- **Accuracy is rank-order within a group, not a certified absolute scale.**
|
| 176 |
+
Held out by press position the estimator scores ρ = 0.781 / MAE 1.07 N on its
|
| 177 |
+
own calibration objects — but that holdout is only 158 presses and a paired
|
| 178 |
+
bootstrap cannot separate it from the previous reconstruction (95% CI on the
|
| 179 |
+
difference [-0.081, +0.120]). The evidence that it is the better estimator is
|
| 180 |
+
external: on five public force-labelled datasets the same pipeline reaches
|
| 181 |
+
ρ 0.648–0.996 over 604–2,000 scored presses each. It is reliable for *how hard, relative to
|
| 182 |
other frames*; it is not a load cell. Do not report absolute newtons from
|
| 183 |
this dataset as ground truth.
|
| 184 |
+
- **Forces saturate at 7.870 N.** The calibration's isotonic stage clips at the
|
| 185 |
+
hardest press it was fitted on, so 2.22% of samples sit exactly at that value.
|
| 186 |
Treat the maximum as a floor, not a measurement, and consider masking rows at
|
| 187 |
the ceiling out of a regression loss.
|
| 188 |
- **Duplicate tactile rows repeat the previous estimate.** The GelSight stream
|