3

3d激光雷达开发(pcd数据读取)

 2 years ago
source link: https://blog.csdn.net/feixiaoxing/article/details/123309738
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

3d激光雷达开发(pcd数据读取)

费晓行 已于 2022-03-06 14:24:02 修改 14
专栏收录该内容
4 篇文章 0 订阅

【 声明:版权所有,欢迎转载,请勿用于商业用途。 联系信箱:feixiaoxing @163.com】

        之前谈到了,如果从lidar获取数据,那么需要保存成pcd的形式。这个在https://feixiaoxing.blog.csdn.net/article/details/123292126里面谈到过。那么如何从pcd加载数据,其实方法也是一样的。相关内容可以参考这个链接​​​​​​​

https://pcl.readthedocs.io/projects/tutorials/en/master/reading_pcd.html#reading-pcd

1、编写pcd_read.cpp文件

newCodeMoreWhite.png

2、编写CMakeLists.txt

3、准备生成sln文件

        不出意外,应该可以正常编译通过

4、运行pcd_read.exe

        在运行前,有两个事情需要注意一下:第一,保证exe需要的dll都已经拷贝到当前目录下面;第二,保证test_pcd.pcd文件已经准备好。如果一切ok,就会得到下面这些输出,


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK