Skip to content

[Bug Report] The function change_ft_frame in the FORGE task seems to be incorrect #3513

Closed

Description

@xxg-tortoise

Describe the bug

Reference: Modern Robotics Eq. (3.95).
According to this formulation, the implementation of change_ft_frame should apply the transpose operation when changing frames, but the current code does not.
In addition, the torque part of the calculation seems inconsistent with the standard definition.

Image
def change_FT_frame(source_F, source_T, source_frame, target_frame):
    """Convert force/torque reading from source to target frame."""
    # Modern Robotics eq. 3.95
    source_frame_inv = torch_utils.tf_inverse(source_frame[0], source_frame[1])
    target_T_source_quat, target_T_source_pos = torch_utils.tf_combine(
        source_frame_inv[0], source_frame_inv[1], target_frame[0], target_frame[1]
    )
    target_F = torch_utils.quat_apply(target_T_source_quat, source_F)
    target_T = torch_utils.quat_apply(
        target_T_source_quat, (source_T + torch.cross(target_T_source_pos, source_F, dim=-1))
    )
    return target_F, target_T

-->

System Info

  • Isaac Sim Version: 4.5
  • OS: Ubuntu 22.04
  • GPU: RTX 4090

Activity

  1. RandomOakForest commented on Sep 24, 2025

    @RandomOakForest
    Collaborator

    Thank you for posting this. The computations may be equivalent. The team will review it.

  2. added
    bug
    on Sep 24, 2025
  3. tsrobcvai commented on Sep 29, 2025

    @tsrobcvai

    Describe the bug

    Reference: Modern Robotics Eq. (3.95). According to this formulation, the implementation of change_ft_frame should apply the transpose operation when changing frames, but the current code does not. In addition, the torque part of the calculation seems inconsistent with the standard definition.

    Hi, I'm also working on reproducing FORGE. Would you mind sharing your email so we can exchange updates and experiments as we go?

  4. added a commit that references this issue on Sep 24, 2026
    37cfd63
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions