Application of Genetic Algorithm for Trajectory Planning of Two Degrees of Freedom Robot Arm With Dimensions