Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix high cpu usage (#9) #74

Open
wants to merge 2 commits into
base: rolling
Choose a base branch
from
Open

fix high cpu usage (#9) #74

wants to merge 2 commits into from

Conversation

knb
Copy link

@knb knb commented Jun 30, 2022

tf2::doTransform is slow and high cpu usage,
so change it to pcl_ros::transformPointCloud.

mergify bot and others added 2 commits June 27, 2022 09:17
* Fix default parameters in README

Some default parameters in the README file are wrong after looking at the source code https://github.com/ros-perception/pointcloud_to_laserscan/blob/rolling/src/pointcloud_to_laserscan_node.cpp#L58

Co-authored-by: Chris Lalancette <[email protected]>
(cherry picked from commit be047d2)

Co-authored-by: Carlos Andrés Álvarez Restrepo <[email protected]>
@paulbovbel paulbovbel requested a review from hidmic January 10, 2023 16:33
@leahcornelius
Copy link

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?

@hidmic hidmic changed the base branch from galactic to rolling March 9, 2023 12:32
@hidmic
Copy link
Collaborator

hidmic commented Mar 9, 2023

Galactic is EOL and Foxy is close to be. Re-targeting to rolling.

@hidmic
Copy link
Collaborator

hidmic commented Mar 9, 2023

@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 #9 have shown any.

An MRE would be ideal, but I'm OK even with some basic profiling results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants