ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

how is PCL library working effeciently?

asked 2022-06-06 03:03:38 -0500

sidharth.jeyabal gravatar image

What kind of programming has been done to make the PCL library work so efficiently.I mean there is no lag during the program execution even though a massive amount of point clouds are being processed..Can anyone tell me what functions or methods they use to run these things efficiently...thanks in advance!!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2022-06-10 22:52:11 -0500

fergs gravatar image

The code for PCL is entirely open source, so for specific things, you could look at the implementation directly. Generally speaking, they leverage a few design choices:

  • Use of the Eigen library, which heavily uses SIMD instructions to speed up matrix operations
  • The point clouds are templated on the point type (XYZRGB, XYZ, etc), which avoids some of the runtime evaluation you would get when using a dynamic data structure such as sensor_msgs::PointCloud2
edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2022-06-06 03:03:38 -0500

Seen: 114 times

Last updated: Jun 10 '22