ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

I cant visualise point cloud when i run example.cpp from ros_pcl tutorial?

asked 2016-06-05 11:10:09 -0500

dinesh gravatar image

updated 2016-06-05 18:45:48 -0500

I just tried the ros_pcl first tutorial. everything goes well till catkin_make. but after launching the camera node and running command :rosrun my_pcl_tutorial example input:=/camera/depth/points, it shows nothing. after running rosrun rviz rviz also it shows nothing. i am using kinect xbox, with ros indigo, ubuntu 14.04.

im getting this message after i run freenect launch:

[ WARN] [1465146330.631433542]: Could not find any compatible depth output mode for 1. Falling back to default depth output mode 1.
[ INFO] [1465146330.648912116]: rgb_frame_id = 'camera_rgb_optical_frame' 
[ INFO] [1465146330.648995078]: depth_frame_id = 'camera_depth_optical_frame' 
[ WARN] [1465146330.663642540]: Camera calibration file /home/dinesh/.ros/camera_info/rgb_A00361A05094131A.yaml not found.
[ WARN] [1465146330.663784508]: Using default parameters for RGB camera calibration.
[ WARN] [1465146330.663881921]: Camera calibration file /home/dinesh/.ros/camera_info/depth_A00361A05094131A.yaml not found.
[ WARN] [1465146330.663961395]: Using default parameters for IR camera calibration.
[ INFO] [1465146333.516454011]: Stopping device RGB and Depth stream flush.

Although this are just warning, and the kinect is working propersly, why do i get nothing when i run the example.cpp. it shows nether error nor any message. even after running rvij nothing. i just got adopter for my kinect and tried to run this. before i've build the package and their was no error at that time. but now. o man.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-06-06 21:20:31 -0500

dinesh gravatar image

updated 2016-06-06 21:38:41 -0500

ok, now i got the output, but it is looking little different though. the mistake i was doing was while adding pointcloud2 in the rviz. Problem solved, now it will not be difficult for me to run other pcl tutorials also, yes, hurray. but the point cloud color is white, it should be colurful.

edit flag offensive delete link more


have you tried changing the pointcloud channel to RGB? Have a look at the documentation for the pointcloud rviz display

ahendrix gravatar image ahendrix  ( 2016-06-06 22:13:18 -0500 )edit

Question Tools

1 follower


Asked: 2016-06-05 11:10:09 -0500

Seen: 137 times

Last updated: Jun 05 '16