Unable to visualize segmented pointcloud in rviz
Hi,
I used the segmentation code in the http://pointclouds.org/documentation/tutorials/planar_segmentation.php to segment the pointclouds published by the kinect.
I just have the inliers into the resulting cloud and assign NAN to the rest of the points in cloud. I saved the resulting file in a pcd file and tried to view that using pcd_viewer which works fine.
But when i try to visualize the same on the rviz i get the following error
[ WARN] [1324985289.408678181]: MessageFilter [target=/openni_depth_frame ]: Discarding message from [/segment_pcl] due to empty frame_id. This message will only print once.
I searched for the solution and came to know that the header should be set for the node. I didn't get information on how to do that. Can some one help me with this. It would be lot better to visualize things on rviz than storing the pcd files and use pcd_viewer.
Thanks, Karthik