UFO-MotionData / README.md
xuewang's picture
Document RPO motion data
aab2c04 verified
|
Raw History Blame Contribute Delete
2.98 kB
---
language: en
tags:
- robotics
- motion-capture
- mujoco
license: cc-by-nc-nd-4.0
---
# UFO Motion Data
Robot-specific LaFAN motions for [UFO](https://github.com/Roboparty/UFO), ready for its mjlab training and inference commands.
| Robot | Full motions | Training data | Format |
|---|---|---|---|
| G1, 29 controlled joints | `g1/lafan_29dof.pkl` (40 motions) | `g1/lafan_29dof_10s-clipped.pkl` | UFO motion PKL |
| RP1.3, 24 controlled joints | `rp1/rp1_24dof_lafan_v7.pkl` (55 motions) | `rp1/rp1_24dof_lafan_v7_10s-clipped.pkl` (1,166 clips) | UFO motion PKL, 50 Hz |
| RPO, 23 controlled joints | `rpo/rpo_23dof_lafan_grounded.pkl` (56 motions) | `rpo/rpo_23dof_lafan_grounded_10s-clipped.pkl` (1,168 clips) | UFO motion PKL, 50 Hz |
The RP1 and RPO full-motion files contain 569,512 and 570,115 frames respectively. Training clips are at most 10 seconds, including shorter final clips. Use full motions for motion IDs and goal frame indices; clipping changes the IDs. Robot-specific motions are not interchangeable.
## Download
From the root of the current UFO checkout:
```bash
uv sync --locked
bash scripts/download_data.sh g1_lafan
bash scripts/download_data.sh rp1_lafan
bash scripts/download_data.sh rpo_lafan
```
Each command downloads both files for its robot into `ufo/data/`, checks SHA256, and skips files already verified. `SHA256SUMS` lists all six file hashes.
```bash
./run_train.sh --robot g1 --agent fb --gpu-ids all
./run_train.sh --robot rp1 --agent fb --gpu-ids all
./run_train.sh --robot rpo --agent fb --gpu-ids all
```
For manual downloads, use `hf download xuewang/UFO-MotionData --repo-type dataset --local-dir motion_data`, then copy the desired robot's PKL files into `UFO/ufo/data/`.
## RP1 and RPO format
Each file is a dictionary keyed by motion name (or `name__clipNNN`). Motions contain root translation, XYZW root quaternion, joint position and velocity, axis-angle body pose, joint/body names and provenance metadata. Root translation is Z-up, joint positions are radians, and body linear/angular velocities are in world coordinates. Use the matching robot YAML and XML from UFO.
## Source and terms
The original motions are from [Ubisoft La Forge Animation Dataset (LAFAN1)](https://github.com/ubisoft/ubisoft-laforge-animation-dataset). RP1 and RPO motions were retargeted to their respective RoboParty robots; conversion preserves joint velocities and verifies joint/body order and kinematics.
The source dataset is provided under [CC BY-NC-ND 4.0](https://github.com/ubisoft/ubisoft-laforge-animation-dataset/blob/master/license.txt). Its source rights and restrictions remain applicable; this repository does not grant additional rights to the underlying motions. Credit: Félix G. Harvey, Mike Yurick, Derek Nowrouzezahrai and Christopher Pal, *Robust Motion In-Betweening*, ACM Transactions on Graphics, 2020.
For RP1 UFO deployment, see [Roboparty/roboparty_deploy](https://github.com/Roboparty/roboparty_deploy).