Skip to content

Commit

Permalink
Fix loading of URDF
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderFabisch committed Nov 21, 2023
1 parent acb1f89 commit 6344dcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/external_dependencies/vis_cartesian_dual_dmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@

tm = UrdfTransformManager(check=False)
with open("abstract-urdf-gripper/urdf/GripperLeft.urdf", "r") as f:
tm.load_urdf(f, mesh_path="abstract-urdf-gripper/urdf/")
tm.load_urdf(f.read(), mesh_path="abstract-urdf-gripper/urdf/")
with open("abstract-urdf-gripper/urdf/GripperRight.urdf", "r") as f:
tm.load_urdf(f, mesh_path="abstract-urdf-gripper/urdf/")
tm.load_urdf(f.read(), mesh_path="abstract-urdf-gripper/urdf/")
tm.add_transform("ALWristPitch_Link", "base", np.eye(4))
tm.add_transform("ARWristPitch_Link", "base", np.eye(4))
# assert tm.check_consistency()
Expand Down

0 comments on commit 6344dcb

Please sign in to comment.