Text this: Heavy-duty Casting Robot Trajectory Planning Based on the Law of Composite Polynomial Motion