Skip to content

Commit abf7a5b

Browse files
committed
reinstate IK_LM for DHRobot
1 parent 03b0165 commit abf7a5b

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

roboticstoolbox/robot/DHRobot.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2436,6 +2436,29 @@ def ik_gn(
24362436
)
24372437

24382438

2439+
def ikine_LM(
2440+
self,
2441+
Tep: Union[np.ndarray, SE3],
2442+
q0: Union[ArrayLike, None] = None,
2443+
ilimit: int = 30,
2444+
slimit: int = 100,
2445+
tol: float = 1e-6,
2446+
joint_limits: bool = False,
2447+
mask: Union[ArrayLike, None] = None,
2448+
seed: Union[int, None] = None,
2449+
):
2450+
return self.ets().ikine_LM(
2451+
Tep=Tep,
2452+
q0=q0,
2453+
ilimit=ilimit,
2454+
slimit=slimit,
2455+
tol=tol,
2456+
joint_limits=joint_limits,
2457+
mask=mask,
2458+
seed=seed,
2459+
)
2460+
2461+
24392462
class SerialLink(DHRobot):
24402463
def __init__(self, *args, **kwargs):
24412464
warnings.warn(

0 commit comments

Comments
 (0)