Trim highjump to 5 jumps (935 frames); add com_pos/total_mass; update card
Browse files- README.md +52 -6
- highjump.pkl +2 -2
README.md
CHANGED
|
@@ -22,17 +22,18 @@ Interactive viewer: **[Master Motion Sample Space](https://huggingface.co/spaces
|
|
| 22 |
| | |
|
| 23 |
|---|---|
|
| 24 |
| Clips | 2 (one file each) |
|
| 25 |
-
| Frames |
|
| 26 |
| FPS | 120 (inferred — see below) |
|
| 27 |
| DoF | 31 |
|
| 28 |
| Robot | FF Master (URDF `x2_ultra`) |
|
| 29 |
|
| 30 |
-
**One file per clip** — they are not bundled together.
|
|
|
|
| 31 |
|
| 32 |
| file | clip key | frames | duration | size |
|
| 33 |
|---|---|---|---|---|
|
| 34 |
| `jogging.pkl` | `jogging` | 1824 | 15.2 s | 1.3 MB |
|
| 35 |
-
| `highjump.pkl` | `highjump` |
|
| 36 |
|
| 37 |
## Loading
|
| 38 |
|
|
@@ -45,9 +46,9 @@ d = pickle.load(open("highjump.pkl", "rb"))
|
|
| 45 |
list(d) # ['highjump']
|
| 46 |
|
| 47 |
m = d["highjump"]
|
| 48 |
-
m["dof"].shape # (
|
| 49 |
-
m["root_trans_offset"].shape # (
|
| 50 |
-
m["root_rot"].shape # (
|
| 51 |
m["fps"] # 120
|
| 52 |
```
|
| 53 |
|
|
@@ -110,6 +111,44 @@ pose_aa[t, 1 + j] = dof_axes[j] * dof[t, j]
|
|
| 110 |
These clips come from human motion capture retargeted onto the Master kinematics. No physics
|
| 111 |
engine was involved, and they are **not dynamically feasible for the robot as-is**.
|
| 112 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
|
| 114 |
## Validation
|
| 115 |
|
|
@@ -118,3 +157,10 @@ python3 validate.py # keys, shapes, quaternion norms, pose_aa round-trip, con
|
|
| 118 |
# and flight-phase gravity computed from the shipped com_pos
|
| 119 |
```
|
| 120 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
| | |
|
| 23 |
|---|---|
|
| 24 |
| Clips | 2 (one file each) |
|
| 25 |
+
| Frames | 2759 total |
|
| 26 |
| FPS | 120 (inferred — see below) |
|
| 27 |
| DoF | 31 |
|
| 28 |
| Robot | FF Master (URDF `x2_ultra`) |
|
| 29 |
|
| 30 |
+
**One file per clip** — they are not bundled together. `highjump` is trimmed to 5 consecutive
|
| 31 |
+
jumps (source frames 654–1589 of a 21-jump take); `jogging` is the full take.
|
| 32 |
|
| 33 |
| file | clip key | frames | duration | size |
|
| 34 |
|---|---|---|---|---|
|
| 35 |
| `jogging.pkl` | `jogging` | 1824 | 15.2 s | 1.3 MB |
|
| 36 |
+
| `highjump.pkl` | `highjump` | 935 | 7.8 s | 0.7 MB |
|
| 37 |
|
| 38 |
## Loading
|
| 39 |
|
|
|
|
| 46 |
list(d) # ['highjump']
|
| 47 |
|
| 48 |
m = d["highjump"]
|
| 49 |
+
m["dof"].shape # (935, 31) joint angles, rad
|
| 50 |
+
m["root_trans_offset"].shape # (935, 3) base position, m
|
| 51 |
+
m["root_rot"].shape # (935, 4) base orientation, xyzw
|
| 52 |
m["fps"] # 120
|
| 53 |
```
|
| 54 |
|
|
|
|
| 111 |
These clips come from human motion capture retargeted onto the Master kinematics. No physics
|
| 112 |
engine was involved, and they are **not dynamically feasible for the robot as-is**.
|
| 113 |
|
| 114 |
+
### Flight-phase gravity is 0.72 g
|
| 115 |
+
|
| 116 |
+
Fitting a parabola to the centre-of-mass height over the middle two thirds of each of
|
| 117 |
+
`highjump`'s 5 flight phases gives a vertical acceleration of **−7.090 ± 0.057 m/s²**, not
|
| 118 |
+
−9.807 — a consistent **0.723 g**. The spread across phases is 0.8 %, so this is systematic,
|
| 119 |
+
not noise.
|
| 120 |
+
|
| 121 |
+
The likely cause is retargeting that rescaled the motion **spatially** to the robot's
|
| 122 |
+
proportions while keeping the human's **original timing**. Froude similarity requires time to
|
| 123 |
+
scale as √s when length scales by s; s = 0.723 implies the timeline should be compressed by
|
| 124 |
+
√0.723, i.e. replayed at 120 × 1.176 ≈ **141 Hz**. That reading is self-consistent: s = 0.723
|
| 125 |
+
against the URDF's 0.602 m standing pelvis height implies a 0.833 m human pelvis, i.e. a
|
| 126 |
+
subject about 1.57 m tall — a plausible capture subject.
|
| 127 |
+
|
| 128 |
+
**This dataset ships at the source timing, un-retimed.** Retiming was tested and does fix the
|
| 129 |
+
gravity (−9.843 ± 0.080 m/s², 0.37 % residual), but it pushes a few joints marginally past the
|
| 130 |
+
URDF velocity limits (`jogging` 1/31 at 106 %, `highjump` 3/31 at 105 %) and raises the jogging
|
| 131 |
+
cadence to 195 steps/min. To apply it yourself: resample the timeline by 1.176 and leave the
|
| 132 |
+
joint angles untouched.
|
| 133 |
+
|
| 134 |
+
### `jogging`'s contact pattern is a walk, not a run
|
| 135 |
+
|
| 136 |
+
Cadence is fine (166 steps/min) and swing clearance reaches 22 cm, but each foot is loaded
|
| 137 |
+
**79 %** of the time, double support is **65.6 %**, and flight phases have a median of only
|
| 138 |
+
**17 ms**. Real running has a duty factor below 0.5 and 100–200 ms of flight. Good enough as an
|
| 139 |
+
AMP style prior; per-frame tracking will not teach running dynamics.
|
| 140 |
+
|
| 141 |
+
`highjump`'s phase structure is sound: 73.8 % double support, 25.5 % airborne, 5 flight phases
|
| 142 |
+
with a 400 ms median.
|
| 143 |
+
|
| 144 |
+
### Other limits
|
| 145 |
+
|
| 146 |
+
- Residual ground penetration at the deepest frames: −1.9 cm (`jogging`), −3.6 cm (`highjump`).
|
| 147 |
+
- **Base pose is not robot-measurable.** It comes from the capture system, so it is valid as an
|
| 148 |
+
offline reference only — never as an observation the robot could produce on its own.
|
| 149 |
+
- Joint angles are all within the URDF position limits, and joint velocities stay inside the
|
| 150 |
+
URDF velocity limits (0/31 violations, peaking at 95 % of the limit). The clips are
|
| 151 |
+
**kinematically legal but dynamically inconsistent**.
|
| 152 |
|
| 153 |
## Validation
|
| 154 |
|
|
|
|
| 157 |
# and flight-phase gravity computed from the shipped com_pos
|
| 158 |
```
|
| 159 |
|
| 160 |
+
## Why 120 Hz
|
| 161 |
+
|
| 162 |
+
The source files carry no sample rate. 120 Hz is inferred from `jogging`'s cadence: the knee
|
| 163 |
+
angle's dominant period is 80–86 frames, which at 120 Hz is 166–180 steps/min — the normal
|
| 164 |
+
jogging band. 60 Hz would give ~87 steps/min (a stroll) and 240 Hz ~340 (impossible). The
|
| 165 |
+
gravity result above suggests the *dynamically* correct playback rate is ~141 Hz, so treat
|
| 166 |
+
120 Hz as the source timing rather than a physically validated one.
|
highjump.pkl
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b7cb8f791d6a39a5ef3726b653992d3a05473fc4d1d7369a033e324878715c01
|
| 3 |
+
size 660825
|