Very grateful for your contributions to the community. But could you make it clear which pcl version you are using? I got errors when compiling your codes, mainly the no matching function for call to pcl::VoxelGrid and pcl::KdTreeFLANN functions. I guess it might be because the pcl version incompatibility. Note that I am using pcl-1.11
Hi,
Very grateful for your contributions to the community. But could you make it clear which pcl version you are using? I got errors when compiling your codes, mainly the no matching function for call to pcl::VoxelGrid and pcl::KdTreeFLANN functions. I guess it might be because the pcl version incompatibility. Note that I am using pcl-1.11
I attach my error logs as follows, many thanks!
peter@peter-ThinkStation-P330:~/HDD2T/workspace/1_opensource/mloam_ws/src/M-LOAM$ catkin build mloam
Profile: default Extending: [cached] /opt/ros/melodic Workspace: /home/peter/HDD2T/workspace/1_opensource/mloam_ws
Build Space: [exists] /home/peter/HDD2T/workspace/1_opensource/mloam_ws/build Devel Space: [exists] /home/peter/HDD2T/workspace/1_opensource/mloam_ws/devel Install Space: [unused] /home/peter/HDD2T/workspace/1_opensource/mloam_ws/install Log Space: [exists] /home/peter/HDD2T/workspace/1_opensource/mloam_ws/logs Source Space: [exists] /home/peter/HDD2T/workspace/1_opensource/mloam_ws/src DESTDIR: [unused] None
Devel Space Layout: linked Install Space Layout: None
Additional CMake Args: None Additional Make Args: None Additional catkin Make Args: None Internal Make Job Server: True Cache Job Environments: False
Whitelisted Packages: None Blacklisted Packages: None
Workspace configuration appears valid.
[build] Found '8' packages in 0.0 seconds.
[build] Package table is up to date.
Starting >>> mloam_common
Starting >>> mloam_msgs
Starting >>> mloam_pcl
Finished <<< mloam_msgs [ 0.1 seconds ]
Finished <<< mloam_common [ 0.1 seconds ]
Finished <<< mloam_pcl [ 0.1 seconds ]
Starting >>> mloam
Errors << mloam:make /home/peter/HDD2T/workspace/1_opensource/mloam_ws/logs/mloam/build.make.002.log >::type {aka boost::shared_ptr<pcl::PointCloud >}’ to non-scalar type ‘const Ptr {aka const std::shared_ptr<pcl::PointCloud >}’ requested
const PointICloud::Ptr laser_cloud = boost::make_shared(laser_cloud_in);
/home/peter/HDD2T/workspace/1_opensource/mloam_ws/src/M-LOAM/estimator/src/featureExtract/feature_extract.cpp: In member function ‘void FeatureExtract::extractCloud(const PointICloud&, const ScanInfo&, cloudFeature&)’: /home/peter/HDD2T/workspace/1_opensource/mloam_ws/src/M-LOAM/estimator/src/featureExtract/feature_extract.cpp:125:73: error: conversion from ‘boost::detail::sp_if_not_array<pcl::PointCloud