How to extract pcd from a rosbag? 如何从rosbag中提取pcd
Posted williamc17
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了How to extract pcd from a rosbag? 如何从rosbag中提取pcd相关的知识,希望对你有一定的参考价值。
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的主要内容,如果未能解决你的问题,请参考以下文章
How to create a launcher for a manually extracted program in Ubuntu
How to clone a repository from Github
how to read from __consumer_offsets topic
how to download image from any web page in java 下载图片
How to copy a datafile from ASM to a file system not using RMAN