pcl::fromROSMsg slow after Update
Hi, after a recent Ubuntu software update, pcl::fromROSMsg is now really slow when converting from a ros pointcloud to a PCL pointcloud. Using ros::Time::now() before and after the function call, I determined that it's taking on average 0.1 seconds to complete. Hence I am only able to process point clouds at around 5Hz while last night I was able to process them at around 20 to 30Hz.
I am using ROS Indigo on Ubuntu 14.04. The update was entirely updating ros packages and ros-indigo-pcl-ros 1.2.6-0Trusty was updated.
Has anyone recently experienced a slow down since the update? If not, does anyone have any suggestions for fixing this?
Hello, I'm having the same problem and both toROSMsg and fromPCLPointCloud2 functions reduce my program running frequency from 29Hz to 15 Hz, even though my processing is parallelized among 16 cores. This kind of renders ros-pcl library useless as I can't operate in real time. Did u find a solution
I have this same problem, have you figured out a solution?
Thanks, Vincent
I had the same problem. The slowdown seems to be from displaying the pointcloud using the
PCLVisualizer
. Once I comment out the visualization process, the application does not loose speed.