MATLAB Examples

Rolling Sphere

This example shows a sphere rolling in two dimensions with rolling constraints between translation and rotation. The sphere has two independent degrees of freedom (DoFs). The model represents them as translational DoFs. The rolling is implemented by two rolling constraints that relate the linear and angular velocities of the sphere.