Ask Your Question
0

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

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

dinesh gravatar image

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

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
0

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

dinesh gravatar image

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

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

Comments

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

ahendrix gravatar imageahendrix ( 2016-06-06 22:13:18 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 60 times

Last updated: Jun 05 '16