Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question Sensor SDK Lidar cannot scan terrain

Discussion in 'Package Manager' started by jeff_kumo, Sep 2, 2022.

  1. jeff_kumo

    jeff_kumo

    Joined:
    Feb 9, 2022
    Posts:
    9
    Hello, I have downloaded the Sensor SDK package and followed the instruction to use the lidar sensor to scan the virtual enviroment.

    I was expecting to SensorSDK tool to generate point cloud of the surrounding which inculdes the 'terrain'. However, both the point cloud and intensityviewer showed only object can be captured by the lidar, excluding
    the terrain enviroment which the lidar was in.

    upload_2022-9-2_17-36-8.png

    upload_2022-9-2_17-36-35.png


    Can someone tell me if there is something wrong with my Lidar setup? Or I should do some processing wiht the terrain that can make the lidar viewable (I have already tried the mesh terrain, but it reported error)?
     
  2. marclt

    marclt

    Unity Technologies

    Joined:
    Oct 28, 2019
    Posts:
    1
    There is nothing wrong with you lidar setup. Terrain isn't supported yet in pathtracing. See limitations in HDRP d ocumentation here. If you use the camera based sensing component for the lidar, you should see the terrain.

    You can check how the CameraBasedLidar prefab is built or follow these steps:
    1. Put a Camera Sensing Component (Monobehavior) on the lidar photosensor(GameObject)
    2. Drag and drop the photosensor(GameObject) on the Photosensor bindings on the SystemGraphComponent of your sensors here :
    3. upload_2022-9-22_13-10-53.png
     
  3. jeff_kumo

    jeff_kumo

    Joined:
    Feb 9, 2022
    Posts:
    9
    Thank you very much for your help. If hte package itself doesn't support it, then I think I knwo a way to overcome this problem.

    Thank you for your help.