RP lidar data plotting
Show older comments
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 Comments
Walter Roberson
on 26 Sep 2020
related: https://www.mathworks.com/matlabcentral/answers/600136-filling-in-between-x-y-z-coodinates?s_tid=srchtitle
Amrtanshu Raj
on 29 Sep 2020
Is the Lidar Moving or fixed ?
Are all the scans or point cloud data taken at the same time-stamp ?
Kavish Ram
on 30 Sep 2020
Edited: Kavish Ram
on 30 Sep 2020
Amrtanshu Raj
on 1 Oct 2020
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
on 3 Oct 2020
Amrtanshu Raj
on 6 Oct 2020
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
on 6 Oct 2020
Accepted Answer
More Answers (0)
Categories
Find more on Point Cloud Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!