Hello,
I followed the ROS PCL tutorial. (How to use a PCL tutorial in ROS) I could build the package successfully with rosmake.
I enter
rosrun my_pcl_tutorial example input:=/narrow_stereo_textured/points2
Nothing is happening. I do not get an error message. I tried both of the tutorials. I know that program is running (as I add a rosinfo, I can see the message) but cant I display the view in anywhere. I mean, won't I see something like the video in the referred PCL tutorial page?
Btw I changed the input:=/narrow_stereo_textured/points2
with the topic in rviz.I had no clue what that is before. Thanks :)
Edit: Now I do not have any problem left, everything is working in tutorial. The only question is: in the ros pcl tutorial page, links to pcl tutorial of the same codes are given. Those tutorials have their videos which show the point cloud view, you should have once you run the code. So, when I run the code in Ros, message is sent. Everything is working but I expect to see a point cloud view. All in all, what this code is really supposed to do is applying a filter, not just send messages, right? So my question is, is there a way to view what the code we run is actually doing?
Originally posted by mary on ROS Answers with karma: 43 on 2013-08-06
Post score: 1
Original comments
Comment by joq on 2013-08-06:
rostopic list
will show what topics are actually being advertised, and rostopic hz /narrow_stereo_textured/points2
will tell you if anything is being published on that topic.
Comment by Loufis on 2013-08-07:
So everything with the ros pcl tutorial is working fine? That's good to hear.
I don't understand what your question is, if the problem is that you are seeing a black box in the space where there is supposed to be a video the you probably need to update your flash player or something as they should be working fine. If that doesn't work, try a different browser or if your using ubuntu in a virtual machine then try using a browser outside virtual machine.
Comment by mary on 2013-08-08:
My question is, is not this code supposed to do something more than showing me black terminal? I mean it sends message and stuff. That is all good. It is working. But I mean I expected to see the point cloud view since its aim is running a filter in ros? Wont I see a point cloud, when it runs?
Comment by mary on 2013-08-09:
Thanks alot =)
Comment by Loufis on 2013-08-09:
If you are doing the Point Clouds 2 part of the tutorial where you are applying a voxel grid filter then yes, it does publish data that you can view through rviz, just add a new Point Clouds 2 and set the topic to /output
Comment by catroscoder on 2013-08-20:
I am having the same issue. I'm just trying to follow the tutorial on ros-groovy, rosbuild. I run roscore and then run that line and then nothing. The code seems to run, I don't get an error or a new cursor entry. I went so far as to follow the exact path Loufis stated and still nothing
Comment by App on 2013-09-26:
When I run the tutorial I add a camera and a PointCloud2 in rviz and I see something but I don't know if the images that i see are correct because in one PointCloud2 I see the image but I don't know if it have the VoxelGrid Filter of this tutorial.