Skip to content

Fix uniform sampling GitHub #2874

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

knorth55
Copy link
Member

@knorth55 knorth55 commented Apr 29, 2025

@k-okada
Copy link
Member

k-okada commented Apr 30, 2025

/workspace/ros/ws_jsk_recognition/src/jsk_recognition/jsk_pcl_ros/src/uniform_sampling_nodelet.cpp: In member function ?virtual void jsk_pcl_ros::UniformSampling::sampling(const ConstPtr&)?:
/workspace/ros/ws_jsk_recognition/src/jsk_recognition/jsk_pcl_ros/src/uniform_sampling_nodelet.cpp:86:62: error: no matching function for call to ?pcl::UniformSampling<pcl::PointXYZ>::UniformSampling(bool)?
     pcl::UniformSampling<pcl::PointXYZ> uniform_sampling(true);
                                                              ^
In file included from /workspace/ros/ws_jsk_recognition/src/jsk_recognition/jsk_pcl_ros/src/uniform_sampling_nodelet.cpp:41:0:
/usr/include/pcl-1.8/pcl/filters/uniform_sampling.h:75:7: note: candidate: pcl::UniformSampling<PointT>::UniformSampling() [with PointT = pcl::PointXYZ]
       UniformSampling () :
       ^~~~~~~~~~~~~~~

I think kinetic/melodic uses pcl <= 1.6
https://launchpad.net/ubuntu/+source/libpcl1/1.6-2

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