Populating empty LiDAR point cloud

I’m currently having an issue trying to populate a LiDAR point cloud object with
new points at runtime. I couldn’t find any documentation on the ‘point’ object.

The PointCloud is a Point Cloud object within the actor ‘RobotMQTT’.

This is what I currently have, however. nothing is showing on screen.
Any help would be appreciated

EDIT: The points are being made, but they’re not visible for some reason.

Hey @GIS_UE5 ,

I created an example project four you. There are currently bugs with LiDAr or maybe some of the functions are intendend for another use I was not capable of to find out.

E.g.

  1. InsertPoints or InsertPoint do add points but without color. Maybe you have to initialize the PointCloud again after that, but didn’t work
  2. A imported PointCloud always told me about changes and had to remove everything or kept the points but they were then all over the place, without me changing anything. A “feature” I don’t like :smiley:
  3. You can not connect a multiply node to a MakeLidarPointCloudPoint node

So here is the project. 2 blueprints called BP_PointCloudV1 and BP_PointCloudV2. V1 lets you change a PointCloud with new points. V2 lets you create a totally new PointCloud.

LiDAR.zip (831.1 KB)

V1:

V2:

Hi l1z4r, thanks for the reply.

I am using your method but it’s still not working for me.


Any ways I can check if the point count is there?

EDIT: I am getting an error ‘provided bounds are incorrect X=999, Y=999, Z=0’
I’ve changed my code to match your object hierarchy and structure as much as possible.
I am now casting instead to a seperate actor that resembles the one provided in the file you gave me.

Hey @GIS_UE5 ,
sorry for replying so late. Do you have only points in the X Y plane? Because then the point cloud has no depth and that maybe causes the error? Did my example project work for you?

1 Like

Hi,


I used lidar point cloud actor. Created lidar from file, (restored original coordinates - optional) and then set point cloud component from imported point cloud.