I am doing research on robot trajectory planning. Specifically, trajectory planning through waypoints. Basically, I have a set of waypoints and I need to generate a trajectory that passes through those positions. Thus, I know that is possible to achieve that with moveIt and I would like to understand the concept behind. How is it done? Is done by cubic/quintic polynomial functions between every 2 positions? Spline functions?