Repository navigation
Description
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_wstays at the spawn pose withupdate_latest_camera_pose=True, and the images are rendered from
that pose.Camera.get_world_poses()returns the spawn pose for eitherupdate_latest_camera_posevalue, 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/fabricUpdateTransformationstois_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
FrameViewis aFabricFrameView(camera.py:696). Itsget_world_posesreads
omni:fabric:worldMatrixdirectly (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 insim.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
- CPU simulation (
--device cpu) shows the same frozen pose. There, an on-demand refresh is not enough: PhysX on CPU
writes body poses to Fabric only if continuous updates were on when the simulation started, and even then the world
matrices of prims attached to the bodies stay one physics step behind untilIFabricHierarchy.update_world_xforms()
runs. - With
update_latest_camera_pose=False, the pose cached at each reset is the spawn pose too. Reading the body pose
there is not enough on its own: environments reset sensors before reset events, so that read returns the previous
episode's last pose. - Isaac RTX cameras and runs with a viewer are not affected in GPU simulation, because PhysX then updates Fabric
continuously. In CPU simulation, thepos_wof an Isaac RTX camera is one physics step behind, for the reason above.
Newton and OVPhysX are not affected: their frame views read the body poses from the solver state. PhysX ray casters
read their poses through PhysX tensor views. - Related: Avoid continuous rendering between video captures #7642 made the continuous Fabric updates conditional, and [PhysX] Write transforms to Fabric for on-demand video captures #8339 added the on-demand refresh for video
capture. The closed Fix FrameView staleness for sensors parented under physics bodies #5477 proposed continuous Fabric updates for frame-view sensors under bodies. [Bug Report] Isaaclab3.0: Cameras do not update positions when robot arm moves, even with update_latest_camera_pose=True #6546 (closed)
reported the same symptom on the Isaac RTX path, which feat: GPU-accelerated FrameView local poses + a new xform_space_writer API #5677 fixed. First reset camera observation remains stale on Isaac Sim 6.1 #8428 is a different staleness on the Isaac RTX
path, at the first reset.
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_wand the rendered
images of a camera withupdate_latest_camera_pose=True, andCamera.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
RandomOakForest commentedon Oct 16, 2026
Thank you for posting this and adding the PR. The team will review it.
Fix sensor freshness, reset cadence, and native coverage (isaac-sim#8780