Cannot visualize PointCloud2 topics through rviz or openni_viewer
Hi,
I'm trying to visualize /points2 topic through rviz or openni_viewer. Even though I'm getting average rate: 2.989 min: 0.193s max: 0.759s std dev: 0.08753s window: 34, it will not show up in the visualization.
I used rosrun pclros convertpointcloudtoimage input:=/points2 output:=/test then rosrun imageview imageview image:=/test to test that pointcloud topic works and I can see the image...
What am I doing wrong so that I cannot visualize the pointcloud through rviz or openni_viewer?
Rviz: no errors, just white dot in the middle. Openni_viewer: just blank
Thank you
Asked by rhtmxhq8 on 2011-10-27 05:18:47 UTC
Answers
The first thing I would check would be your
Asked by DimitriProsser on 2011-10-27 07:17:48 UTC
Comments
For rviz I did rosrun tf static_transform_publisher 0 0 0 0 0 -1.57 base camera 100 to set static coordinate, but it shouldn't matter for openni_viewer right? Openni_viewer visualized the pointcloud fine when I used my webcams without the tf.
Asked by rhtmxhq8 on 2011-10-27 07:20:55 UTC
Comments