Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ Guidelines for modifications:
* Grzegorz Malczyk
* Haoran Zhou
* Harsh Patel
* Henry Hu
* HoJin Jeon
* Hongwei Xiong
* Hongyu Li
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Fixed
^^^^^

* Fixed ANYmal-D rough-terrain locomotion terminating on spurious base contacts under the
Newton MJWarp backend by setting the Newton shape margin to zero in
:class:`~isaaclab_tasks.core.velocity.config.anymal_d.rough_env_cfg.AnymalDRoughEnvCfg`.
Other robots keep the shared default.
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,10 @@ def __post_init__(self):
super().__post_init__()
# switch robot to anymal-d
self.scene.robot = ANYMAL_D_CFG.replace(prim_path="{ENV_REGEX_NS}/Robot")

# ANYmal-D's base capsule passes within a few millimetres of the thigh colliders, so
# the shared 1 cm Newton shape margin inflates them into constant overlap and trips
# the base_contact termination. Other robots keep the default.
newton_cfg = getattr(self.sim.physics, "newton_mjwarp", None)
if newton_cfg is not None:
newton_cfg.default_shape_cfg = newton_cfg.default_shape_cfg.replace(margin=0.0)