RP lidar data plotting
显示 更早的评论
I'm currently working on a project where I want to plot a 3d diagram (sort of like terrain mapping) with the data obtain by Rp lidar.
I am able to get x,y,z axis in .csv format but I am not sure how I can display these values accurately so that it represents a terrain map.
I have tried scatter2, mesh and pcshow but those graphs have not been accurate and just shows me noise.
Any help will be highly apperciated.
Thank you.
K.
7 个评论
Walter Roberson
2020-9-26
related: https://www.mathworks.com/matlabcentral/answers/600136-filling-in-between-x-y-z-coodinates?s_tid=srchtitle
Amrtanshu Raj
2020-9-29
Is the Lidar Moving or fixed ?
Are all the scans or point cloud data taken at the same time-stamp ?
Kavish Ram
2020-9-30
编辑:Kavish Ram
2020-9-30
Amrtanshu Raj
2020-10-1
Hi,
So since pchsow is the ideal way to plot a point cloud. I think there might be some mistake in the implementation part. By moving I meant translation motion (eg Lidar fixed on a moving car). Also can you share the equations you are using to convert the range, angle to x,y,z. Since you are using an external stepper motor, there surely would be some external code on your part ?
If possible can you attach the csv file. So that we may reproduce the issue and look into it.
Kavish Ram
2020-10-3
Amrtanshu Raj
2020-10-6
Can you share the document or link you used to model these equation. As you are multiplying with sin(pi) which is 0 to get the y values. I do not think it is the correct way to do it.
Also can you tell what do the Distance X. Distance Y, Distance Z, Angle X, Angle Y, Angle Z mean in the csv file.
Ideally when a lidar is recording data it should record the range value at a instant and the corresponding Y and Z angles.
Kavish Ram
2020-10-6
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Point Cloud Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!