标签:ros cloud pcl 使用 rosrun pointcloud pcd
目录bag to pcd
- usage:
rosrun pcl_ros bag_to_pcd <input_file.bag> <topic> <output_directory>
- example:
rosrun pcl_ros bag_to_pcd data.bag /laser_tilt_cloud ./pointclouds
pcd_to_pointcloud
- usage
rosrun pcl_ros pcd_to_pointcloud <file.pcd> [ <interval> ]
- example1:
Publish the contents of point_cloud_file.pcd
once in the /base_link
frame of reference.
rosrun pcl_ros pcd_to_pointcloud point_cloud_file.pcd
- example2:
Publish the contents of cloud_file.pcd
approximately ten times a second in the /odom
frame of reference.
rosrun pcl_ros pcd_to_pointcloud cloud_file.pcd 0.1 _frame_id:=/odom
pointcloud_to_pcd
- usage
rosrun pcl_ros pointcloud_to_pcd input:=<cloud_topic> <option>
- example1:
Subscribe to the /velodyne/pointcloud2
topic and save each message in the current directory. File names look like 1285627014.833100319.pcd
, the exact names depending on the message time stamps.
rosrun pcl_ros pointcloud_to_pcd input:=/velodyne/pointcloud2
- example2:
Set the prefix
parameter in the current namespace, save messages to files with names like /tmp/pcd/vel_1285627015.132700443.pcd
.
rosrun pcl_ros pointcloud_to_pcd input:=/my_cloud _prefix:=/tmp/pcd/vel_
参考
标签:ros,cloud,pcl,使用,rosrun,pointcloud,pcd 来源: https://www.cnblogs.com/chrislzy/p/14934353.html
本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享; 2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关; 3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关; 4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除; 5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。