Skip to content
Merged
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
13 changes: 6 additions & 7 deletions source/isaaclab_experimental/test/envs/mdp/parity_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

# ---------------------------------------------------------------------------
Expand Down Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Loading