Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 171

Understand PointCloud2 msg (data array)

$
0
0
Hi everyone, I used rostopic echo and received a bunch of PointCloud2 Msg, but I have a hard time understand it especially for the "data" array. Here is one example: header: seq: 0 stamp: secs: 1527193450 nsecs: 13024000 frame_id: "velodyne" height: 1 width: 1 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 - name: "intensity" offset: 16 datatype: 7 count: 1 is_bigendian: False point_step: 32 row_step: 32 data: [218, 49, 151, 64, 105, 199, 245, 64, 50, 184, 192, 63, 0, 0, 128, 63, 1, 0, 64, 64, 252, 127, 0, 0, 182, 0, 0, 0, 0, 0, 0, 0] is_dense: True I have read through the documents for PointCloud2 but did not find helpful information for understand the "data". I want to extract point coordinate as (x,y,z) from it. Looking forward to some help!

Viewing all articles
Browse latest Browse all 171

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>