Safety-Enhanced Motion Planning for Flexible Surgical Manipulator Using Neural Dynamics