Hi,
I’m using DRIVE OS 6.0.10 / DriveWorks 5.20.24 on DRIVE Orin P3710.
I modified sample_pointcloudprocessing to work with my setup:
- 4x Hesai AT128 via custom
lidar.customplugin - custom rig
- point cloud stitching/fusion similar to the original sample
The important part:
- The original, unmodified sample works on my system.
- My modified version renders the fused point cloud correctly.
- Only the range image stays completely black.
What works:
- all LiDARs decode correctly
- fused/stiched point cloud looks plausible
- rendering pipeline is fine (I verified this with a simple gradient test)
What does not work:
dwPCRangeImageCreator_process()returns no error- but
m_stitchedDepthMap3D,m_stitchedDepthImage, and the host copy contain only zeros - all output values are finite, but depth/range is always 0
Debug output example:
- stitched input cloud: valid ranges, plausible XYZ values
- depth map output: all
(0,0,0), range = 0 - range image: all pixels = 0
What I already tried:
- recorded LiDAR data instead of live data
- no CAN / no DBC
- very permissive clipping settings (huge OBB, elevation ±90°)
Result is always the same.
So it seems the issue happens inside the range image creation step, before visualization.
My main questions:
- What conditions can cause
dwPointCloudRangeImageCreatorto output only zeros although the input cloud is valid? - Are there specific assumptions about the input point cloud format/order/layout that may be violated after modifying the sample?
- Does the range image creator expect a specific sensor model or organized cloud structure that may not hold for Hesai/custom fused clouds?
If helpful, I can also share:
- a minimal rig
- recorded LiDAR data
- the relevant modified code section
Any hints on what exactly to verify next would be very appreciated.
Thanks!
