diff --git a/source/isaaclab/config/extension.toml b/source/isaaclab/config/extension.toml index e1f7205392a..48a598cd23f 100644 --- a/source/isaaclab/config/extension.toml +++ b/source/isaaclab/config/extension.toml @@ -1,7 +1,7 @@ [package] # Note: Semantic Versioning is used: https://semver.org/ -version = "0.48.5" +version = "0.48.6" # Description title = "Isaac Lab framework for Robot Learning" diff --git a/source/isaaclab/docs/CHANGELOG.rst b/source/isaaclab/docs/CHANGELOG.rst index 6a5b57f89c2..7cf8f56ab5e 100644 --- a/source/isaaclab/docs/CHANGELOG.rst +++ b/source/isaaclab/docs/CHANGELOG.rst @@ -1,6 +1,15 @@ Changelog --------- +0.48.6 (2025-11-21) +~~~~~~~~~~~~~~~~~~~ + +Fixed +^^^^^ + +* Prevent randomizing mass to zero in :meth:`~isaaclab.envs.mdp.events.randomize_mass_by_scale` to avoid physics errors. + + 0.48.5 (2025-11-14) ~~~~~~~~~~~~~~~~~~~ diff --git a/source/isaaclab/isaaclab/envs/mdp/events.py b/source/isaaclab/isaaclab/envs/mdp/events.py index 7ea6d7b2e0a..02d1561a915 100644 --- a/source/isaaclab/isaaclab/envs/mdp/events.py +++ b/source/isaaclab/isaaclab/envs/mdp/events.py @@ -360,6 +360,7 @@ def __call__( masses = _randomize_prop_by_op( masses, mass_distribution_params, env_ids, body_ids, operation=operation, distribution=distribution ) + masses = torch.clamp(masses, min=1e-6) # ensure masses are positive # set the mass into the physics simulation self.asset.root_physx_view.set_masses(masses, env_ids)