sensor_msgs::PointCloud2 not displaying in rviz
hi,
I am new to ROS
. I have read binary files of laser dataset and prepared sensor_msgs::PointCloud2
messages. But when i tried to view them in rviz
, it not showing anything. Here is one of the pointcloud message from rostopic echo
. I would like to know what is the problem.
--thanks
header:
seq: 107
stamp:
secs: 0
nsecs: 0
frame_id: laser_link
height: 1
width: 98322
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: r
offset: 12
datatype: 7
count: 1
is_bigendian: False
point_step: 16
row_step: 1573152
Data : [201, 186, 100, .........<largedata> ..................]
is_dense: True
---