我是靠谱客的博主 平淡金鱼,这篇文章主要介绍解析sensor_msgs::PointCloud2 ROS点云数据,现在分享给大家,希望可以做个参考。

1.一个仿真的点云数据
复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
header: seq: 2116 stamp: secs: 1586919439 nsecs: 448866652 frame_id: "LidarSensor1" height: 1 width: 3 fields: - name: "x" offset: 0 datatype: 7 count: 1 - name: "y" offset: 4 datatype: 7 count: 1 - name: "z" offset: 8 datatype: 7 count: 1 is_bigendian: False point_step: 12 row_step: 36 data: [143, 194, 117, 53, 10, 215, 163, 53, 222, 238, 165, 64, 143, 194, 117, 53, 10, 215, 163, 53, 222, 238, 165, 64, 143, 194, 117, 53, 10, 215, 163, 53, 222, 238, 165, 64] is_dense: True

PointCloud2的data是序列化后的数据,直接看不到物理意义。

最后

以上就是平淡金鱼最近收集整理的关于解析sensor_msgs::PointCloud2 ROS点云数据的全部内容,更多相关解析sensor_msgs::PointCloud2内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(54)

评论列表共有 0 条评论

立即
投稿
返回
顶部