Skip to content

[Proposal] Newton JointWrenchSensor: report in-tree FIXED joints (wrist F/T parity with PhysX) #7969

Closed

Description

@Lynn-hh

Problem

On the Newton backend, JointWrenchSensor excludes every JointType.FIXED joint (isaaclab_newton/sensors/joint_wrench/joint_wrench_sensor.py, exclude_joint_types=[JointType.FREE, JointType.FIXED]; also documented in docs/source/concepts/sensors/joint_wrench_sensor.rst). Bodies attached through a weld therefore never appear in body_names.

That covers wrist F/T mounts and tool flanges, e.g. FR3 fr3_joint8 / fr3_hand_joint and FORGE's force_sensor body. On PhysX every link is reported, so SceneEntityCfg("joint_wrench", body_names=["force_sensor"]) works on PhysX but not on Newton. Discussion #7788 raises the same point.

Evidence the data is already there

With Newton 1.6.0 (SolverMuJoCo on the Warp CPU device), I built a chain world → fixed base → revolute link (1 kg) → fixed tool (0.5 kg). At rest:

  • body_parent_f[tool] = 4.905 N, exactly m·g.
  • The existing joint_wrench_to_incoming_joint_frame_kernel returns the analytic joint-frame wrench: F_z = 4.905 N and τ = 0.736 N·m on the weld, F_z = 14.715 N and τ = 5.886 N·m on the revolute joint.

No new kernel is needed.

Proposed design

Since #7295 the sensor reuses the articulation's cached view, which also excludes FIXED joints, so changing exclude_joint_types in the sensor alone would be a no-op. Instead:

  • Keep the shared view for the body-level bindings (body_parent_f, body_q, body_com already cover welded links).
  • Build the sensor's joint list and joint_child / joint_X_c from the model arrays (articulation_start/end, joint_type, joint_parent).
  • Include FIXED joints with a non-world parent.
  • Keep excluding FREE joints, world-root welds (matching PhysX's zero root) and loop-closure welds (which MuJoCo turns into WELD equalities).
  • Update the docstring and joint_wrench_sensor.rst.
  • Add a Newton regression test (hanging payload on a weld equals m·g) and a PhysX parity check.

Would you accept a PR along these lines, or would you prefer an opt-in cfg flag (e.g. include_fixed_joints)?

I work on contact-rich insertion on a real Franka FR3 and need the wrist F/T reading on Newton. I'm happy to implement it and validate it on H100s.

cc @ooctipus @camevor @AntoineRichard

Activity

  1. self-assigned this
    on Sep 23, 2026
  2. ooctipus commented on Sep 23, 2026

    @ooctipus
    Collaborator

    thanks! Ill work on this

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions