1. 需求和来源
在ROS Kinetic环境下,在编译moveit!时,出现发生下面的错误提示:
Could not find a package configuration file provided by
“manipulation_msgs” with any of the following names:manipulation_msgsConfig.cmake manipulation_msgs-config.cmake
Add the installation prefix of “manipulation_msgs” to
CMAKE_PREFIX_PATH or set “manipulation_msgs_DIR” to a directory
containing one of the above files. If “manipulation_msgs” provides
a separate development package or SDK, be sure it has been
installed.
2. 解决办法
这是由于缺少了manipulation_msgs
功能包
打开终端下执行如下命令安装manipulation_msgs
功能包:
$ sudo apt-get install ros-kinetic-manipulation-msgs
重新编译则无该错误提示
在 Melodic 版本,先clone到catkin_ws/src
,然后再编译即可
$ git clone https://github.com/ros-interactive-manipulation/manipulation_msgs.git
谢谢