point-cloud-library

PCL (point cloud library) 1.7 on Ubuntu 16.04 LTS build error

我只是一个虾纸丫 提交于 2019-12-01 23:10:53
问题 I updated Ubuntu version from 14.04 lts to 16.04 lts and got problems when building projects that utilizes point cloud library. (It used to work well on Ubuntu 14.04 and I build my projects with qtcreator) The warning messages I have are : warning: libboost_system.so.1.54.0, needed by /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libpcl_common.so, may conflict with libboost_system.so.1.58.0 warning: libboost_thread.so.1.54.0, needed by /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libpcl

PCL (point cloud library) 1.7 on Ubuntu 16.04 LTS build error

微笑、不失礼 提交于 2019-12-01 21:24:50
I updated Ubuntu version from 14.04 lts to 16.04 lts and got problems when building projects that utilizes point cloud library. (It used to work well on Ubuntu 14.04 and I build my projects with qtcreator) The warning messages I have are : warning: libboost_system.so.1.54.0, needed by /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libpcl_common.so, may conflict with libboost_system.so.1.58.0 warning: libboost_thread.so.1.54.0, needed by /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libpcl_common.so, may conflict with libboost_thread.so.1.58.0 warning: libboost_filesystem.so.1.54.0, needed

PCL install links directly to boost installation directory somehow

拟墨画扇 提交于 2019-12-01 18:29:47
I have a very odd problem with the installation of PCL. Basically i have set up PCL, boost, cmake, flann etc.. it all builds and compiles correctly. I copied and built the ICP example and it builds just fine. Here is where it gets weird. When I run the application I get the following error: ldd:FATAL: Could not load library bin.v2/libs/system/build/qcc-4.4.2/ release/threading-multi/libboost_system.so.1.48.0 So libboost_system.so.1.48.0 exists in the /usr/local/lib path and is even linked earlier by the same application, ie. if i run ldd on the application i get the following linked library

Set USB transfer type manually for a device

。_饼干妹妹 提交于 2019-12-01 12:45:54
I try to run the Asus xtion on a ARM Board (Pandaboard) and I already installed and used the samples (e.g NiSimpleRead) provided by openni. To get these samples running on this Platform it needed some tweaks, one of them is to set the UsbInterface manually to isochronous (in the GlobalDefaults.ini). But after that everything runs smoothly Now I want to use PCL (which is based on openni) to grab some frames but PCL doesn't work. I believe that pcl tries to set the USB-Interface on its own (it probably uses XnUSBLinux.cpp to be generic) and tries to bypass the GlobalDefaults.ini, respectively

Set USB transfer type manually for a device

雨燕双飞 提交于 2019-12-01 11:47:35
问题 I try to run the Asus xtion on a ARM Board (Pandaboard) and I already installed and used the samples (e.g NiSimpleRead) provided by openni. To get these samples running on this Platform it needed some tweaks, one of them is to set the UsbInterface manually to isochronous (in the GlobalDefaults.ini). But after that everything runs smoothly Now I want to use PCL (which is based on openni) to grab some frames but PCL doesn't work. I believe that pcl tries to set the USB-Interface on its own (it

Compile errors with Assembler messages

泪湿孤枕 提交于 2019-12-01 10:55:13
I'm working with Point Cloud Library. It's mostly in C++ When I compile it, gives such error: [ 0%] Building CXX object common/CMakeFiles/pcl_common.dir/src/intersections.cpp.o In file included from /home/lv/pcl-trunk/common/include/pcl/point_types.h:301:0, from /home/lv/pcl-trunk/common/include/pcl/common/impl/common.hpp:41, from /home/lv/pcl-trunk/common/include/pcl/common/common.h:186, from /home/lv/pcl-trunk/common/include/pcl/common/intersections.h:41, from /home/lv/pcl-trunk/common/src/intersections.cpp:38: /home/lv/pcl-trunk/common/include/pcl/impl/point_types.hpp:1009:68: warning:

Compile errors with Assembler messages

放肆的年华 提交于 2019-12-01 09:24:03
问题 I'm working with Point Cloud Library. It's mostly in C++ When I compile it, gives such error: [ 0%] Building CXX object common/CMakeFiles/pcl_common.dir/src/intersections.cpp.o In file included from /home/lv/pcl-trunk/common/include/pcl/point_types.h:301:0, from /home/lv/pcl-trunk/common/include/pcl/common/impl/common.hpp:41, from /home/lv/pcl-trunk/common/include/pcl/common/common.h:186, from /home/lv/pcl-trunk/common/include/pcl/common/intersections.h:41, from /home/lv/pcl-trunk/common/src

Creating a PCL point cloud using a container of Eigen Vector3d

試著忘記壹切 提交于 2019-11-30 17:08:59
问题 I am trying to generate a PCL point cloud. All my points are in the following container type: std::vector<Eigen::Vector3d,Eigen::aligned_allocator<Eigen::Vector3d> > I would like to create a pointer to a PCL point cloud: pcl::PointCloud<pcl::PointXYZ>::Ptr pc What would be the most efficient way to create this point cloud? 回答1: Since PCL seems to use a float[4] to store the points, when you specify pcl:PointXYZ, you will have to copy each element individually (not tested): pc.points.resize( v

PCL create a pcd cloud

瘦欲@ 提交于 2019-11-30 16:57:17
This is what I have so far and I want to save pcd file from it I know I have to do something like this but not exactly sure pcl::PointCloud::PointPointXYZRGBA> cloud; pcl::io:;savePCDFileASCII("test.pcd",cloud); what do i have to add in my current code that i will have test.pcd Thanks #include <pcl/point_cloud.h> #include <pcl/point_types.h> #include <pcl/io/openni_grabber.h> #include <pcl/visualization/cloud_viewer.h> #include <pcl/common/time.h> class SimpleOpenNIProcessor { public: SimpleOpenNIProcessor () : viewer ("PCL OpenNI Viewer") {} void cloud_cb_ (const pcl::PointCloud<pcl:

How to project point cloud onto the ground plane and transfer it into an 2D image (OpenCV Mat) in Point Cloud Library?

情到浓时终转凉″ 提交于 2019-11-30 16:44:52
I want to segment stones on the ground and count the area of the stones like this : I have written OpenCV for 2 years and find it's really hard to segment the stones only using OpenCV RGB picture, so I use kinect fusion to scan the ground and get a point cloud, in which the stones is higher than the ground. I use the Point Cloud Library to segment the ground plane (in green color) like this: Now I am trying to project the rest points onto the ground plane and get a 2D image in OpenCV Mat format(the height of the original point become the value of the projected point in the ground 2D image),