pointcloud_to_laserscan
pointcloud_to_laserscan copied to clipboard
fix high cpu usage (#9)
tf2::doTransform is slow and high cpu usage, so change it to pcl_ros::transformPointCloud.
Any update on this? Is it worth applying this change to a local fork if using this library still? If it is still the case perhaps someone should open an issue on the tf2 repo about that?
Galactic is EOL and Foxy is close to be. Re-targeting to rolling
.
@leocornelius thank for the bump. I'd be onboard with merging this and even submitting an issue upstream if there was some raw evidence to back this high cpu usage observation. Neither this PR nor https://github.com/ros-perception/pointcloud_to_laserscan/issues/9 have shown any.
An MRE would be ideal, but I'm OK even with some basic profiling results.