Skip to content

Commit 703ef81

Browse files
committed
fixed bug with IK example
1 parent 5a9d5e2 commit 703ef81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ orientation parallel to y-axis (O=+Y)).
110110
from spatialmath import SE3
111111

112112
T = SE3(0.8, 0.2, 0.1) * SE3.OA([0, 1, 0], [0, 0, -1])
113-
sol = robot.ikine_unc(T) # solve IK
114-
print(sol.q) # display joint angles
113+
sol = robot.ikine_min(T) # solve IK
114+
print(sol.q) # display joint angles
115115

116116
[-0.01044 7.876 1.557 -6.81 1.571 4.686 0.5169]
117117

0 commit comments

Comments
 (0)