Skip to content

Commit 0cb9483

Browse files
committed
builder.rigid_contact_margin = 0.0 to match historic behaviour
Signed-off-by: Gordon Yeoman <gyeoman@nvidia.com>
1 parent 8f6eacf commit 0cb9483

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

newton/examples/robot/example_robot_allegro_hand.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def __init__(self, viewer, num_worlds=4):
9393
newton.solvers.SolverMuJoCo.register_custom_attributes(allegro_hand)
9494
allegro_hand.default_shape_cfg.ke = 1.0e3
9595
allegro_hand.default_shape_cfg.kd = 1.0e2
96+
allegro_hand.rigid_contact_margin = 0.0
9697

9798
asset_path = newton.utils.download_asset("wonik_allegro")
9899
asset_file = str(asset_path / "usd" / "allegro_left_hand_with_cube.usda")

0 commit comments

Comments
 (0)