3d激光雷达开发(旋转和位移)
source link: https://blog.csdn.net/feixiaoxing/article/details/123385253
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.
【 声明:版权所有,欢迎转载,请勿用于商业用途。 联系信箱:feixiaoxing @163.com】
对于点云数据来说,旋转和位移的计算是十分必要的。比如数据匹配、识别、定位,如果需要查看获得的旋转矩阵对不对,那么就可以将原来的数据和旋转矩阵做一个乘积,这样就可以立刻看到对应的效果了。
1、准备transform.cpp文件
2、代码说明
代码里面主要说明了两种构建旋转矩阵的方法。不管是哪一种,本质上都是要把yaw、pitch、roll、x、y、z通过计算映射到矩阵里面。
3、准备CMakeLists.txt
4、开始生成sln工程,准备编译,
5、执行transform.exe
执行过程中,注意输入参数,即transform.exe bunny.pcd。
另外,代码中应该是对点云数据x轴偏移2.5米,z轴旋转theta角度,工作台的打印如下,
实际效果如下,
Recommend
-
6
汽车 Argo AI开发400米激光雷达,有望在明年实装到福特无人出租车上 电科技辛雯05-06 17:41 394 自动驾驶技术公司Argo AI发布了其最新开发的激光雷达...
-
7
超高速&高精度!松下激光位移传感器HL-C2系列帮您实现! - IT业界_CIO时代网 - CIO时代—新技术、新商业、新管理超高速&高精度!松下激光位移传感器HL-C2系列帮您实现! 2021-05-10 11:53:28 来源: ...
-
8
3d激光雷达开发(入门)
-
4
3d激光雷达开发(pcl安装和使用)
-
5
3d激光雷达开发(lidar使用)
-
5
3d激光雷达开发(pcd数据读取)
-
7
3d激光雷达开发(基于参数模型的滤波)
-
6
3d激光雷达开发(PassThrough滤波器)
-
11
3d激光雷达开发(点云数据显示)
-
2
3d激光雷达开发(平面分割)
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK