Ask Your Question

I am trying to convert .bagfile to .pcd in ros kinetic

asked 2018-02-21 18:44:37 -0500

prash322 gravatar image

updated 2018-02-22 00:31:45 -0500

130s gravatar image

I am trying to convert .bagfile to .pcd in ros kinetic using

rosrun pcl_ros bag_to_pcd run1_2013-05-28-10-41-40_0.bag /velodyne_packets ./pointclouds

but the pcd file is not showing in the directory folder!! what should be the solution for this problem?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-02-22 00:34:32 -0500

130s gravatar image

updated 2018-02-25 09:27:44 -0500

Command must have printed some kind of output. Generally speaking when asking questions please provide system output as much as possible.

Make sure the bag file contains the right topics with non-zero count. In your case, inspect using rosbag's commandline tools by the following, the PCL topic you want to convert is contained (the following example is using a different message as you haven't provided enough info so that I have no idea what message it should be):

rosbag info run1_2013-05-28-10-41-40_0.bag
topics:      /velodyne_packets   119 msgs @ 100.0 Hz : geometry_msgs/Point
edit flag offensive delete link more


sorry that i didn't added any system output. I have used the command rosbag info run1_2013-05-28-10-41-40_0.bag already and the package which i want to convert to pcd is available. pointcloud folder is creating but couldn't find the pcd file in the folder.

prash322 gravatar image prash322  ( 2018-02-24 21:00:23 -0500 )edit

Please update your original question post to add the command line output. You still haven't provided enough info so that it's difficult to help you in general.

130s gravatar image 130s  ( 2018-02-25 09:28:54 -0500 )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


Asked: 2018-02-21 18:44:37 -0500

Seen: 549 times

Last updated: Feb 25 '18