Skip to content

Commit

Permalink
Merge pull request #150 from MaximilienNaveau/topic/mnaveau/fix-unit-…
Browse files Browse the repository at this point in the history
…tests

Fix unit-test
  • Loading branch information
MaximilienNaveau authored Jan 23, 2025
2 parents a8dac7c + fe8e9d6 commit 92affe5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions agimus_controller/tests/test_ocp_croco_goal_reaching.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ class TestOCPGoalReaching(unittest.TestCase):
def setUp(self):
### LOAD ROBOT
robot = robex.load("panda")
urdf_path = Path(robot.urdf)
srdf_path = Path(robot.urdf.replace("urdf", "srdf"))
urdf_meshes_dir = urdf_path.parent.parent.parent.parent.parent
urdf = Path(robot.urdf)
srdf = Path(robot.urdf.replace("urdf", "srdf"))
urdf_meshes_dir = urdf.parent.parent.parent.parent.parent
free_flyer = False
locked_joint_names = ["panda_finger_joint1", "panda_finger_joint2"]
reduced_nq = robot.model.nq - len(locked_joint_names)
Expand All @@ -34,8 +34,8 @@ def setUp(self):
full_q0=full_q0,
free_flyer=free_flyer,
locked_joint_names=locked_joint_names,
urdf_path=urdf_path,
srdf_path=srdf_path,
urdf=urdf,
srdf=srdf,
urdf_meshes_dir=urdf_meshes_dir,
collision_as_capsule=True,
self_collision=False,
Expand Down

0 comments on commit 92affe5

Please sign in to comment.