Can you find topic: /filtered_cloud when you run a lidar?

asked 2018-08-05 18:54:35 -0500

Pujie gravatar image

Hi,

In recent days, I GitHub a code which need to subscribe to /filtered_cloud. As is shown below:

ros::Subscriber sub = nh.subscribe ("filtered_cloud", 1, cloud_cb);

But I don't find this topic when I run Turtlebot3 simulation. When I use Turtlebot3 robot before, not the simulation, I noticed that the entity's topics are different from those of simulation.

My question is that, when you use the entity, can you find the topic: /filtered_cloud ? Could you plz help me to check:

rostopic find /filtered_cloud

Thank you very much. So inconvenient at home. :-(

edit retag flag offensive close merge delete

Comments

how do you run the Turtlebot3 simulation? Also which topics related to the laser scan/point cloud do you get? Maybe the topics are there but with some custom prefixes.

pavel92 gravatar image pavel92  ( 2018-08-06 01:26:37 -0500 )edit

@pavel92 @. you are right. I only find /scan. Today I find laser_geometry package transfer /scan to /pointcloud. Thank you for your remind.

Pujie gravatar image Pujie  ( 2018-08-06 09:52:11 -0500 )edit