The robot should follow a trapezoidal or an S-Curve motion profile to prevent it from accelerating with a jerk.