A New Method of Mobility Calculation for Planar Mechanisms