【问题标题】:Where is centroid.h in PCL for ROS?ROS的PCL中的centroid.h在哪里?
【发布时间】:2015-08-21 03:59:18
【问题描述】:

我正在尝试在 ROS 中使用 PCL 中的 computeMeanAndCovarianceMatrix 函数。我在网上查了一下,发现函数是在 centroid.hpp 文件中定义的,所以我把#include <pcl_ros/centroid.h> 放在我的文件顶部,但我仍然得到一个No such file or directory #include <pcl_ros/centroid.h>。有人可以帮我解决我必须提出的包含语句才能使函数正常工作吗?

【问题讨论】:

    标签: include point-cloud-library ros


    【解决方案1】:

    想通了。您需要添加#include <pcl/common/centroid.h>

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-10-20
      • 1970-01-01
      • 2018-10-06
      • 2020-09-13
      相关资源
      最近更新 更多