Degrees of Freedom

 

Example:
A pendulum is connected to a fixed block using a revolute joint. The revolute constraint removes 5 DOF from the pendulum and leaves 1 rotational DOF.

If a motor was used in place of the revolute constraint, the motor is also considered a constraint and removes the same DOF as a Revolute but it also removes a DOF for the main rotational axis. In this case, the system would have 0 DOF. Even though it would still rotate about the Z axis, this rotation is fully controlled (or defined).