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!