diff --git a/source/isaaclab_experimental/changelog.d/jichuanh-warp-mdp-review-followup.skip b/source/isaaclab_experimental/changelog.d/jichuanh-warp-mdp-review-followup.skip new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/source/isaaclab_experimental/test/envs/mdp/parity_helpers.py b/source/isaaclab_experimental/test/envs/mdp/parity_helpers.py index 9da36f29bf5a..3c60f0d38bf5 100644 --- a/source/isaaclab_experimental/test/envs/mdp/parity_helpers.py +++ b/source/isaaclab_experimental/test/envs/mdp/parity_helpers.py @@ -19,6 +19,8 @@ import torch import warp as wp +from isaaclab.envs.mdp.commands.commands_cfg import UniformPoseCommandCfg +from isaaclab.envs.mdp.commands.pose_command import UniformPoseCommand from isaaclab.utils.warp import ProxyArray # --------------------------------------------------------------------------- @@ -594,15 +596,12 @@ def make_pose_command_term( Returns: The command term, whose ``pose_command_b`` is the (num_envs, 7) command buffer. """ - from isaaclab.envs.mdp.commands.commands_cfg import UniformPoseCommandCfg - from isaaclab.envs.mdp.commands.pose_command import UniformPoseCommand - rng = np.random.RandomState(seed) data = articulation.data - root_pos = data.root_pos_w.torch.cpu().numpy() - root_quat = data.root_quat_w.torch.cpu().numpy() - body_pos = data.body_pos_w.torch.cpu().numpy()[:, body_idx] - body_quat = data.body_quat_w.torch.cpu().numpy()[:, body_idx] + root_pos = data.root_pos_w.warp.numpy() + root_quat = data.root_quat_w.warp.numpy() + body_pos = data.body_pos_w.warp.numpy()[:, body_idx] + body_quat = data.body_quat_w.warp.numpy()[:, body_idx] # position: place the target a known distance off the body, then express it in the root frame offset_dir = rng.randn(num_envs, 3).astype(np.float32) diff --git a/source/isaaclab_experimental/test/envs/test_frontend_cfg_conversion.py b/source/isaaclab_experimental/test/envs/test_frontend_cfg_conversion.py index c6d345c54934..4cfbcd8bf907 100644 --- a/source/isaaclab_experimental/test/envs/test_frontend_cfg_conversion.py +++ b/source/isaaclab_experimental/test/envs/test_frontend_cfg_conversion.py @@ -43,6 +43,10 @@ # Stable task ids that adapt cleanly under ``--frontend warp``, as produced by # :func:`_sweep_warp_support`. Do not curate this by hand: when the test fails it prints the # exact set to paste back. +# +# The sweep reports what adapts today; this set records what must keep adapting. Without it a +# task losing warp support only shrinks the computed answer, with nothing to compare against — +# which is how Reach lost support unnoticed. _WARP_SUPPORTED_TASKS = frozenset( { "Isaac-Ant",