Repository navigation
Description
Description
When the simulation is advanced only with rep.orchestrator.step(...), an RTX Lidar (Example_Solid_State) never produces data through LidarSensor.get_data("generic-model-output"): every frame has a valid GMO header with numElements == 0. The identical scene advanced with simulation_app.update() produces points in most iterations. RTX cameras in the same scene work under both drivers. Nothing is logged for the empty GMO stream.
NVIDIA forum answers say this pattern was fixed in 6.0.0 when simulation_app.update() is called together with rep.orchestrator.step(). This report is for orchestrator-only driving on 6.2.0.1, which is still empty, and for the lack of any documentation of the requirement.
Environment
- Isaac Sim 6.2.0.1 (
nvcr.io/nvidia/isaac-sim:6.2.0.1), headless, Ubuntu 24.04 host, NVIDIA RTX GPU, PhysX
Minimal reproduction
Run /isaac-sim/python.sh lidar_orch_repro.py --mode app_update and --mode orchestrator inside the container.
"""RTX lidar GMO under rep.orchestrator.step() vs simulation_app.update()."""
import argparse
p = argparse.ArgumentParser()
p.add_argument("--mode", choices=["app_update", "orchestrator"], required=True)
p.add_argument("--steps", type=int, default=230)
args, _ = p.parse_known_args()
from isaacsim import SimulationApp
app = SimulationApp({"headless": True})
import numpy as np
import omni.replicator.core as rep
import isaacsim.core.experimental.utils.app as app_utils
import isaacsim.core.experimental.utils.stage as stage_utils
from isaacsim.core.experimental.objects import Cube, DistantLight, GroundPlane
from isaacsim.sensors.experimental.rtx import Lidar, LidarSensor, parse_generic_model_output_data
from isaacsim.core.simulation_manager import SimulationManager
DT = 1.0 / 60.0
stage_utils.create_new_stage()
SimulationManager.set_physics_dt(DT)
GroundPlane("/World/GroundPlane")
DistantLight("/World/Light").set_intensities(1000)
Cube("/World/Wall", positions=np.array([3.0, 0.0, 1.5]), scales=np.array([0.1, 10.0, 1.0]))
lidar = Lidar.create("/World/lidar", config="Example_Solid_State",
translations=np.array([0.0, 0.0, 1.5]), aux_output_level="BASIC")
sensor = LidarSensor(lidar, annotators=["generic-model-output"])
app_utils.play()
nonempty = 0
for k in range(args.steps):
if args.mode == "app_update":
app.update()
else:
rep.orchestrator.step(rt_subframes=1, pause_timeline=False, delta_time=DT)
raw, _ = sensor.get_data("generic-model-output")
if raw is not None and int(parse_generic_model_output_data(raw).numElements) > 0:
nonempty += 1
print("RESULT", args.mode, "steps", args.steps, "frames_with_points", nonempty)
app_utils.stop()
app.close()Expected
Either points are returned under rep.orchestrator.step(), or the documentation states that RTX lidar needs simulation_app.update() (or another driver) and explains why.
Actual
RESULT app_update steps 230 frames_with_points 184
RESULT orchestrator steps 230 frames_with_points 0
In a longer experiment with the same scene (200 recorded steps after 30 warm-up steps, two runs per driver, rt_subframes 1, 4 and 16 for the orchestrator), the orchestrator runs had 200 of 200 steps with numElements == 0 at every rt_subframes value, while the camera (distance_to_image_plane) had data in every step. With simulation_app.update() the lidar returned a new GMO about every 6 physics steps (34 new frames in 200 steps) in both runs.
Related
- GitHub Cannot retrieve RTX lidar data using headless Python script #110 (closed): empty RTX lidar data in headless Python scripts, attributed to
skipDroppingInvalidPointsand fixed in 5.1. - GitHub [Isaac Sim 6.0.1] Hesai XT-32 (OmniLidar) RTX lidar: GenericModelOutput numElements==0 on every frame — PointCloud2 topic advertised but never publishes, while single-emitter OmniLidar LaserScan is healthy in the same session #712 (closed):
OgnIsaacExtractRTXSensorPointCloudreceives GMO withnumElements == 0on every frame and the node skips silently (OgnIsaacExtractRTXSensorPointCloud.cpplines 137-142); same silent failure mode. - NVIDIA forum, "Retrieve lidar data failed using the code rep.orchestrator.step" (topic 342727) and "Proper Orchestration for RTX Lidar SDG" (topic 363133): the answers say orchestrator-only driving was broken in 4.5 to 5.1 and that
simulation_app.update()plusrep.orchestrator.step()works in 6.0.0. They also say the timeline must be playing. This reproduction plays the timeline (app_utils.play()). - GitHub omni.replicator.core: orchestrator.step() drives four full renders per capture and keeps one #933 (open): a single
rep.orchestrator.step()takes four application updates.
Not verified
Why the GMO is empty (whether the scan never completes under this driver or the buffer is dropped); simulation_app.update() combined with rep.orchestrator.step() on 6.2.0.1; other lidar configurations; Newton.
Activity
zwdoescode commentedon Dec 2, 2026
We reproduced the missing-data behavior using your unchanged script in
nvcr.io/nvidia/isaac-sim:6.2.0.1: application updates returned points on 225 of 230 reads, while explicit-delta orchestrator stepping returned points on 0 of 230. The public 6.2.0 source build also shows the contrast.One detail differs locally: the failing reads contain zero-length byte arrays, and parsing them produces invalid-magic warnings. They are not valid GMO headers with
numElements == 0. The parser's fallback zero-element object can obscure that distinction.The combined pattern works in this image:
With the same lidar and an added depth-camera control, this produced nonempty lidar data on all 200 reads after 30 warm-up iterations, and camera data on every step. The lidar runs at 10 Hz: use GMO scan IDs/timestamps to distinguish fresh scans from repeated reads.
The failure also remains with motion BVH enabled and when reading the CPU GMO annotator directly. Omitting
delta_timefromorchestrator.step()works in this setup, so the failing condition is narrower than all orchestrator-only stepping.The 6.2 annotator documentation lists orchestrator stepping as supported with multi-tick enabled, so the explicit-delta result needs investigation against that documented behavior. The evidence points to the stepping/sensor-scheduling interaction.
I will create an internal ticket about this issue. Thanks for bringing this up!