tug-of-war
Arena Tug of War duck (Mjlab-TugOfWar-MicroDuck): the maker recipe with stay upright 1.0 and win ground 4.0, warm-started from our first tug duck and trained 250 more iterations against a league of frozen ducks from the board, 2048 envs. Code: https://github.com/notwitcheer/microduck-challenges/tree/tug-league. Simulation only. Not yet tested on a real Microduck.
A perpetual policy for the microduck (61-D observation, 14 actions, 50 Hz). Runs until told otherwise — a gait, loaded into a policy slot.
Run it on a robot
sudo robotctl policy load <slot> witcheer/microduck-tug-of-war
The observation normalizer is baked into policy.onnx; feed raw observations.
manifest.json follows schema 2 of the microduck policy manifest (docs/policy-manifest.md in the daemon repo).
Training
- task_id:
Mjlab-TugOfWar-MicroDuck - repo:
https://github.com/pollen-robotics/microduck-challenges.git - branch:
tug-league - commit:
f4cef5830 - checkpoint:
475 - seed:
7 - base:
mjlab-microduck 0.1.0 @ 1efd853be - started:
2026-10-31T13:52:29Z - exported from a checkout with uncommitted changes
Reproduce
Same code, same uv.lock, same command, same seed. Training it again yields a comparable policy, not the same weights: GPU reinforcement learning is not bit-reproducible across machines.
git clone https://github.com/pollen-robotics/microduck-challenges.git
cd microduck-challenges
git checkout f4cef5830
uv sync
uv run train Mjlab-TugOfWar-MicroDuck --env.scene.num-envs 2048 --agent.max-iterations 251 --agent.save-interval 25 --agent.seed 7 --agent.logger tensorboard --agent.run-name t2b --agent.resume True --agent.load-run seed_t2b --agent.load-checkpoint model_249.pt