RP lidar data plotting
Mostrar comentarios más antiguos
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 comentarios
Walter Roberson
el 26 de Sept. de 2020
related: https://www.mathworks.com/matlabcentral/answers/600136-filling-in-between-x-y-z-coodinates?s_tid=srchtitle
Amrtanshu Raj
el 29 de Sept. de 2020
Is the Lidar Moving or fixed ?
Are all the scans or point cloud data taken at the same time-stamp ?
Kavish Ram
el 30 de Sept. de 2020
Editada: Kavish Ram
el 30 de Sept. de 2020
Amrtanshu Raj
el 1 de Oct. de 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
el 3 de Oct. de 2020
Amrtanshu Raj
el 6 de Oct. de 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
el 6 de Oct. de 2020
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Point Cloud Processing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!