Skip to content

Commit 844b73d

Browse files
committed
added seed and removed jl default
1 parent 4dd9574 commit 844b73d

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

roboticstoolbox/robot/DHRobot.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2439,8 +2439,9 @@ def ikine_LM(
24392439
ilimit: int = 30,
24402440
slimit: int = 100,
24412441
tol: float = 1e-6,
2442-
joint_limits: bool = True,
2442+
joint_limits: bool = False,
24432443
mask: Union[ArrayLike, None] = None,
2444+
seed: Union[int, None] = None,
24442445
):
24452446
return self.ets().ikine_LM(
24462447
Tep=Tep,
@@ -2450,6 +2451,7 @@ def ikine_LM(
24502451
tol=tol,
24512452
joint_limits=joint_limits,
24522453
mask=mask,
2454+
seed=seed,
24532455
)
24542456

24552457

roboticstoolbox/robot/ERobot.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2692,8 +2692,9 @@ def ikine_LM(
26922692
ilimit: int = 30,
26932693
slimit: int = 100,
26942694
tol: float = 1e-6,
2695-
joint_limits: bool = True,
2695+
joint_limits: bool = False,
26962696
mask: Union[ArrayLike, None] = None,
2697+
seed: Union[int, None] = None,
26972698
):
26982699
return self.ets(start, end).ikine_LM(
26992700
Tep=Tep,
@@ -2703,6 +2704,7 @@ def ikine_LM(
27032704
tol=tol,
27042705
joint_limits=joint_limits,
27052706
mask=mask,
2707+
seed=seed,
27062708
)
27072709

27082710

roboticstoolbox/robot/ETS.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2239,15 +2239,17 @@ def ikine_LM(
22392239
ilimit: int = 30,
22402240
slimit: int = 100,
22412241
tol: float = 1e-6,
2242-
joint_limits: bool = True,
2242+
joint_limits: bool = False,
22432243
mask: Union[ArrayLike, None] = None,
2244+
seed: Union[int, None] = None,
22442245
):
2245-
solver = IK_NR(
2246+
solver = IK_LM(
22462247
ilimit=ilimit,
22472248
slimit=slimit,
22482249
tol=tol,
22492250
joint_limits=joint_limits,
22502251
mask=mask,
2252+
seed=seed,
22512253
)
22522254

22532255
if isinstance(Tep, SE3):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy