#8213·IsaacLab

[Bug Report] Newton: world-jointed root link gets six phantom base DoFs and a static root pose

Author: NeoZngCreated Sep 30, 2026Updated Sep 30, 2026

Describe the bug

On Newton, when the root link is attached to the world by a revolute, prismatic, ball or partial D6 joint, that joint becomes the articulation's root joint. Isaac Lab's Newton view (exclude_joint_types=[FREE, FIXED], articulation.py:3396) exposes its DoFs as regular joints. ArticulationView reports the root as neither fixed nor floating. The Newton data layer treats every root that is not fixed as a free-floating base:

  1. num_base_dofs is 6 (base_articulation.py:458; ArticulationData._create_buffers, articulation_data.py:1836). The Jacobian, mass matrix and gravity compensation get six extra DoF columns, and the gather kernels (kernels.py:680-834) read past Newton's buffers. For a 2-DoF cartpole the Jacobian is (N, 2, 6, 8), J @ v differs from the measured link twist by 1.2, and the mass matrix is 8×8 with zero rows.
  2. root_link_pose_w and root_com_vel_w are bound to ArticulationView.get_root_transforms and get_root_velocities (articulation_data.py:1530-1539). For a non-floating root these return the root joint's parent frame joint_X_p and None. The root pose stays at the joint anchor and the root velocity is zero while the root link moves. Root pose writes set joint_X_p.

PhysX exposes no world root joint as an articulation DoF, so it does not hit this.

Newton's own newton/tests/assets/cartpole_mjc.usda hits it: it is the mujoco-usd-converter output of a MuJoCo cartpole, with a slider from the world to the cart. MjcfFileCfg(fix_base=True) produces the same layout for dm_control cartpole.xml and acrobot.xml, and a 3-DoF D6 root for the planar cheetah.xml.

Steps to reproduce

Spawn the asset on Newton (MJWarp), sim.reset(), then take one sim.step():

python
import os
import newton
import isaaclab.sim as sim_utils
from isaaclab.actuators import ImplicitActuatorCfg
from isaaclab.assets import ArticulationCfg

usd = os.path.join(os.path.dirname(newton.__file__), "tests", "assets", "cartpole_mjc.usda")
cfg = ArticulationCfg(
    prim_path="/World/Env_.*/Robot",
    spawn=sim_utils.UsdFileCfg(usd_path=usd),
    actuators={"all": ImplicitActuatorCfg(joint_names_expr=[".*"], stiffness=0.0, damping=0.0)},
)
robot.joint_names                        ['slider', 'hinge']
robot.num_base_dofs                      6              (expected 0)
robot.data.body_link_jacobian_w.shape    (N, 2, 6, 8)   (expected (N, 2, 6, 2))
robot.data.mass_matrix.shape             (N, 8, 8)      (expected (N, 2, 2))
robot.data.root_link_pos_w[0]            (0, 0, 0)      while the cart is at x = 0.05

System Info

  • Commit: 3791c0fd1c (develop)
  • Isaac Sim Version: 6.1.0-rc.26, Newton 1.6.0
  • OS: Ubuntu 24.04
  • GPU: RTX PRO 5000 Blackwell
  • CUDA: 13.0
  • GPU Driver: 580.126.20

Additional context

newton-physics/newton#3792 made a zero-DoF D6 root fixed-base and keeps other non-free roots as neither fixed nor floating. A fixed root also reads joint_X_p: with a child-side joint offset (localPos1 = (0, 0, 0.1)), root_link_pos_w reads z = 1.1 while the root link is at z = 1.0 (PhysX: 1.0).

Checklist

  • I have checked that there is no similar issue in the repo (required)
  • I have checked that the issue is not in running Isaac Sim itself and is related to the repo

Acceptance Criteria

  • num_base_dofs is 0 unless the root joint is free, and the Jacobian, mass matrix and gravity compensation span only the articulation's DoFs.
  • Define the root-state contract for a root joint that is neither fixed nor free: root_link_pose_w and the root velocities report the root link, and root pose writes are defined or rejected.