I have a robot which has two phases of motion. They have null space motion and the underactuated motion. The trajectory planning method for each phase is different. But these motions are integrated together in one trajectory by interpolation. Moreover, the null space motion is calculated first, then the underactuated motion is calculated by using the positions, velocities, and accelerations as boundary conditions for the underactuated motion. In these boundary points, how can I solve the problem of small discontinuity in trajectory for the robot as shown in the attached figure?
Usually, these discontinuities are causing a high torque in the small period.
Regards