For modeling the tensegrity robot’s motion primitives, we use a simulator based on a differentiable physics engine. The code is available on GitHub.