When I learnt the tutorial of ROS Bridge in Standalone Workflow 12. ROS Bridge in Standalone Workflow — Omniverse Robotics documentation (nvidia.com), I found the camera_periodic.py provided the way to publish “Camera Info”, “RGB image”, and “Depth image”. But I want to know how to publish the “depth_pcl”. I can’t found the similar parameters like “sd.SensorType.Rgb.name” and “sd.SensorType.DistanceToImagePlane.name”. I hope anyone could help me please.
Meanwhile, I found that if I don’t add the code like
> rv = omni.syntheticdata.SyntheticData.convert_sensor_type_to_rendervar(sd.SensorType.Rgb.name)
> rgb_camera_gate_path = omni.syntheticdata.SyntheticData._get_node_path(
> rv + "IsaacSimulationGate", viewport.get_render_product_path()
> )
the standalone python could still work well and publish the topic. Whether this block of code is necessary? And how could I publish the depth_pcl here. Hope for your help.
Hi @jsntyanchi - Someone from our team will review and provide answer to your question.
Thank you for your help!
Hi @jsntyanchi , if you look at the exts/omni.isaac.ros2_bridge/python/nodes/OgnROS2CameraHelper.py
file you will be able to find the depth_pcl
sensor type details:
rv = omni.syntheticdata.SyntheticData.convert_sensor_type_to_rendervar(
sd.SensorType.DistanceToImagePlane.name
)
The simulation gate is for controlling the rate of publishing and is optional. Hope that helps!