Problem to visualize Pcl [closed]
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