Skip to content

Commit

Permalink
Fix examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Megane Millan committed Oct 7, 2024
1 parent 332e4e1 commit 1eb35fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/collision-with-point-clouds.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
urdf_model_path = model_path / "panda_description/urdf" / urdf_filename

model, collision_model, visual_model = pin.buildModelsFromUrdf(
urdf_model_path, False, mesh_dir
urdf_model_path, package_dirs=mesh_dir
)

# Add point clouds
Expand Down
2 changes: 1 addition & 1 deletion examples/collisions.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
urdf_model_path = model_path / "romeo_description/urdf" / urdf_filename

# Load model
model = pin.buildModelFromUrdf(urdf_model_path, pin.JointModelFreeFlyer())
model = pin.buildModelFromUrdf(urdf_model_path, pin.JointModelFreeFlyer(), False)

# Load collision geometries
geom_model = pin.buildGeomFromUrdf(
Expand Down

0 comments on commit 1eb35fe

Please sign in to comment.