South Koreatmjeong1103/RIMKit
Robot Intelligence Lab Motion Kit for human-to-humanoid motion retargeting
Featured achievements
The project's latest awards
#1 Repository of the week
#1 Repository of the week
#1 Repository of the week
RIMKit
RIMKit (Robot Intelligence Lab Motion Kit) converts
SOMA human motion into whole-body motion for
humanoid robots. The current release provides the
CoRe method for contact-aware
retargeting and bundles eleven targets
from Unitree Robotics, ROBOTIS, Apptronik, LimX Dynamics, Fourier Intelligence,
PNDbotics, Booster Robotics, and ENGINEAI behind one Python and command-line
interface, with robot-motion .npz and video export ready out of the box.
Source motions can be supplied as Kimodo
.npz files or GEM-X .pt files. RIMKit
selects the source adapter from the extension and normalizes both formats to the
same SOMA77 stage contract before retargeting.
RIMKit uses the MuJoCo simulator to load robot models, evaluate collision distances, and render motion previews.
Available methods
| ID | Method | Description |
|---|---|---|
core | CoRe | Contact-aware whole-body motion retargeting for humanoid robots |
List the methods exposed by the installed version with rimkit methods list.
The pipeline builds on robust robot motion retargeting and contact-aware motion refinement.
Highlights
- Contact-aware whole-body retargeting with collision refinement and grounding
- One pipeline for eleven bundled humanoid robot models
- Switch robots with a single
--robotargument - Compiled C++ MuJoCo kernels with a portable Python fallback
- Browser, command-line, and Python interfaces
- Kimodo
.npzand GEM-X.ptsource-motion adapters - Sixteen ready-to-run source motions: eight Kimodo
.npzand eight GEM-X.pt - Reproducible Kimodo and GEM-X batch generation across all eleven robots
Demo
Try RIMKit without installing it. Start with the bundled Kimodo
foot_walk_stop.npz or GEM-X scurry_walk.pt example in one click, or upload
your own .npz/.pt SOMA motion. The hosted browser interface runs RIMKit's
CoRe method across all eleven bundled humanoid robots, previews the final
motion, and provides the safe robot-motion .npz and manifest for download.
Launch the live demo on Hugging Face →
To run the same interface on your own machine, follow the local web demo installation. It creates an isolated Python environment before installing the web dependencies and starting the server.
Result videos
The gallery presents two representative source motions across all eleven supported humanoid robots. Results follow the public robot order: G1, H1, H2, R1, K1, Apollo, Oli, N1, ADAM Lite, T1, PM01.
Each motion uses one wide player row. Scroll horizontally to compare all eleven robots.
(From Kimodo) Stand, walk, run, stop — all 11 robots
| G1 | H1 | H2 | R1 | K1 | Apollo | Oli | N1 | ADAM Lite | T1 | PM01 |
(From GEM-X) Rapid Stepping — all 11 robots
| G1 | H1 | H2 | R1 | K1 | Apollo | Oli | N1 | ADAM Lite | T1 | PM01 |
Generate results for the other bundled Kimodo and GEM-X motions with scripts/generate_example_outputs.py.
Supported robots
| # | Manufacturer | Robot | Robot ID |
|---|---|---|---|
| 1 | Unitree Robotics | G1 29-DOF | g1 |
| 2 | Unitree Robotics | H1 | h1 |
| 3 | Unitree Robotics | H2 | h2 |
| 4 | Unitree Robotics | R1 | r1 |
| 5 | ROBOTIS | K1 | k1 |
| 6 | Apptronik | Apollo | apollo |
| 7 | LimX Dynamics | Oli | oli |
| 8 | Fourier Intelligence | N1 | n1 |
| 9 | PNDbotics | ADAM Lite | adam |
| 10 | Booster Robotics | T1 | t1 |
| 11 | ENGINEAI | PM01 | pm01 |
| — | More manufacturers | More humanoid robots coming soon | — |
Switch the target humanoid by changing a single --robot argument.
Supported platforms
RIMKit officially supports macOS and Ubuntu Linux with Python 3.10 through 3.13. The native backend, test suite, and package installation are validated on macOS; GitHub Actions runs the Python 3.10–3.13 test matrix, native backend, headless rendering, and Docker deployment checks on Ubuntu.
Installation
Installing from source requires a C++17 compiler; the package builds the native MuJoCo kernels during installation.
git clone https://github.com/tmjeong1103/RIMKit.git
cd RIMKit
python3.10 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
Choose the installation that matches the interface you want to use.
Command-line and Python interfaces
# Install CLI rendering plus both Kimodo .npz and GEM-X .pt input support.
python -m pip install -e ".[gemx,video]"
# Confirm that the compiled backend is available.
rimkit backend --require-native
Local web demo
The web extra includes the GEM-X, video-rendering, and browser-server
dependencies. Install it inside the activated virtual environment and start
the server:
python -m pip install -e ".[web]"
rimkit serve
The local browser demo listens on
http://127.0.0.1:8000 by default. Uploaded motions and
results stay on the local machine under runs/web. Open the address after the
server starts. Customize the host, port, upload limit, and storage directory
with:
rimkit serve \
--host 127.0.0.1 \
--port 8000 \
--runs-dir runs/web \
--max-upload-mb 256
The local demo executes one retargeting job at a time to keep MuJoCo and CPU usage predictable. Additional submissions wait in the local queue.
Deploy as a Hugging Face Space
RIMKit includes a production-oriented Docker Space image with the native C++ backend, headless MuJoCo rendering, bounded public queue, and automatic result expiration. Open the live RIMKit demo or see the Hugging Face deployment guide.
Quick start
RIMKit selects the source adapter from the filename extension. Run a bundled Kimodo motion on Unitree G1 with:
rimkit run \
examples/motions/kimodo/soma_rp_v11/stand_walk_run_stop.npz \
--method core \
--robot g1 \
--output runs/kimodo-g1 \
--video \
--thumbnail
Run a bundled GEM-X motion with the same command. GEM-X .pt does not store its
sampling rate, so pass the rate used to generate the motion; the bundled GEM-X
examples are 30 Hz:
rimkit run \
examples/motions/gem-x/rapid_stepping.pt \
--robot g1 \
--fps 30 \
--output runs/gemx-g1 \
--video \
--thumbnail
The generated results are written below the selected output root:
runs/kimodo-g1/stand_walk_run_stop/g1/
├── final/robot_motion.npz
├── preview/final.mp4
├── preview/final.png
└── manifest.json
runs/gemx-g1/rapid_stepping/g1/
├── final/robot_motion.npz
├── preview/final.mp4
├── preview/final.png
└── manifest.json
To target another robot, change --robot g1 to any ID in the supported-robots
table above.
Compute backend selection
RIMKit uses the compiled C++ backend automatically when it is available. Every
result manifest records the requested and selected backend. Use
--backend native to require C++, or --backend python to run the portable
Python backend explicitly:
rimkit backend
rimkit run \
examples/motions/kimodo/soma_rp_v11/stand_walk_run_stop.npz \
--robot g1 \
--output runs/native-g1 \
--backend native
Replace the bundled .npz path with the path to your own Kimodo .npz or
GEM-X .pt source motion when needed.
Generate all 16 bundled motions for all 11 robots
Kimodo (.npz):
python scripts/generate_example_outputs.py \
--source-set kimodo \
--output runs/example-outputs \
--gallery-dir docs/media/final
GEM-X (.pt, 30 Hz):
python scripts/generate_example_outputs.py \
--source-set gem-x \
--output runs/gem-x-example-outputs \
--gallery-dir docs/media/final
Add --resume to continue an interrupted batch.
Python API
The Python API uses the same extension-based dispatch and output format as the
CLI. Run a Kimodo .npz with its embedded or default FPS:
from rimkit import Retargeter, RunConfig
kimodo_result = Retargeter(
"g1",
RunConfig(robot="g1", backend="auto"),
).run(
"examples/motions/kimodo/soma_rp_v11/stand_walk_run_stop.npz",
"runs/python-kimodo-demo",
render_video=True,
render_thumbnail=True,
)
print(kimodo_result.final_motion_path)
print(kimodo_result.video_path)
For GEM-X .pt, use the same API and supply the source FPS explicitly:
from rimkit import Retargeter, RunConfig
gemx_result = Retargeter(
"g1",
RunConfig(robot="g1", fps=30.0, backend="auto"),
).run(
"examples/motions/gem-x/rapid_stepping.pt",
"runs/python-gemx-demo",
render_video=True,
render_thumbnail=True,
)
print(gemx_result.final_motion_path)
print(gemx_result.video_path)
Input and output
SOMA-compatible source motions can be generated with Kimodo or GEM-X. RIMKit dispatches by extension:
.npzmeans a Kimodo SOMA77 motion with global joint positions and rotations..ptmeans a GEM-X SOMA body-parameter result. Install thegemxextra for command-line or Python.ptinput:python -m pip install -e ".[gemx,video]". Thewebextra already includes this dependency.
See the source-motion contract for the required keys,
FPS behavior, and safe-loading rules. The bundled examples contain eight
Kimodo .npz motions and eight GEM-X .pt motions.
Regardless of source format, the output remains a versioned robot-motion .npz
containing timestamps, MuJoCo qpos, named root/joint layouts, and contact
information. It has no object arrays or pickle payloads. Load it safely with:
import numpy as np
motion = np.load("robot_motion.npz", allow_pickle=False)
qpos = motion["qpos"]
[!NOTE] RIMKit is research software. Inspect generated motions in simulation before using them on physical hardware.
Documentation
- Input motion format
- CoRe method
- Robot models
- Pipeline architecture
- Migration from CoRe 0.1
- Licenses and provenance
Contact
RIMKit is created and maintained by Taemoon Jeong.
- Email: taemoon-jeong@korea.ac.kr
- Profiles: GitHub · LinkedIn · Google Scholar
- Bug reports and feature requests: GitHub Issues
Acknowledgments
This project was developed at the Robot Intelligence Lab, Korea University, under the guidance of Professor Sungjoon Choi.
Citation
If you use RIMKit's current CoRe method, please cite both papers:
@inproceedings{jeong2025core,
author = {Jeong, Taemoon and Chai, Yoonbyung and Choi, Sol and
Bak, Jaewan and Kim, Chanwoo and Yoon, Jihwan and
Lee, Yisoo and Lee, Jongwon and Lee, Kyungjae and
Kim, Joohyung and Choi, Sungjoon},
title = {CoRe: A Hybrid Approach of Contact-Aware Optimization
and Learning for Humanoid Robot Motions},
booktitle = {2025 IEEE-RAS 24th International Conference on
Humanoid Robots (Humanoids)},
year = {2025},
pages = {293--300},
doi = {10.1109/Humanoids65713.2025.11203055}
}
@inproceedings{jeong2025robust,
author = {Jeong, Taemoon and Byun, Taehyun and Kim, Jihoon and
Choi, Keunjun and Oh, Jaesung and Lee, Sungpyo and
Darwish, Omar and Kim, Joohyung and Choi, Sungjoon},
title = {Robust and Expressive Humanoid Motion Retargeting via
Optimization-Based Rig Unification},
booktitle = {2025 IEEE/RSJ International Conference on
Intelligent Robots and Systems (IROS)},
year = {2025},
pages = {21619--21626},
doi = {10.1109/IROS60139.2025.11246607}
}
License
RIMKit source code is released under the Apache License 2.0. The bundled example motions are licensed under CC BY 4.0, Copyright 2026 Taemoon Jeong. Bundled robot descriptions retain their respective licenses and provenance; see THIRD_PARTY_NOTICES.md and docs/licenses.md for details.
Similar Projects
Discover other similar projects and AI models.
Multi-Joint dynamics with Contact. A general purpose physics simulator.
openpilot is an operating system for robotics. Currently, it upgrades the driver assistance system on 300+ supported cars.
Python sample codes and textbook for robotics algorithms.
Unified framework for robot learning with multi-physics/renderer support
An open-source, GPU-accelerated physics simulation engine built upon NVIDIA Warp, specifically targeting roboticists and simulation researchers.