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
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* Fixed ``ForgeEnv._compute_intermediate_values`` zeroing ``noisy_fingertip_quat[:, ::3]`` (``x`` and ``w`` in XYZW
format) instead of ``[:, 2:4]`` (``z`` and ``w``), which dropped yaw orientation information for the downward-facing
end-effector after the WXYZ-to-XYZW migration.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ def _compute_intermediate_values(self, dt):
self.noisy_fingertip_quat = quat_mul(
self.fingertip_midpoint_quat, quat_from_angle_axis(rot_noise_angle, rot_noise_axis)
)
self.noisy_fingertip_quat[:, ::3].zero_()
# Zero z and w in XYZW format to project the downward-facing EE orientation onto yaw.
self.noisy_fingertip_quat[:, 2:4].zero_()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Warning · Implementation — Add the package changelog fragment

This isaaclab_tasks behavior fix has no required changelog fragment, leaving the correction out of the package changelog. Add a bug-fix fragment under source/isaaclab_tasks/changelog.d/.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Yaw velocity stays zero

The slice fixes the quaternion observation, but it does not restore yaw velocity. super()._compute_intermediate_values(dt) replaces prev_fingertip_quat with the current clean quaternion before this line runs. The later calculation compares the current noisy orientation against the current clean orientation, not the previous step.

With noise disabled and a downward-facing gripper, ee_angvel_fd therefore remains zero during yaw motion. Keep a separate previous noisy quaternion, or save it before calling the superclass.

self.noisy_fingertip_quat = self.noisy_fingertip_quat * self.flip_quats.unsqueeze(-1)

# Repeat finite differencing with noisy fingertip positions.
Expand Down