Train a Microduck#
Microduck, a small two-legged robot from Pollen Robotics, has a surprisingly difficult job.
Waddle around while keeping its body upright.
You’ll train Microduck to balance in place, then teach it to walk at a requested speed and turn on command. Watch how its feet move when you change the rewards. Does each foot take a turn in front?
These locomotion fundamentals will help you read the full IsaacLab-MicroDuck demo code and the Microduck training guide or build a walking task of your own.
Steer the walking policy you’ll use in this module. Start by moving forward, then turn. Watch how Microduck places its feet as you change direction. The policy runs live in the browser on an empty, flat plane.
You can also steer Microduck with the original policy in the Isaac Lab interactive demo.
Here’s an outline of what you’ll do in this module.
In Isaac Lab Basics, you worked with environment configurations, managers, and proximal policy optimization (PPO). Here, you’ll assemble your own scene and tasks in the IsaacLabTutorial starter checkout. The Robot Learning Fundamentals lessons provide optional background on the concepts behind the exercises in this module.
Learning Objectives
Set up IsaacLabTutorial and configure the Microduck asset and contact sensors.
Trace joint actions through the servo model to measured motion.
Define and train a balance task, then a walking task that follows commands.
Explain how individual reward terms encourage behavior and can create tradeoffs.
Compare policies using fixed commands, failure rates, and tracking measurements.
Before You Begin#
The next lesson will describe hardware and software requirements. You should be comfortable running shell commands, editing Python classes, and reading configuration fields. You’ll build each task from the lesson code and run a short check before evaluating a policy. You can train your own policy (the network that chooses actions) or use the supplied checkpoint (a saved, trained policy). Full training runs, tests across push directions and strengths, and the rough-terrain extension are optional.
Set aside 2–3 hours for the activities, plus time for installation and any full training runs you choose to do. You can explore how trained policies move using the videos and interactive replays.
How to Work Through the Lessons#
Before each experiment, write down what you expect the robot to do. Then watch what happens. Did it finish the task? Did it move as requested? Watch its feet too, especially if the robot follows a command but walks differently than you expected.
The exercises use Isaac Lab 3 with Microduck and BAM motor support included in your project. BAM (Better Actuator Models), from the Rhoban BAM project, uses fitted servo-motor models to simulate friction and other motor effects.