Skip to content

Commit

Permalink
Fix script
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderFabisch committed Nov 14, 2023
1 parent beb803b commit eb37ec4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/plot_cartesian_pose_coupling_dual_dmp.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@
tm = UrdfTransformManager()
try:
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/")
except FileNotFoundError:
warnings.warn("URDF not found")

Expand Down

0 comments on commit eb37ec4

Please sign in to comment.