tug-of-war
Mjlab-TugOfWar-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> Nico-robot/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-of-war - commit:
c2333dd53 - checkpoint:
250 - seed:
2 - base:
mjlab-microduck 0.1.0 @ 8d0dbc94c - started:
2026-10-22T14:14:17Z
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 c2333dd53
uv sync
uv run train Mjlab-TugOfWar-MicroDuck --env.scene.num-envs 4096 --agent.max-iterations 1000 --agent.seed 2 --agent.logger tensorboard --agent.run-name t23