Master how to determine the DOF in a mechanical system with different kinematic joints and sliding/rolling contacts