What does the contents of PointCloud2 means in ROS?
fields.offset
?fields.datatype
?fields.count
?point_step
?row_step
?
Its documentation is poor
Here is a published PointCloud2 message by Velodyne LiDAR:
header:
seq: 1071
stamp:
secs: 1521699326
nsecs: 676390000
frame_id: "velodyne"
height: 1
width: 66811
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
-
name: "ring"
offset: 20
datatype: 4
count: 1
is_bigendian: False
point_step: 32
row_step: 2137952
data: [235, 171, 54, 190, 53, 107, 250, ...
Why height in Velodyne-HDL64e LiDAR is equal to one? I expected it to be 64.
Finally, for example, what is 171 value in
data
? isY
or is a range (for which one of the beams)?