Text this: Optimal Design of the Pitching Mechanism Considering the Influence of Erecting Angle Curves