point-cloud-library

Real time point cloud processing and latency

北战南征 提交于 2021-02-20 03:53:10
问题 Our project is to integrate Lidar system into virtual reality (unity). I could achieve that integration with ROS-bridge. Next step is to process the point cloud data before we send it to unity system. Lidar sensor velodyne VLP-16 Ubuntu 18.4 IDE: Pycharm (python) Point cloud processing: python point cloud library with ROS ros-bridge with unity system Problem Without processing, there is only 1 second latency from sensor to unity visualization. But processing point-cloud data in ROS(pycharm)

C++ using two incompatible libraries together, what are the options?

此生再无相见时 提交于 2021-02-19 05:47:09
问题 I wrote a program using the point cloud library (PCL). Now I want to use some of cgal's algorithms. I've managed to build a cgal class in isolation (all dependencies working etc.) but when I try and combine the two projects I get unresolved external symbol errors So, what are my options for building a cgal project and accessing it (somehow) from my PCL project? I'd be passing a simple vector to the cgal project so in theory none of the specialist libraries have to interact with each other at

Calling a C++ function from C# program

三世轮回 提交于 2021-02-11 15:04:24
问题 I run into an issue calling a c++ function from a c# program. It works fine until I add the line " pcl::io::savePCDFileASCII("test_pcd.pcd", cloud); ". Then I get the error: Exception thrown: 'System.DllNotFoundException' in MIxed_Mode_Calling_App.exe An unhandled exception of type 'System.DllNotFoundException' occurred in MIxed_Mode_Calling_App.exe Unable to load DLL 'C:\Users\d\Box\Daniel\RE\Surface Project\PCL_Project\MixedMode\build\Debug\MixedMode.dll': The specified module could not be

Reading .las version 1.3 using C++, and displaying the results using pcl library

雨燕双飞 提交于 2021-02-08 09:37:25
问题 I'm fairly new to the Point Cloud world. In addition, I'm not so experienced in C++. I need to read .las files and process them using the pcl library. This is a sample file from the dataset that I need to read. I followed this youtube video. However, since the file I'm trying to read is of version 1.3, I followed the corresponding spec file to define the header fields and I used 'Data Record Format 3' which is the data record format mentioned in the file header. This are my definitions for

PCD Sample Data

核能气质少年 提交于 2021-02-07 19:56:54
问题 I am looking for sample point cloud scenes to work with but unable to find any free sample PCD data apart from the PCL Documentation with a few files. Any source when I can find free PCD files to work with? I am mainly working on ground and pedestrian recognition. 回答1: Check the Community Data Repositories links on this page http://pointclouds.org/media/ 来源: https://stackoverflow.com/questions/45300181/pcd-sample-data

PCD Sample Data

点点圈 提交于 2021-02-07 19:55:25
问题 I am looking for sample point cloud scenes to work with but unable to find any free sample PCD data apart from the PCL Documentation with a few files. Any source when I can find free PCD files to work with? I am mainly working on ground and pedestrian recognition. 回答1: Check the Community Data Repositories links on this page http://pointclouds.org/media/ 来源: https://stackoverflow.com/questions/45300181/pcd-sample-data

Removing point clouds inside a given box

拜拜、爱过 提交于 2021-01-29 20:00:52
问题 I would like to implement a code where I can remove certain points of the point clouds inside a given box. This is what I have so far: void removePoints(){ pcl::CropBox<pcl::PointXYZI> boxFilter; float x_min = -0.15, y_min = -0.5, z_min = -0.7; float x_max = +1, y_max = +2, z_max = +5; boxFilter.setMin(Eigen::Vector4f(x_min, y_min, z_min, 1.0)); boxFilter.setMax(Eigen::Vector4f(x_max, y_max, z_max, 1.0)); boxFilter.setInputCloud(cloud); boxFilter.filter(*newCloud); viewer-

pcl/pcl_config.h: No such file or directory

折月煮酒 提交于 2021-01-29 10:15:06
问题 My environment is below. ・Operating System and version:windows 10 64bit ・Compiler:C:\msys64\mingw64\bin\g++.exe ・PCL Version:1.9.1 pcl_config.h not found as below error occurred when compiled under above env.. Certainly this header file is not included. Let me know how to solve it. PS C:\pcl\pcl\examples\common> g++ -o minmax -I ../../io/include -I ../../common/include .\example_get_max_min_coordinates.cpp In file included from ../../common/include/pcl/PCLHeader.h:10, from ../../common

PCL Instantiating new Point Types for all Functions

匆匆过客 提交于 2021-01-28 19:36:53
问题 I have declared a new point type as such below. However, I need it to work with all available PCL functions. Such as segmentation, voxel grid etc. It is a pain to include all the implementation headers do the PCL_INSTANTIATE call. Is there anyway to do this for all major functions? For example, compile my point type for all functions in the segmentation library? #define PCL_NO_PRECOMPILE #include <pcl/point_cloud.h> #include <pcl/point_types.h> #include <pcl/impl/instantiate.hpp> #include

Function Pointer Error in C++

∥☆過路亽.° 提交于 2021-01-28 04:17:45
问题 Here is the error I am getting: error: no matching function for call to ‘pcl::ConditionalEuclideanClustering <pcl::Normal>::setConditionFunction(bool (EuclideanPlaneSegmentation::*)(const pcl::Normal&, const pcl::Normal&, float))’ cec.setConditionFunction(&EuclideanPlaneSegmentation::customRegionGrowing; ^ note: candidate is:/segmentation/conditional_euclidean_clustering.h:125:7: note: void pcl::ConditionalEuclideanClustering <PointT>::setConditionFunction(bool (*)(const PointT&, const PointT