Convex Path Optimization for Irreducible Robot in Workspace