Kamino: GPU-based Simulation of Rigid Multi-Body Physics with Kinematic Loops
Disney Research (with ETH Zurich) · Uploaded · 6:44 · Watch on YouTube
Disney Research and ETH Zurich present Kamino, a GPU solver that treats joints, limits and contacts as hard constraints. The video shows it simulating robots with closed kinematic loops, such as bipeds and animatronic figures, and policies trained in it transferring to real robots.
Transcript
Captions as a .vtt fileEmbed with the transcript
- 0:00We present Kamino, a GPU-based solver for rigid multibody systems.
- 0:06Kamino targets the massively parallel simulation of highly coupled mechanical systems
- 0:10with a focus on generality and accuracy.
- 0:14Joints, limits, and contacts are treated as hard constraints
- 0:17and resolved by a proximal ADMM solver without softening any of the underlying physics.
- 0:23The resulting simulator robustly handles complex robots with minimal parameter tuning.
- 0:28Kamino natively supports arbitrary joint topologies,
- 0:31which allows robot designs to take advantage of closed-loop mechanisms with no special modelling.
- 0:37The shoulder of this Olaf robot makes use of a parallel mechanism
- 0:41to build a function with two degrees of freedom.
- 0:47Kamino is built for many-world parallelisation,
- 0:50allowing it to run thousands of simulations in parallel on a single GPU.
- 0:55With this, it can serve as the basis for large-scale reinforcement learning methods
- 0:59that enable characters to walk and perform through training and simulation.
- 1:04Policies trained with Kamino transfer well to the real robot,
- 1:07where they enable robust walking and expressive motions.
- 1:12Kamino's focus on generality allows it to robustly simulate models
- 1:16with arbitrary topology with minimal tuning.
- 1:19For the following simulation examples,
- 1:21we also compare Kamino to other solvers from the Newton simulation framework.
- 1:25DR-Legs is a bipedal robot exhibiting six kinematic loops.
- 1:31In this simulation scenario,
- 1:33a predefined animation is tracked using a joint-space PD controller.
- 1:38Kamino simulates this scenario without major parameter tuning,
- 1:41while other solvers can struggle to find good simulation parameters.
- 1:44Minimal coordinate solvers, like MJ-WARP,
- 1:49rely on a tree topology with loop closure constraints.
- 1:52The specific choice of topology can have a significant influence on the simulation result.
- 1:57XPBD needs to use a small time step at half the animation speed
- 2:02to simulate a stable gate.
- 2:05The Ironman model is a complex audio-animatronics figure
- 2:08with 15 kinematic loops and large mass ratios.
- 2:12Kamino succeeds in simulating this figure with minimal tuning.
- 2:25MJ-WARP needs tuning of its loop closure parameters
- 2:28and a small time step to avoid excessive constraint violations.
- 2:36XPBD requires a large number of iterations and a small time step
- 2:40to avoid an overly soft actuator behavior.
- 2:46The Herbermann sphere is a model with an extreme number of kinematic loops.
- 2:50In this simulation, it spins in zero gravity,
- 2:54expanding and contracting due to its momentum.
- 2:56All tested solvers handle this simulation well at a moderate angular velocity,
- 3:01but for higher velocities, MJ-WARP needs parameter tuning
- 3:04and smaller time steps to successfully simulate this scenario.
- 3:09In this example, a two-finger arm is stacking three cubes on top of each other.
- 3:14Kamino simulates this scenario smoothly,
- 3:16showing that it can provide the necessary contact stability
- 3:19to enable the simulation of manipulation tasks.
- 3:21As shown on the OLAF example,
- 3:27Kamino can be used as the simulation building block
- 3:29to train reinforcement learning policies.
- 3:32For BDX, a biped robot,
- 3:34policies trained in Kamino show stable and expressive walking motions,
- 3:38both in simulation and on the real robot.
- 3:43For DR legs, a learned policy can make the complex model walk robustly.
- 4:02With Kamino's ability to simulate heterogeneous worlds with different robot models,
- 4:14we can also conveniently train policies that support different variants of a model.
- 4:18In this example, a single policy learns to track velocity commands
- 4:23for three-, four-, and five-legged variants of the ANT model.
- 4:26Finally, we run simulations for four elementary examples
- 4:30to validate how well Kamino and other simulators
- 4:33solve the underlying physical principles.
- 4:36In this friction example,
- 4:38a horizontal force pushes a box past its stick-slip threshold.
- 4:46Kamino matches the reference trajectory,
- 4:48while XPBD starts sliding too early.
- 4:53The tuning necessary for MJ-Warp
- 4:55can lead to the box sticking for too long
- 4:57or sinking into the ground.
- 5:01This bouncing ball example
- 5:02shows the restitution behavior of the different simulators.
- 5:05Kamino and XPBD both match the expected bouncing behavior.
- 5:11While MJ-Warp has no native restitution,
- 5:13the behavior can be emulated with a tuned spring damper
- 5:16at the expense of significant ground penetration.
- 5:19This example of a box being dropped onto another box
- 5:22tests how a simulator behaves for different mass ratios of the boxes.
- 5:27XPBD produces different results for different ratios,
- 5:30which are also highly dependent on the number of solve reiterations.
- 5:34MJ-Warp leads to significant penetrations in the simulation,
- 5:44depending on the specific mass ratio.
- 5:48Kamino produces the correct result for all mass ratios.
- 5:55This example of a passive four-bar linkage
- 5:57tests energy conservation in the presence of a kinematic loop.
- 6:02XPBD satisfies the constraints most tightly,
- 6:05but dissipates the most energy.
- 6:09MJ-Warp may inject energy through its loop closure constraints,
- 6:12depending on the settings.
- 6:30Kamino dissipates energy only mildly,
- 6:33and a single stabilization weight
- 6:34controls the dissipation rate and constraint accuracy.
Discussion
A mail when somebody comments. No account needed.
The newsletter
Get our free newsletter with new robots, prices and robotics news.