Robotics StackExchange | Archived questions

Problem converting bag files into point cloud files

Hi I have .bag file which prints the following information when I run rosbag info on it

path:        Downloads/LSD_room_pc.bag
version:     2.0
duration:    1:08s (68s)
start:       Sep 04 2014 03:32:54.98 (1409797974.98)
end:         Sep 04 2014 03:34:03.38 (1409798043.38)
size:        308.2 MB
messages:    2957
compression: none [89/89 chunks]
types:       lsd_slam_viewer/keyframeGraphMsg [d23a8a86773b54db7399debf884d0c9e]
             lsd_slam_viewer/keyframeMsg      [42d4108dbb7d0e5d166eb68dd4054826]
topics:      /lsd_slam/graph         193 msgs    : lsd_slam_viewer/keyframeGraphMsg
             /lsd_slam/keyframes      87 msgs    : lsd_slam_viewer/keyframeMsg    
             /lsd_slam/liveframes   2677 msgs    : lsd_slam_viewer/keyframeMsg

When I run

rosrun pcl_ros bag_to_pcd Downloads/LSD_room_pc.bag /lsd_slam_keyframes ./pointclouds

it says

Saving recorded sensor_msgs::PointCloud2 messages on topic /lsd_slam/graph to ./Downloads/LSD_pcds

but still there is no file in the output directory

Whats going wrong here???

Cheers, Shehroze

Asked by shehroze37 on 2014-12-18 03:38:53 UTC

Comments

did you check in ./Downloads/LSD_pcds folder ?

Asked by bvbdort on 2014-12-18 07:56:15 UTC

Yeah there's nothing in the folder

Asked by shehroze37 on 2014-12-20 08:21:19 UTC

Answers