当前位置:   article > 正文

Could not find a package configuration file provided by “tf2_geometry_msgs“

Could not find a package configuration file provided by “tf2_geometry_msgs“

问题分析:

编写tf坐标变换的cpp文件时  编译cmakelist文件出错并提示如下错误

Could not find a package configuration file provided by "tf2_geometry_msgs"

原因:

安装ros时该功能包没有被下载下来

解决办法:

手动安装该功能包

sudo apt install ros-melodic-tf2-geometry-msgs

该方法来自 http://sudo apt install ros-melodic-tf2-geometry-msgs

声明:本文内容由网友自发贡献,转载请注明出处:【wpsshop】
推荐阅读
相关标签
  

闽ICP备14008679号