PhysX Generic Sensor#
The PhysX SDK generic sensor is deprecated. Use the Physics Raycast Sensor (isaacsim.sensors.experimental.physics.RaycastSensor) as the replacement. The raycast sensor accepts explicit per-ray origin offsets and direction vectors, making it a direct replacement for custom scanning patterns.
Concept mapping#
PhysX SDK Generic Sensor |
Physics Raycast Sensor |
|---|---|
|
|
|
|
|
|
|
|
|
Not needed. All rays are defined at creation time and the sensor handles timing internally via |
Interactive example#
The Physics Raycast Sensor example demonstrates all three sensor configurations (solid state, rotating, and beam curtain) in a single scene:
GUI: Open Robotics Examples > Sensors > Physics Raycast Sensor and click Load Scene.
Source code:
source/extensions/isaacsim.sensors.physics.examples/isaacsim/sensors/physics/examples/raycast_sensor.py
See Physics raycast sensor for the full documentation, including Python API usage and OmniGraph workflows.