How example "Perform SLAM Using 3D lidar point clouds"collects 3D lidar data?ud
3 ビュー (過去 30 日間)
古いコメントを表示
When I was learning this routine, I didn't know how to collect the 3D Lidar data. Is it a 1*240 cell array formed by scanning 240 instances and then extracting their location attributes?
0 件のコメント
採用された回答
Ryan Salvo
2022 年 2 月 16 日
Hi Wenjun,
For the Perform SLAM Using 3-D Lidar Point Clouds example, the lidar data stored in the pClouds MAT-file was collected on a Clearpath Husky robot moving around a parking garage. Each cell in the 1-by-240 cell array corresponds to a different timestep and each cell contains an n-by-3 matrix, where n is the number 3-D points in the captured lidar data, and the columns represent xyz-coordinates associated with each captured point.
Thanks,
Ryan
2 件のコメント
Ryan Salvo
2022 年 2 月 17 日
Hi Wenjun,
In the example, the lidar takes 240 successive scans, however, there is a varying number of points detected in each scan due to the number of obstacles in the immediate environment. That is why the scan for each timestep is logged in a different cell of the cell array. The scans take the same amount of time, however, successive scans are only accepted when the robot has moved a certain distance, specfied by the distanceMovedThreshold parameter.
Thanks,
Ryan
その他の回答 (1 件)
Wenjun Li
2022 年 2 月 18 日
2 件のコメント
Ryan Salvo
2022 年 2 月 18 日
Hi Wenjun,
You do not need 240 successive scans, that is just the number of scans in the MAT-file provided in the example.
The example assumes that the provided lidar data is from a robot that is moving through a static space, so if you can re-create that when recording the BAG-file, then you should be able to use that data with the example.
Thanks,
Ryan
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!