A New Approache on the trajectory planning of the robot for terminal spray