Text this: Solving continuous trajectory and forward kinematics simultaneously based on ANN