How to visualize a message of type sensor_msgs/PointCloud2[] in Rviz?
Hey guys, I hope you all are doing well. I am facing a problem related to visualizing a topic in Rviz. So, I have a custom message of type sensor_msgs/PointCloud2[]
. I have created an instance of this message type and pushing sensor_msgs/PointCloud2
data to it and eventually publishing the final message/array on a topic, let's suppose /topic_name
. My question is:
How to visualize it inside Rviz?
I can see the data by running rostopic echo /topic_name
, but unfortunately can't see the topic name under topic section of PointCloud2
display in Rviz. I would really appreciate your help on this.