Trajectory planning and base attitude restoration of dual-arm free-floating space robot by enhanced bidirectional approach