We present RoboKit, a high-performance, general-purpose toolkit for parallel differentiable optimization in robotics tasks, from inverse kinematics to simulation-based MPC. Its design follows three principles. (i) Performance and flexibility: it implements GPU-parallel optimizers from first-order to sampling-based methods, together with composable cost terms for different tasks. With well-tuned engineering, it outperforms existing baselines with 2-60$\times$ speedups. (ii) Geometry, rendering and physics: it goes beyond kinematics to geometry, rendering and simulation, and accelerates them with hybrid and coarse-to-fine representations. For example, with hybrid geometry it optimizes 4096 grasps in 2.97 s. (iii) Integration with learning: with GPU-parallel simulation and differentiable cost terms, it supports policy distillation and reinforcement learning. The distilled policies run up to 240$\times$ faster than optimization at comparable accuracy.
翻译:暂无翻译