24navigation/log/build_2024-03-27_01-17-34/linefit_ground_segmentation.../streams.log

156 lines
31 KiB
Plaintext
Raw Normal View History

[0.017s] Invoking command in '/home/firmament/codes/24navigation/build/linefit_ground_segmentation_ros': CMAKE_PREFIX_PATH=/home/firmament/codes/24navigation/install/linefit_ground_segmentation:/home/firmament/codes/24navigation/install/rm_vision_bringup:/home/firmament/codes/24navigation/install/rm_urdf_ff:/home/firmament/codes/24navigation/install/rm_serial_driver:/home/firmament/codes/24navigation/install/rm_gimbal_description:/home/firmament/codes/24navigation/install/rm_auto_aim:/home/firmament/codes/24navigation/install/pointcloud_to_laserscan:/home/firmament/codes/24navigation/install/plc_bringup:/home/firmament/codes/24navigation/install/pcdmap2pgm:/home/firmament/codes/24navigation/install/omni_regulated_pure_pursuit_controller:/home/firmament/codes/24navigation/install/mindvision_camera:/home/firmament/codes/24navigation/install/icp_registration:/home/firmament/codes/24navigation/install/fast_lio:/home/firmament/codes/24navigation/install/livox_ros_driver2:/home/firmament/codes/24navigation/install/linefit_ground_segmentation_ros:/home/firmament/codes/24navigation/install/imu_complementary_filter:/home/firmament/codes/24navigation/install/icp_localization_ros2:/home/firmament/codes/24navigation/install/hik_camera:/home/firmament/codes/24navigation/install/armor_tracker:/home/firmament/codes/24navigation/install/armor_detector:/home/firmament/codes/24navigation/install/auto_aim_interfaces:/opt/ros/humble LD_LIBRARY_PATH=/home/firmament/codes/24navigation/install/linefit_ground_segmentation/lib:/opt/MVS/lib/64:/opt/MVS/lib/32:/home/firmament/codes/24navigation/install/rm_serial_driver/lib:/home/firmament/codes/24navigation/install/pointcloud_to_laserscan/lib:/home/firmament/codes/24navigation/install/omni_regulated_pure_pursuit_controller/lib:/home/firmament/codes/24navigation/install/mindvision_camera/lib:/home/firmament/codes/24navigation/install/icp_registration/lib:/home/firmament/codes/24navigation/install/fast_lio/lib:/home/firmament/codes/24navigation/install/livox_ros_driver2/lib:/home/firmament/codes/24navigation/install/imu_complementary_filter/lib:/home/firmament/codes/24navigation/install/hik_camera/lib:/home/firmament/codes/24navigation/install/armor_tracker/lib:/home/firmament/codes/24navigation/install/armor_detector/lib:/home/firmament/codes/24navigation/install/auto_aim_interfaces/lib:/usr/lib/x86_64-linux-gnu/gazebo-11/plugins:/opt/ros/humble/opt/rviz_ogre_vendor/lib:/opt/ros/humble/lib/x86_64-linux-gnu:/opt/ros/humble/lib:/opt/MVS/lib/64:/opt/MVS/lib/32:/opt/MVS/lib/64:/opt/MVS/lib/32 /usr/bin/cmake --build /home/firmament/codes/24navigation/build/linefit_ground_segmentation_ros -- -j8 -l8
[0.134s] [ 50%] Built target ground_segmentation_test_node
[0.147s] [ 75%] Building CXX object CMakeFiles/ground_segmentation_node.dir/src/ground_segmentation_node.cc.o
[6.769s] /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc: In member function void SegmentationNode::scanCallback(sensor_msgs::msg::PointCloud2_<std::allocator<void> >::SharedPtr):
[6.769s] /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:117:34: error: conflicting declaration pcl::PointCloud<pcl::PointXYZ> cloud
[6.769s] 117 | pcl::PointCloud<pcl::PointXYZ> cloud;
[6.769s] | ^~~~~
[6.769s] /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:102:39: note: previous declaration as pcl::PointCloud<pcl::PointXYZ>::Ptr cloud
[6.769s] 102 | pcl::PointCloud<pcl::PointXYZ>::Ptr cloud(new pcl::PointCloud<pcl::PointXYZ>);
[6.769s] | ^~~~~
[6.769s] /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:118:18: error: no matching function for call to fromROSMsg(std::__shared_ptr_access<sensor_msgs::msg::PointCloud2_<std::allocator<void> >, __gnu_cxx::_S_atomic, false, false>::element_type&, pcl::PointCloud<pcl::PointXYZ>::Ptr&)
[6.769s] 118 | pcl::fromROSMsg(*flipped_msg, cloud);
[6.769s] | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
[6.773s] In file included from /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:6:
[6.773s] /opt/ros/humble/include/pcl_conversions/pcl_conversions.h:566:8: note: candidate: template<class T> void pcl::fromROSMsg(const PointCloud2&, pcl::PointCloud<PointT>&)
[6.773s] 566 | void fromROSMsg(const sensor_msgs::msg::PointCloud2 &cloud, pcl::PointCloud<T> &pcl_cloud)
[6.773s] | ^~~~~~~~~~
[6.773s] /opt/ros/humble/include/pcl_conversions/pcl_conversions.h:566:8: note:  template argument deduction/substitution failed:
[6.773s] /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:118:18: note:  pcl::PointCloud<pcl::PointXYZ>::Ptr {aka std::shared_ptr<pcl::PointCloud<pcl::PointXYZ> >} is not derived from pcl::PointCloud<PointT>
[6.773s] 118 | pcl::fromROSMsg(*flipped_msg, cloud);
[6.773s] | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
[6.773s] /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:139:31: error: no matching function for call to transformPointCloud(pcl::PointCloud<pcl::PointXYZ>::Ptr&, pcl::PointCloud<pcl::PointXYZ>&, Eigen::Affine3d&)
[6.773s] 139 | pcl::transformPointCloud(cloud, cloud_transformed, tf);
[6.773s] | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6.774s] In file included from /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:4:
[6.774s] /usr/include/pcl-1.12/pcl/common/transforms.h:60:3: note: candidate: template<class PointT, class Scalar> void pcl::transformPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointT>&, const Eigen::Transform<Scalar, 3, 2>&, bool)
[6.774s] 60 | transformPointCloud (const pcl::PointCloud<PointT> &cloud_in,
[6.774s] | ^~~~~~~~~~~~~~~~~~~
[6.774s] /usr/include/pcl-1.12/pcl/common/transforms.h:60:3: note:  template argument deduction/substitution failed:
[6.774s] /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:139:31: note:  pcl::PointCloud<pcl::PointXYZ>::Ptr {aka std::shared_ptr<pcl::PointCloud<pcl::PointXYZ> >} is not derived from const pcl::PointCloud<PointT>
[6.774s] 139 | pcl::transformPointCloud(cloud, cloud_transformed, tf);
[6.774s] | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6.774s] In file included from /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:4:
[6.774s] /usr/include/pcl-1.12/pcl/common/transforms.h:69:3: note: candidate: template<class PointT> void pcl::transformPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointT>&, const Affine3f&, bool)
[6.774s] 69 | transformPointCloud (const pcl::PointCloud<PointT> &cloud_in,
[6.774s] | ^~~~~~~~~~~~~~~~~~~
[6.774s] /usr/include/pcl-1.12/pcl/common/transforms.h:69:3: note:  template argument deduction/substitution failed:
[6.774s] /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:139:31: note:  pcl::PointCloud<pcl::PointXYZ>::Ptr {aka std::shared_ptr<pcl::PointCloud<pcl::PointXYZ> >} is not derived from const pcl::PointCloud<PointT>
[6.774s] 139 | pcl::transformPointCloud(cloud, cloud_transformed, tf);
[6.774s] | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6.774s] In file included from /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:4:
[6.774s] /usr/include/pcl-1.12/pcl/common/transforms.h:87:3: note: candidate: template<class PointT, class Scalar> void pcl::transformPointCloud(const pcl::PointCloud<PointT>&, const Indices&, pcl::PointCloud<PointT>&, const Eigen::Transform<Scalar, 3, 2>&, bool)
[6.774s] 87 | transformPointCloud (const pcl::PointCloud<PointT> &cloud_in,
[6.774s] | ^~~~~~~~~~~~~~~~~~~
[6.774s] /usr/include/pcl-1.12/pcl/common/transforms.h:87:3: note:  template argument deduction/substitution failed:
[6.775s] /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:139:31: note:  pcl::PointCloud<pcl::PointXYZ>::Ptr {aka std::shared_ptr<pcl::PointCloud<pcl::PointXYZ> >} is not derived from const pcl::PointCloud<PointT>
[6.775s] 139 | pcl::transformPointCloud(cloud, cloud_transformed, tf);
[6.775s] | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6.775s] In file included from /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:4:
[6.775s] /usr/include/pcl-1.12/pcl/common/transforms.h:97:3: note: candidate: template<class PointT> void pcl::transformPointCloud(const pcl::PointCloud<PointT>&, const Indices&, pcl::PointCloud<PointT>&, const Affine3f&, bool)
[6.775s] 97 | transformPointCloud (const pcl::PointCloud<PointT> &cloud_in,
[6.775s] | ^~~~~~~~~~~~~~~~~~~
[6.775s] /usr/include/pcl-1.12/pcl/common/transforms.h:97:3: note:  template argument deduction/substitution failed:
[6.775s] /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:139:31: note:  pcl::PointCloud<pcl::PointXYZ>::Ptr {aka std::shared_ptr<pcl::PointCloud<pcl::PointXYZ> >} is not derived from const pcl::PointCloud<PointT>
[6.775s] 139 | pcl::transformPointCloud(cloud, cloud_transformed, tf);
[6.775s] | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6.775s] In file included from /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:4:
[6.775s] /usr/include/pcl-1.12/pcl/common/transforms.h:116:3: note: candidate: template<class PointT, class Scalar> void pcl::transformPointCloud(const pcl::PointCloud<PointT>&, const pcl::PointIndices&, pcl::PointCloud<PointT>&, const Eigen::Transform<Scalar, 3, 2>&, bool)
[6.775s] 116 | transformPointCloud (const pcl::PointCloud<PointT> &cloud_in,
[6.775s] | ^~~~~~~~~~~~~~~~~~~
[6.775s] /usr/include/pcl-1.12/pcl/common/transforms.h:116:3: note:  template argument deduction/substitution failed:
[6.775s] /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:139:31: note:  pcl::PointCloud<pcl::PointXYZ>::Ptr {aka std::shared_ptr<pcl::PointCloud<pcl::PointXYZ> >} is not derived from const pcl::PointCloud<PointT>
[6.775s] 139 | pcl::transformPointCloud(cloud, cloud_transformed, tf);
[6.775s] | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6.775s] In file included from /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:4:
[6.775s] /usr/include/pcl-1.12/pcl/common/transforms.h:126:3: note: candidate: template<class PointT> void pcl::transformPointCloud(const pcl::PointCloud<PointT>&, const pcl::PointIndices&, pcl::PointCloud<PointT>&, const Affine3f&, bool)
[6.775s] 126 | transformPointCloud (const pcl::PointCloud<PointT> &cloud_in,
[6.775s] | ^~~~~~~~~~~~~~~~~~~
[6.775s] /usr/include/pcl-1.12/pcl/common/transforms.h:126:3: note:  template argument deduction/substitution failed:
[6.775s] /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:139:31: note:  pcl::PointCloud<pcl::PointXYZ>::Ptr {aka std::shared_ptr<pcl::PointCloud<pcl::PointXYZ> >} is not derived from const pcl::PointCloud<PointT>
[6.775s] 139 | pcl::transformPointCloud(cloud, cloud_transformed, tf);
[6.776s] | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6.776s] In file included from /usr/include/pcl-1.12/pcl/common/transforms.h:493,
[6.776s] from /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:4:
[6.776s] /usr/include/pcl-1.12/pcl/common/impl/transforms.hpp:221:1: note: candidate: template<class PointT, class Scalar> void pcl::transformPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointT>&, const Eigen::Matrix<Scalar, 4, 4>&, bool)
[6.776s] 221 | transformPointCloud (const pcl::PointCloud<PointT> &cloud_in,
[6.776s] | ^~~~~~~~~~~~~~~~~~~
[6.776s] /usr/include/pcl-1.12/pcl/common/impl/transforms.hpp:221:1: note:  template argument deduction/substitution failed:
[6.776s] /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:139:31: note:  pcl::PointCloud<pcl::PointXYZ>::Ptr {aka std::shared_ptr<pcl::PointCloud<pcl::PointXYZ> >} is not derived from const pcl::PointCloud<PointT>
[6.776s] 139 | pcl::transformPointCloud(cloud, cloud_transformed, tf);
[6.776s] | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6.776s] In file included from /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:4:
[6.776s] /usr/include/pcl-1.12/pcl/common/transforms.h:237:3: note: candidate: template<class PointT> void pcl::transformPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointT>&, const Matrix4f&, bool)
[6.776s] 237 | transformPointCloud (const pcl::PointCloud<PointT> &cloud_in,
[6.776s] | ^~~~~~~~~~~~~~~~~~~
[6.776s] /usr/include/pcl-1.12/pcl/common/transforms.h:237:3: note:  template argument deduction/substitution failed:
[6.776s] /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:139:31: note:  pcl::PointCloud<pcl::PointXYZ>::Ptr {aka std::shared_ptr<pcl::PointCloud<pcl::PointXYZ> >} is not derived from const pcl::PointCloud<PointT>
[6.776s] 139 | pcl::transformPointCloud(cloud, cloud_transformed, tf);
[6.776s] | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6.776s] In file included from /usr/include/pcl-1.12/pcl/common/transforms.h:493,
[6.776s] from /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:4:
[6.776s] /usr/include/pcl-1.12/pcl/common/impl/transforms.hpp:263:1: note: candidate: template<class PointT, class Scalar> void pcl::transformPointCloud(const pcl::PointCloud<PointT>&, const Indices&, pcl::PointCloud<PointT>&, const Eigen::Matrix<Scalar, 4, 4>&, bool)
[6.776s] 263 | transformPointCloud (const pcl::PointCloud<PointT> &cloud_in,
[6.776s] | ^~~~~~~~~~~~~~~~~~~
[6.776s] /usr/include/pcl-1.12/pcl/common/impl/transforms.hpp:263:1: note:  template argument deduction/substitution failed:
[6.776s] /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:139:31: note:  pcl::PointCloud<pcl::PointXYZ>::Ptr {aka std::shared_ptr<pcl::PointCloud<pcl::PointXYZ> >} is not derived from const pcl::PointCloud<PointT>
[6.776s] 139 | pcl::transformPointCloud(cloud, cloud_transformed, tf);
[6.776s] | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6.777s] In file included from /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:4:
[6.777s] /usr/include/pcl-1.12/pcl/common/transforms.h:262:3: note: candidate: template<class PointT> void pcl::transformPointCloud(const pcl::PointCloud<PointT>&, const Indices&, pcl::PointCloud<PointT>&, const Matrix4f&, bool)
[6.777s] 262 | transformPointCloud (const pcl::PointCloud<PointT> &cloud_in,
[6.777s] | ^~~~~~~~~~~~~~~~~~~
[6.777s] /usr/include/pcl-1.12/pcl/common/transforms.h:262:3: note:  template argument deduction/substitution failed:
[6.777s] /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:139:31: note:  pcl::PointCloud<pcl::PointXYZ>::Ptr {aka std::shared_ptr<pcl::PointCloud<pcl::PointXYZ> >} is not derived from const pcl::PointCloud<PointT>
[6.777s] 139 | pcl::transformPointCloud(cloud, cloud_transformed, tf);
[6.777s] | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6.777s] In file included from /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:4:
[6.777s] /usr/include/pcl-1.12/pcl/common/transforms.h:281:3: note: candidate: template<class PointT, class Scalar> void pcl::transformPointCloud(const pcl::PointCloud<PointT>&, const pcl::PointIndices&, pcl::PointCloud<PointT>&, const Eigen::Matrix<Scalar, 4, 4>&, bool)
[6.777s] 281 | transformPointCloud (const pcl::PointCloud<PointT> &cloud_in,
[6.777s] | ^~~~~~~~~~~~~~~~~~~
[6.777s] /usr/include/pcl-1.12/pcl/common/transforms.h:281:3: note:  template argument deduction/substitution failed:
[6.777s] /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:139:31: note:  pcl::PointCloud<pcl::PointXYZ>::Ptr {aka std::shared_ptr<pcl::PointCloud<pcl::PointXYZ> >} is not derived from const pcl::PointCloud<PointT>
[6.777s] 139 | pcl::transformPointCloud(cloud, cloud_transformed, tf);
[6.777s] | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6.777s] In file included from /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:4:
[6.777s] /usr/include/pcl-1.12/pcl/common/transforms.h:291:3: note: candidate: template<class PointT> void pcl::transformPointCloud(const pcl::PointCloud<PointT>&, const pcl::PointIndices&, pcl::PointCloud<PointT>&, const Matrix4f&, bool)
[6.777s] 291 | transformPointCloud (const pcl::PointCloud<PointT> &cloud_in,
[6.777s] | ^~~~~~~~~~~~~~~~~~~
[6.777s] /usr/include/pcl-1.12/pcl/common/transforms.h:291:3: note:  template argument deduction/substitution failed:
[6.777s] /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:139:31: note:  pcl::PointCloud<pcl::PointXYZ>::Ptr {aka std::shared_ptr<pcl::PointCloud<pcl::PointXYZ> >} is not derived from const pcl::PointCloud<PointT>
[6.777s] 139 | pcl::transformPointCloud(cloud, cloud_transformed, tf);
[6.777s] | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6.777s] In file included from /usr/include/pcl-1.12/pcl/common/transforms.h:493,
[6.777s] from /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:4:
[6.778s] /usr/include/pcl-1.12/pcl/common/impl/transforms.hpp:407:1: note: candidate: template<class PointT, class Scalar> void pcl::transformPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointT>&, const Eigen::Matrix<Scalar, 3, 1>&, const Eigen::Quaternion<Scalar>&, bool)
[6.778s] 407 | transformPointCloud (const pcl::PointCloud<PointT> &cloud_in,
[6.778s] | ^~~~~~~~~~~~~~~~~~~
[6.778s] /usr/include/pcl-1.12/pcl/common/impl/transforms.hpp:407:1: note:  template argument deduction/substitution failed:
[6.778s] /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:139:31: note:  pcl::PointCloud<pcl::PointXYZ>::Ptr {aka std::shared_ptr<pcl::PointCloud<pcl::PointXYZ> >} is not derived from const pcl::PointCloud<PointT>
[6.778s] 139 | pcl::transformPointCloud(cloud, cloud_transformed, tf);
[6.778s] | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6.778s] In file included from /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:4:
[6.778s] /usr/include/pcl-1.12/pcl/common/transforms.h:404:3: note: candidate: template<class PointT> void pcl::transformPointCloud(const pcl::PointCloud<PointT>&, pcl::PointCloud<PointT>&, const Vector3f&, const Quaternionf&, bool)
[6.778s] 404 | transformPointCloud (const pcl::PointCloud<PointT> &cloud_in,
[6.778s] | ^~~~~~~~~~~~~~~~~~~
[6.778s] /usr/include/pcl-1.12/pcl/common/transforms.h:404:3: note:  template argument deduction/substitution failed:
[6.778s] /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:139:31: note:  pcl::PointCloud<pcl::PointXYZ>::Ptr {aka std::shared_ptr<pcl::PointCloud<pcl::PointXYZ> >} is not derived from const pcl::PointCloud<PointT>
[6.778s] 139 | pcl::transformPointCloud(cloud, cloud_transformed, tf);
[6.778s] | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[6.778s] /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:151:22: error: operands to ?: have different types pcl::PointCloud<pcl::PointXYZ>::Ptr {aka std::shared_ptr<pcl::PointCloud<pcl::PointXYZ> >} and pcl::PointCloud<pcl::PointXYZ>
[6.778s] 151 | is_original_pc ? cloud : cloud_transformed;
[6.778s] | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
[6.778s] /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:155:32: error: using Ptr = class std::shared_ptr<pcl::PointCloud<pcl::PointXYZ> > {aka class std::shared_ptr<pcl::PointCloud<pcl::PointXYZ> >} has no member named size
[6.778s] 155 | for (size_t i = 0; i < cloud.size(); ++i) {
[6.778s] | ^~~~
[6.778s] /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:157:35: error: no match for operator[] (operand types are pcl::PointCloud<pcl::PointXYZ>::Ptr {aka std::shared_ptr<pcl::PointCloud<pcl::PointXYZ> >} and size_t {aka long unsigned int})
[6.778s] 157 | ground_cloud.push_back(cloud[i]);
[6.778s] | ^
[6.778s] /home/firmament/codes/24navigation/src/linefit_ground_segementation_ros2/linefit_ground_segmentation_ros/src/ground_segmentation_node.cc:159:37: error: no match for operator[] (operand types are pcl::PointCloud<pcl::PointXYZ>::Ptr {aka std::shared_ptr<pcl::PointCloud<pcl::PointXYZ> >} and size_t {aka long unsigned int})
[6.778s] 159 | obstacle_cloud.push_back(cloud[i]);
[6.778s] | ^
[9.860s] gmake[2]: *** [CMakeFiles/ground_segmentation_node.dir/build.make:76: CMakeFiles/ground_segmentation_node.dir/src/ground_segmentation_node.cc.o] Error 1
[9.860s] gmake[1]: *** [CMakeFiles/Makefile2:140: CMakeFiles/ground_segmentation_node.dir/all] Error 2
[9.860s] gmake: *** [Makefile:146: all] Error 2
[9.862s] Invoked command in '/home/firmament/codes/24navigation/build/linefit_ground_segmentation_ros' returned '2': CMAKE_PREFIX_PATH=/home/firmament/codes/24navigation/install/linefit_ground_segmentation:/home/firmament/codes/24navigation/install/rm_vision_bringup:/home/firmament/codes/24navigation/install/rm_urdf_ff:/home/firmament/codes/24navigation/install/rm_serial_driver:/home/firmament/codes/24navigation/install/rm_gimbal_description:/home/firmament/codes/24navigation/install/rm_auto_aim:/home/firmament/codes/24navigation/install/pointcloud_to_laserscan:/home/firmament/codes/24navigation/install/plc_bringup:/home/firmament/codes/24navigation/install/pcdmap2pgm:/home/firmament/codes/24navigation/install/omni_regulated_pure_pursuit_controller:/home/firmament/codes/24navigation/install/mindvision_camera:/home/firmament/codes/24navigation/install/icp_registration:/home/firmament/codes/24navigation/install/fast_lio:/home/firmament/codes/24navigation/install/livox_ros_driver2:/home/firmament/codes/24navigation/install/linefit_ground_segmentation_ros:/home/firmament/codes/24navigation/install/imu_complementary_filter:/home/firmament/codes/24navigation/install/icp_localization_ros2:/home/firmament/codes/24navigation/install/hik_camera:/home/firmament/codes/24navigation/install/armor_tracker:/home/firmament/codes/24navigation/install/armor_detector:/home/firmament/codes/24navigation/install/auto_aim_interfaces:/opt/ros/humble LD_LIBRARY_PATH=/home/firmament/codes/24navigation/install/linefit_ground_segmentation/lib:/opt/MVS/lib/64:/opt/MVS/lib/32:/home/firmament/codes/24navigation/install/rm_serial_driver/lib:/home/firmament/codes/24navigation/install/pointcloud_to_laserscan/lib:/home/firmament/codes/24navigation/install/omni_regulated_pure_pursuit_controller/lib:/home/firmament/codes/24navigation/install/mindvision_camera/lib:/home/firmament/codes/24navigation/install/icp_registration/lib:/home/firmament/codes/24navigation/install/fast_lio/lib:/home/firmament/codes/24navigation/install/livox_ros_driver2/lib:/home/firmament/codes/24navigation/install/imu_complementary_filter/lib:/home/firmament/codes/24navigation/install/hik_camera/lib:/home/firmament/codes/24navigation/install/armor_tracker/lib:/home/firmament/codes/24navigation/install/armor_detector/lib:/home/firmament/codes/24navigation/install/auto_aim_interfaces/lib:/usr/lib/x86_64-linux-gnu/gazebo-11/plugins:/opt/ros/humble/opt/rviz_ogre_vendor/lib:/opt/ros/humble/lib/x86_64-linux-gnu:/opt/ros/humble/lib:/opt/MVS/lib/64:/opt/MVS/lib/32:/opt/MVS/lib/64:/opt/MVS/lib/32 /usr/bin/cmake --build /home/firmament/codes/24navigation/build/linefit_ground_segmentation_ros -- -j8 -l8