Repository navigation
Description
Description
The only way to get a fixed-grid 2D laser scan (ranges on a fixed angular grid, no-return slots marked) from an RTX Lidar in Python is the IsaacComputeRTXLidarFlatScan annotator, which lives in the deprecated extension isaacsim.sensors.rtx (deprecated since 6.0.0). The replacement extension isaacsim.sensors.experimental.rtx only exposes the raw GenericModelOutput (GMO): one entry per fired emitter, with azimuth/elevation/range, not a fixed grid. The ROS 2 LaserScan publisher does the binning in C++, so Python users of the non-deprecated API cannot reuse it.
Users who need ranges / angle_min / angle_increment in Python (for example to feed a non-ROS pipeline or to compare with a ROS scan) have to either depend on the deprecated extension or re-implement the binning and risk disagreeing with the ROS publisher at bin boundaries.
Environment
- Isaac Sim 6.2.0.1 (
nvcr.io/nvidia/isaac-sim:6.2.0.1), headless, Ubuntu 24.04 host, NVIDIA RTX GPU
Evidence in the source tree (paths inside the image)
- Deprecated notice:
/isaac-sim/extsDeprecated/isaacsim.sensors.rtx/config/extension.tomlline 16,warning = "Extension deprecated since Isaac Sim 6.0.0 in favor of the Experimental extension: isaacsim.sensors.experimental.rtx". - The flat scan node exists only under
/isaac-sim/extsDeprecated/isaacsim.sensors.rtx/(OgnIsaacComputeRTXLidarFlatScan.*, docsdocs/ogn/OgnIsaacComputeRTXLidarFlatScan.rst). The same paths are in this repository undersource/deprecated/isaacsim.sensors.rtx/nodes/. /isaac-sim/exts/isaacsim.sensors.experimental.rtx/(docs and Python) contains no flat-scan / LaserScan equivalent;LidarSensor.get_data("generic-model-output")returns GMO only.- The ROS 2 publisher bins GMO in C++:
/isaac-sim/exts/isaacsim.ros2.nodes/isaacsim/ros2/nodes/ogn/nodes/OgnROS2PublishLaserScan.cpp(buffer pre-filled at line 173, call togetLaserScanOutputIndexat line 199), with the bin rule insource/extensions/isaacsim.ros2.nodes/include/isaacsim/ros2/nodes/LaserScanUtils.hpp(getLaserScanOutputIndex). There is no Python binding for it.
Minimal reproduction
from isaacsim import SimulationApp
app = SimulationApp({"headless": True})
import omni.replicator.core as rep
import omni.kit.app
names = sorted(rep.AnnotatorRegistry.get_registered_annotators())
print("RESULT scan-like annotators:", [n for n in names if "scan" in n.lower()])
m = omni.kit.app.get_app().get_extension_manager()
for e in m.get_extensions():
if "sensors.rtx" in e["id"] or "sensors.experimental.rtx" in e["id"]:
print("RESULT ext", e["id"], "enabled=", e["enabled"])
app.close()Output observed:
RESULT scan-like annotators: ['IsaacComputeRTXLidarFlatScan', 'IsaacCreateRTXLidarScanBuffer']
RESULT ext isaacsim.sensors.experimental.rtx-2.0.1 enabled= True
RESULT ext isaacsim.sensors.rtx-15.17.5 enabled= True
IsaacComputeRTXLidarFlatScan is registered only because the deprecated isaacsim.sensors.rtx is enabled; it is not provided by isaacsim.sensors.experimental.rtx.
Measurements (Example_Rotary_2D, wall at 4.9 m)
Binning GMO ourselves versus the deprecated annotator (linearDepthData, 3600 bins, 0.1 degree, no-return -1): the valid-bin masks agree on 99.97% of bins, the range difference has p95 between about 6 mm and 6 cm, and the maximum single-bin difference is 0.23 to 0.50 m (grazing-angle returns assigned to different bins). The result is usable, but the bin rule at boundaries cannot be reproduced exactly without the C++ rule. Also note that accumulate_outputs=False gives only a partial azimuth window per frame (661 valid bins in our run), so a full scan needs accumulate_outputs=True.
Expected
A supported, non-deprecated way to obtain a fixed-grid 2D scan in Python, with the same bin and no-return rules as the ROS 2 LaserScan publisher. For example, a flat-scan annotator in isaacsim.sensors.experimental.rtx, or a Python-accessible helper (binding or documented algorithm) for the rule in LaserScanUtils.hpp.
Actual
No such API outside the deprecated extension.
Related
#896 and #897 concern the LaserScan metadata and no-return value in the ROS publisher; this request is about making the same grid available from Python.
Activity
zwdoescode commentedon Dec 2, 2026
Confirmed in the 6.2.0.1 container and the public 6.2.0 source build: the experimental RTX sensor API does not currently expose a fixed-grid 2D scan equivalent to the requested
ranges/angle metadata interface. The scan annotators in your registry output come from the deprecated extension; disabling it removes them while the experimental extension remains enabled.The ROS 2 publisher has C++ binning helpers, but its Python publisher binding does not return scan arrays for a non-ROS consumer. This is a feature/migration request for the Python API, separate from the metadata and no-return fixes in #896 and #897.
A useful replacement should share the ROS binning semantics, including angular endpoints, no-return slots, duplicate-bin handling and complete-scan timing. The legacy annotator is a temporary option in 6.2, with the deprecation limitation you identified. We have not independently validated the numerical differences from your custom binning experiment; its comparison script would help define conformance tests.
I will create an internal feature request. Thanks for bringing this up.
ycpss91255 commentedon Dec 2, 2026
Thanks for confirming and for filing the internal feature request.
Here is the comparison we used. It is two small scripts, run with the official 6.2.0.1 image.
lidar2d_probe.pycollects the deprecatedIsaacComputeRTXLidarFlatScanoutput and the raw GMO from the same 2D RTX lidar in a closed room.analyze.pybins the GMO ourselves, using 3600 bins at 0.1 degree with no-return set to -1, and compares the result with the annotator. That gives the numbers in the issue: valid-bin mask agreement, range-difference p95, and max per-bin difference.Run (one container per configuration):
lidar2d_probe.py
analyze.py
One note for the conformance tests. The largest differences (0.23 to 0.50 m) were grazing-angle returns that landed in neighbouring bins. So the bin-assignment rule at boundaries is the part we most need defined (inclusive or exclusive edges, rounding, and which return wins when one bin gets more than one).