-
Notifications
You must be signed in to change notification settings - Fork 281
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
high cpu usage #9
Comments
How many points are in the point cloud you are transforming? How often are you transforming it? What CPU are you on? What ROS distro are you on? |
@jonbinney 640*480 points, ubuntu 16.04, kinect v1 (30fps), thinkpad t440p (i7 cpu) |
Tf2 will transform every single point in the cloud. I've found it helpful to run the point cloud through a PCL voxel filter first. Transforming the point cloud is an expensive operation. If you don't need the transform, don't provide a target frame, or better yet, use depthimage_to_laserscan. |
@paulbovbel thanks! I need to transform the point cloud from kinect_link to base_link, i will try pcl library, |
prevent console output flooding with errors
tf2_->transform(*cloud_msg, *cloud, target_frame_, ros::Duration(tolerance_));
high cpu usage -_-
The text was updated successfully, but these errors were encountered: