Text this: Dynamic Trajectory Generation for Spatially Constrained Mechanical Systems Using Harmonic Potential Fields