← Open Source
noitom-robotics

AdaPT (Open on GitHub)

[CoRL 2026] The official implementation of "AdaPT: Towards Professional Tennis Styles for Humanoid Robots with Adaptive Motion Planning and Tracking.".

Model DevelopmentDomain-specific trainingPhysical AIPython
Momentum
+0stars in 24 hours0.0%
115
Stars
6
Forks
+0
This week
2
Contributors
Created 2026-08-20 · Updated 2026-11-18 · #28167 today
Top developers
lrf23TaoHuang13
README

AdaPT: Adaptive Motion Planning and Tracking

This is the official PyTorch implementation of the paper "Towards Professional Tennis Styles for Humanoid Robots with Adaptive Motion Planning and Tracking" by

Tao Huang, Ruofei Liu, Xuchen Tang, Xinyin Zhang, Junli Ren, Huayi Wang, Feiyu Jia, Yukai Qi, Kangning Yin, Weishuai Zeng, Lipeng Chen, Xi Li, Ting Wu, Kailin Li, Ruoli Dai, Jingbo Wang, Lei Han, Jiangmiao Pang

📑 Table of Contents

🔥 News

  • [2026-08] We release the training code for the first stage of our adaptive serve tracking.
  • [2026-08] We release the paper and demos of AdaPT.

🛠️ Installation Instructions

Clone this repository:

git clone https://github.com/noitom-robotics/AdaPT
cd AdaPT

Create the virtual environment and install dependencies with uv:

If uv is not installed yet, run one of the following:

# Recommended (Linux / macOS)
curl -LsSf https://astral.sh/uv/install.sh | sh

# Or via pip
pip install uv

Then create the project environment and install all dependencies:

uv sync

This creates a .venv directory in the project root and resolves packages from uv.lock. On Linux, PyTorch is installed with CUDA 12.x support by default.

Error Catching

Regarding potential installation errors, please refer to this document for solutions.

🤖 Run AdaPT on Unitree G1

Policy Training

uv run train Mjlab-ServeTracking-Flat-Unitree-G1-Stage1-RandomDt \
  --env.scene.num-envs 4096 \
  --env.commands.motion.motion-file dataset/player1/p1_serve.npz \
  --agent.run_name adapt_stage1_p1 \
  --agent.save-interval 2000 \
  --agent.max-iterations 28000

After training, you may play the resulted checkpoints, and we also provide the pretrained checkpoint:

uv run play Mjlab-ServeTracking-Flat-Unitree-G1-Stage1-RandomDt \
  --checkpoint-file ckpts/player1/model_24000.pt \
  --motion-file dataset/player1/p1_serve.npz \
  --racket-hand left

Train & Play Command Arguments

  • --racket-hand: Use left for player1 (left-handed athlete) and right for player2 (right-handed athlete). This selects the racket MJCF and hit-arm reward terms.
  • Hit-arm keyframes: Tune HIT_ARM_KEYFRAME_TIMES_S in stage1_tracking_env_cfg.py to match your motion clip (e.g., 3.4 s for player1, 1.84 s for player2).

✉️ Contact

For any questions, please feel free to email liurf23@mail2.sysu.edu.cn or taou.cs13@gmail.com. We will respond to it as soon as possible.

🏷️ License

This repository is released under the Apache-2.0 license. See LICENSE for additional details.

🎉 Acknowledgments

This repository is built upon the support and contributions of the following open-source projects. Special thanks to:

  • mjlab: The foundation for training and visualizing codes.
  • AdaMimic: Motion speed adaptive and keyframe tracking algorithm implementation.

📝 Citation

If you find our work useful, please consider citing:

@article{huang2026adapt,
  title={Towards Professional Tennis Styles for Humanoid Robots with Adaptive Motion Planning and Tracking},
  author={Tao Huang, Ruofei Liu, Xuchen Tang, Xinyin Zhang, Junli Ren, Huayi Wang, Feiyu Jia, Yukai Qi, Kangning Yin, Weishuai Zeng, Lipeng Chen, Xi Li, Ting Wu, Kailin Li, Ruoli Dai, Jingbo Wang, Lei Han, Jiangmiao Pang},
  journal={arXiv preprint arXiv:2608.20087},
  year={2026},
  url={https://arxiv.org/abs/2608.20087}
}
Nearby in the ranking
Similar items

AI Rank for iPhone

Follow AI model rankings

Download on the App Store