ros-perception / perception_pcl

PCL (Point Cloud Library) ROS interface stack
http://wiki.ros.org/perception_pcl
422 stars 332 forks source link

bag_to_pcd fails mysteriously with unindexed bags #50

Open LucidOne opened 10 years ago

LucidOne commented 10 years ago

user@system:~$ rosrun pcl_ros bag_to_pcd input.bag ./velodyne_points ./pcd Error opening file ./input.bag

user@system:~$ rosbag info input.bag ERROR bag unindexed: input.bag. Run rosbag reindex.

paulbovbel commented 10 years ago

Could probably make the error message more specific by either catching BagUnindexedException first, or printing the contents of the error message.