Questions tagged [pcl]

143 questions
1
vote
2 answers

Linking Error with ROS PCL and Drake: Different VTK versions

I have been facing linking issues when including various ROS packages and Drake as libraries, and have narrowed the issue down to VTK. It seems that ROS(noetic) PCL depends on VTK 7.1.0 whereas Drake depends on VTK 9.1.0 after running…
alvin
  • 137
  • 7
1
vote
1 answer

How to generate "Faces" using the PCL Fast Organized Mesh method?

In order to generate a mesh with the intel RealSense D455, I used the PCL library and more precisely the Fast Organized Mesh method. I manage to generate a mesh in OBJ format but it only contains vertices and no faces. Here is the code I…
Amayes
  • 11
  • 2
1
vote
1 answer

Usage of pcl::CropHull

Hello I am looking for a way to find out points/indices of point cloud which lie within a set of pre-defined polygon points/indices. My Input would be either of the following. Set of indices of the cloud forming a 2D polygon. Eg : 21480, 4491,…
Uday More
  • 11
  • 4
1
vote
1 answer

PCL RANSAC 3D ellipse model fitting

The pcl_sample_consensus library holds SAmple Consensus (SAC) methods like RANSAC and models like planes and cylinders. I want to model 3D ellipse. I want to have model coefficients of 3D ellipse. Do you know any function to do it?
1
vote
0 answers

Python script to convert .pcl to .pdf

I see some programs that are trying to accomplish the .pcl to .pdf conversion and doing it successfully, but i didn't manage to find a simple solution that can run on any machine, independently, often there is much configuration etc. Is there a…
1
vote
1 answer

Why does getSupportedAttributeValues return Paper Types

The following code snippet should return the Media Trays available to a printer. However, with some drivers, specifically Ricoh PCL6 Driver for Universal Print and HP Universal Printing PCL 6, in addition to Printer Trays, these drivers also list…
tresf
  • 7,103
  • 6
  • 40
  • 101
1
vote
1 answer

PCL viewer inside QtCreator widget with VTK and QVTKOpenGLStereoWidget

I need to make a graphical window with a Qt widget that allows to represent inside it a point cloud that I have previously loaded using the PLC library. Here's what I have so far that doesn't work (I based it on tutorials and this answer). I'm…
1
vote
1 answer

How can i find the position of "boundary boxed" object with lidar and camera?

This question is related to my final project. In gazebo simulation environment, I am trying to detect obstacles' colors and calculate the distance between robot and obstacles. I am currently identifying their colors with the help of OpenCV methods…
batudiler
  • 13
  • 4
1
vote
3 answers

How to solve PCL linking errors?

EDIT: Updated code I'm using PCL library to generate a mesh from point clouds. This is the code, based on the Greedy Triangulation tutorial in the PCL docs: #include #include #include #include…
Mayank Yadav
  • 29
  • 2
  • 9
1
vote
0 answers

How to match Point clouds using registration methods, but not considering origin as the center for matching?

I have two big point clouds (200m*200m) which i want to match. For these point clouds origin is (0, 0) and it extends only on the one side(i.e,. minimum and maximum points of the point cloud looks like [0, 0, 0] and [200, 200, 0]). Whenever i try to…
1
vote
0 answers

How do I determine the setDistanceThreshold() in PCL?

I am trying to use RANSAC to fit multiple spheres and planes and segment them out of a point cloud so only the spheres are left. I always just tried random numbers which worked for the spheres but does not work for planes at all. I cant visualize…
Nope
  • 53
  • 7
1
vote
0 answers

How to use PCLVisualizer realtime dynamic visualized more than 200 cubes

It need 2 second to update graph when add 200 cubes. there is my code. Is there an efficient drawing method? for (uint16_t idx = 0; idx < number; idx++) { Eigen::Vector3f center; Eigen::Quaternionf rotation(1, 0, 0, 0); …
BHengtong
  • 11
  • 1
1
vote
0 answers

PCL 1.8 and PCL 1.10 difference

Could someone please describe what is the difference between: PCL 1.8 used by Ubuntu 18.04 PCL 1.10 used by Ubuntu 20.04 When running the same code on PCL 1.8, it works fine or gives expected output. And when I run the same code on PCL 1.10, it…
Peace Mode
  • 11
  • 2
1
vote
1 answer

Publishing normals in ROS

I'm new to the ROS and i have a struggle with the normals. So here is my situation. I subscribe to my camera (realsense camera), I get the point cloud, I convert the point cloud from ROS_to_pcl and finally I use the function make_NormalEstimation()…
1
vote
0 answers

PCL load .ply file --- Failed to find match for field / user define point

I have a .ply file and the header is ply format ascii 1.0 element vertex 131072 property float x property float y property float z property float intensity property uint t property ushort reflectivity property uchar ring property ushort…
Adam
  • 11
  • 4
1
2
3
9 10