PCL
文章平均质量分 60
KAI-yq
这个作者很懒,什么都没留下…
展开
-
在ROS中创建点云并可视化
文章目录1.创建功能包2.代码3.rviz4.特别注意 1.创建功能包 $ catkin_create_pkg pcl_viewer pcl_conversions pcl_ros roscpp sensor_msgs 修改package.xml <build_depend>libpcl-all-dev</build_depend> <exec_depend>libpcl-all</exec_depend> 修改CMakeLists.txt(系统里多原创 2021-03-23 19:53:35 · 1129 阅读 · 0 评论 -
Ubuntu18.04下安装多版本PCL库(为成功编译loam_livox)
1.下载对应版本的包 https://github.com/PointCloudLibrary/pcl/releases 2.本电脑原pcl库为1.11,安装路径为/usr/local/include/pcl-1.11,其cmake相关文件地址为/usr/local/share/pcl-1.11 现在安装pcl1.8.1,在/user/local下新建文件夹pcl18,这样安装完后include,share,bin,lib就都在pcl18下了 3. 进入第一步下载好的安装包 mkdir build &am原创 2021-03-17 14:26:47 · 1513 阅读 · 0 评论 -
编译错误: pcl_vert.vertices.swap(vert.vertices);
错误: error: no match for ‘operator=’ (operand types are ‘std::vector’ and ‘const _vertices_type {aka const std::vector}’) pcl_vert.vertices = vert.vertices; error: no matching function for call to ‘std::vector::swap(pcl_msgs::Vertices_<std::allocator &g原创 2021-03-04 15:26:29 · 684 阅读 · 1 评论 -
PCL的I/O操作(ROS)
构建功能包 代码: #include <ros/ros.h> #include <pcl_ros/point_cloud.h> #include <pcl/io/pcd_io.h> #include <sstream> #include <string.h> typedef pcl::PointXYZRGB PointT; typedef pcl::PointCloud<PointT> PointCloudT; PointCloud原创 2020-12-15 15:53:39 · 272 阅读 · 0 评论 -
PCL开发环境搭建
PCL基础 一、开发环境搭建 ubuntu18.04 -> ROS-melodic -> Qt Creator Plug-in(安装和使用官网https://ros-qtc-plugin.readthedocs.io/en/latest/_source/How-to-Install-Users.html#qt-installer-procedure) 二、输入输出原创 2020-12-15 10:50:09 · 382 阅读 · 0 评论 -
PCL的I/O操作(OpenNI)
从PCD文件中读取点云数据 代码: #include <iostream> #include <pcl/io/pcd_io.h> #include <pcl/point_types.h> int main(int argc,char** argv) { pcl::PointCloud<pcl::PointXYZ>::Ptr cloud (new pcl::PointCloud<pcl::PointXYZ>); if(pcl::io::loadP原创 2020-12-15 10:42:14 · 457 阅读 · 1 评论