Skip to content

Commit

Permalink
test: fix multiple trial in ik
Browse files Browse the repository at this point in the history
  • Loading branch information
HiroIshida committed Aug 3, 2024
1 parent ecb3b90 commit 91903af
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions python/tests/test_ik.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ def _test_ik(with_rot: bool, with_self_collision: bool):
ineq_cst = None

lb, ub = fs.angle_bounds()
ret = solve_ik(eq_cst, ineq_cst, lb, ub, None)
print(ret)
for _ in range(20):
ret = solve_ik(eq_cst, ineq_cst, lb, ub, None)
if ret.success:
break
assert ret.success


Expand Down

0 comments on commit 91903af

Please sign in to comment.