How to add pointcloud to existing tf?

asked 2018-10-31 06:15:28 -0500

SS6141 gravatar image


I have created a new pointcloud after processing it. I convert ROS message to PCL, and then back to ROS message before publishing.

I am unable to view the pointcloud in rviz. I am getting error as For frame []: Frame [] does not exist

However, when I play rosbag, rviz does display the pointcloud with reference to world

How should I link the pointcloud to any of the frames with known values of quaternion and eigen for rotation and translation?

Thanks in advance.

edit retag flag offensive close merge delete



Can you give us at least an outline of the code in which you publish the PointCloud message? I suspect you are not filling the frame_id inside header of the PointCloud message.

dhindhimathai gravatar image dhindhimathai  ( 2018-10-31 07:55:51 -0500 )edit