Skip to content

[Bug Report] Cameras on moving PhysX bodies keep their spawn pose with the Newton Warp renderer #8664

Closed

Description

@NeoZng

Describe the bug

With Isaac Sim PhysX, a camera attached to a moving body, such as a wrist camera on a robot link, never moves unless an
Isaac RTX camera or a viewer renders continuously. With the Newton Warp renderer, the default of the task-level
MultiBackendRendererCfg:

  • camera.data.pos_w stays at the spawn pose with update_latest_camera_pose=True, and the images are rendered from
    that pose.
  • Camera.get_world_poses() returns the spawn pose for either update_latest_camera_pose value, although the camera
    docs (camera.rst:129-132) say that it includes the motion of the parent body even with
    update_latest_camera_pose=False.

Cause:

  • SimulationContext.__init__ sets /physics/fabricUpdateTransformations to is_rendering
    (simulation_context.py:240, Avoid continuous rendering between video captures #7642), and only Isaac RTX cameras turn it back on (camera.py:258-265). In a headless
    run with a Newton Warp camera, PhysX therefore writes no body poses to Fabric.
  • On PhysX, the camera's FrameView is a FabricFrameView (camera.py:696). Its get_world_poses reads
    omni:fabric:worldMatrix directly (fabric_frame_view.py:292-333), and nothing refreshes Fabric before that read.
    The on-demand refresh of the PhysX scene-data backend (PhysxSceneDataBackend._update_fabric,
    physx_manager.py:291-305, [PhysX] Write transforms to Fabric for on-demand video captures #8339) runs only for consumers of the Fabric pose format (Isaac RTX, the Kit visualizer)
    and in sim.forward() (PhysxManager.forward(), physx_manager.py:485-493), which environments call when they
    reset. Newton Warp reads the body poses through the PhysX tensor API.

Steps to reproduce

A cube falls from 3 m with a downward-looking camera attached 1.5 m beside its center. The camera's height, and its
planar depth over the ground plane, should equal the cube's height. Save as repro.py and run
uv run python repro.py.

import argparse

from isaaclab.app import add_launcher_args, launch_simulation

parser = argparse.ArgumentParser()
add_launcher_args(parser)
args_cli = parser.parse_args()

from isaaclab_newton.renderers import NewtonWarpRendererCfg

import isaaclab.sim as sim_utils
from isaaclab.assets import RigidObjectCfg
from isaaclab.scene import InteractiveSceneCfg
from isaaclab.sensors import CameraCfg
from isaaclab.terrains import TerrainImporterCfg
from isaaclab.utils import configclass, instantiate


@configclass
class SceneCfg(InteractiveSceneCfg):
    terrain = TerrainImporterCfg(prim_path="/World/ground", terrain_type="plane")
    cube = RigidObjectCfg(
        prim_path="{ENV_REGEX_NS}/Cube",
        spawn=sim_utils.CuboidCfg(
            size=(0.5, 0.5, 0.5),
            rigid_props=sim_utils.UsdPhysicsRigidBodyCfg(),
            mass_props=sim_utils.MassCfg(mass=1.0),
            collision_props=sim_utils.UsdPhysicsCollisionCfg(),
        ),
        init_state=RigidObjectCfg.InitialStateCfg(pos=(0.0, 0.0, 3.0)),
    )
    # 1.5 m beside the cube, looking straight down at the ground: the planar depth equals the camera height.
    camera = CameraCfg(
        prim_path="{ENV_REGEX_NS}/Cube/Camera",
        offset=CameraCfg.OffsetCfg(pos=(0.0, 1.5, 0.0), rot=(0.0, 0.0, 0.0, 1.0), convention="opengl"),
        spawn=sim_utils.PinholeCameraCfg(),
        data_types=["distance_to_image_plane"],
        width=8,
        height=8,
        update_latest_camera_pose=True,
        renderer_cfg=NewtonWarpRendererCfg(),
    )


def main():
    sim_cfg = sim_utils.SimulationCfg(dt=0.01, device=args_cli.device)  # default physics: PhysX
    with launch_simulation(sim_cfg, args_cli):
        sim = sim_utils.SimulationContext(sim_cfg)
        scene = instantiate(SceneCfg(num_envs=1, env_spacing=2.0))
        sim.reset()
        cube, camera = scene["cube"], scene["camera"]
        for step in range(1, 61):
            sim.step()
            scene.update(sim.get_physics_dt())
            if step % 20 == 0:
                cube_z = cube.data.root_link_pose_w.torch[0, 2].item()
                camera_z = camera.data.pos_w.torch[0, 2].item()
                depth = camera.data.output["distance_to_image_plane"].torch.mean().item()
                print(f"step {step}: cube z {cube_z:.3f} | camera pos_w z {camera_z:.3f} | depth {depth:.3f}")


if __name__ == "__main__":
    main()

Actual:

step 20: cube z 2.762 | camera pos_w z 3.000 | depth 3.000
step 40: cube z 2.133 | camera pos_w z 3.000 | depth 3.000
step 60: cube z 1.113 | camera pos_w z 3.000 | depth 3.000

Expected (the output with the fix):

step 20: cube z 2.762 | camera pos_w z 2.762 | depth 2.762
step 40: cube z 2.133 | camera pos_w z 2.133 | depth 2.133
step 60: cube z 1.113 | camera pos_w z 1.113 | depth 1.113

The official Isaac-Lift-KukaAllegro-Camera task with presets=duo_camera and physics=isaacsim_physx runs into this
with its default renderer. Its wrist camera rides on palm_link with update_latest_camera_pose=True
(kuka_allegro/camera_cfg.py:46-58, since #7977). With 2 environments and random actions, its pos_w stays
constant for the whole run; in environment 0 it is 0.02-0.16 m from the palm_link pose before the first reset and
0.27-0.45 m after it.
The wrist images are rendered from that pose. This combination is also in the benchmark coverage list
(docs/source/_static/benchmarks/coverage-preset-selectors.csv).

System Info

  • Commit: 9b6d2d8 (develop) and b63cbde (release/3.0.0), each in a uv environment synced from its uv.lock;
    first found on 06f2d42 with Isaac Sim 6.1.0-rc.26, with the same output
  • Isaac Sim Version: 6.2.0
  • OS: Ubuntu 24.04.2
  • GPU: NVIDIA RTX PRO 5000 72GB Blackwell
  • CUDA: 13.0
  • GPU Driver: 580.126.20

Additional context

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

  • With PhysX and a renderer other than Isaac RTX, in GPU and CPU simulation, camera.data.pos_w and the rendered
    images of a camera with update_latest_camera_pose=True, and Camera.get_world_poses() for either value,
    follow the camera's parent body, also right after a reset.
  • In GPU simulation, PhysX still updates Fabric only on demand when nothing renders continuously (Avoid continuous rendering between video captures #7642).

Activity

  1. RandomOakForest commented on Oct 16, 2026

    @RandomOakForest
    Collaborator

    Thank you for posting this and adding the PR. The team will review it.

  2. added
    bug
    on Oct 16, 2026
  3. added a commit that references this issue on Oct 23, 2026
    1d1a808
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions