Problem to visualize Pcl [closed]

asked 2012-05-28 22:53:10 -0600

Giu gravatar image

updated 2016-10-24 08:34:02 -0600

ngrennan gravatar image

I have Ros Electric and I use ubuntu 11.10 in a Hp Pavilion. I use Kinect. I would visualize a pcl without Rviz (because Rviz in my pc goes to crash and I don't know why). I have created one node that gets the pcl from this topic /camera/rgb/points and converts it to an Image. this is a part of my code:

pcl::toROSMsg (*cloud, image_); image_.header.frame_id = cloud->header.frame_id; pub.publish (image_);

In my main i write: pub = nh.advertise<sensor_msgs::image> ("topic_image", 1000);

Then I make and run my node and in a new terminal when I write: rosrun image_view image_view image:=/topic_image

I see only window without image, I don't see my pcl. Why??? I hope that someone can help me....thanks

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2014-11-23 03:25:41.302324