码迷,mamicode.com
首页 > 其他好文 > 详细

How to extract pcd from a rosbag? 如何从rosbag中提取pcd

时间:2018-09-26 13:04:54      阅读:388      评论:0      收藏:0      [点我收藏+]

标签:directory   line   reads   spec   提取   from   ntc   messages   tcl   

4.1 bag_to_pcd

Reads a bag file, saving all ROS point cloud messages on a specified topic as PCD files.

 4.1.1 Usage

  $ rosrun pcl_ros bag_to_pcd <input_file.bag> <topic> <output_directory>

Where:

  • <input_file.bag> is the bag file name to read.

  • <topic> is the topic in the bag file containing messages to save.

  • <output_directory> is the directory on disk in which to create PCD files from the point cloud messages.

 4.1.2 Example

Read messages from the /laser_tilt_cloud topic in data.bag, saving a PCD file for each message into the ./pointclouds subdirectory.

  $ rosrun pcl_ros bag_to_pcd data.bag /laser_tilt_cloud ./pointclouds

 

参考:http://wiki.ros.org/pcl_ros

How to extract pcd from a rosbag? 如何从rosbag中提取pcd

标签:directory   line   reads   spec   提取   from   ntc   messages   tcl   

原文地址:https://www.cnblogs.com/williamc17/p/9706185.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!