ROS:编译moveit!时缺少manipulation_msgs相关文件
在学习胡春旭的《ROS机器人开发实践》过程中,学习moveit!实践部分时,遇到如下问题
注意,不同版本解决问题方式不同,我使用的是ubuntu-18-melodic版本
在编译(catkin_make)过程中,遇到如下报错:
原因是缺少"manipulation_msgs"包
解决办法:
1,进入src目录,使用如下命令,下载包即可
git clone https://github.com/ros-interactive-manipulation/manipulation_msgs
成功后编译依然报错,报错情况如下:
原因是缺少"household_objects_database_msgs"包
使用1方法
git clone https://github.com/ros-interactive-manipulation/household_objects_database
失败,多试几次,成功,但是再编译还是失败,同样的报错,打开文件夹发现这个包已经存在,但是编译不成功,使用2方法,手动下载
解决办法2:
把原来的文件删除,进入官网,点击Code,手动下载
https://github.com/ros-interactive-manipulation/household_objects_database_msgs
最后编译成功(时间有点长)