Text this: One-degree-of-freedom planar link leg mechanisms design without predetermined trajectory using a genetic algorithm