8000 global search has no initial guess · yobzhuu/robotics-toolbox-python@fc490d9 · GitHub
[go: up one dir, main page]

Skip to content

Commit fc490d9

Browse files
committed
global search has no initial guess
1 parent 3b035de commit fc490d9

File tree

1 file changed

+1
-6
lines changed
  • roboticstoolbox/robot

1 file changed

+1
-6
lines changed

roboticstoolbox/robot/IK.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -876,7 +876,7 @@ def cost(q, T, weight, costfun, stiffness):
876876
# --------------------------------------------------------------------- #
877877

878878
def ikine_global(
879-
self, T, q0=None, qlim=False, ilimit=1000,
879+
self, T, qlim=False, ilimit=1000,
880880
tol=1e-16, method=None, options={}):
881881
r"""
882882
.. warning:: Experimental code for using SciPy global optimizers.
@@ -895,11 +895,6 @@ def ikine_global(
895895
if not isinstance(T, SE3):
896896
T = SE3(T)
897897

898-
if q0 is None:
899-
q0 = np.zeros((self.n))
900-
else:
901-
q0 = base.getvector(q0, self.n)
902-
903898
solutions = []
904899

905900
# wr = 1 / self.reach

0 commit comments

Comments
 (0)
0