Contact-Implicit Trajectory Optimization: Planning Through Contact

How to optimize robot trajectories without pre-specifying when or where contact happens — complementarity constraints, DIRCON, Drake, and GPU-based randomized smoothing with MuJoCo MJX.

In this article

  • Why Traditional Trajectory Optimization Breaks at Contact
  • The Complementarity Constraint Formulation
  • Foundational Mathematics: Non-Convex Optimization of Complementarity
  • DIRCON: Direct Collocation with Contact
  • Tools That Actually Implement This
  • A Minimal Drake DIRCON Example
  • Randomized Smoothing: The GPU Alternative
  • When to Actually Use Contact-Implicit TO
  • The Connection to Learning-Based Methods
  • Practical Takeaways