本文章参考博主光头明明的博客进行实现。但是由于明明版本为 kinetic + Gazebo7,实现时存在很多问题不好解决,因此通过此文章记录解决方法。
参考博主链接:
问题一:
报错: Built target tf_example In file included from /home/r418/catkin_ws/src/ur5-gazebo-grasping/ur5-gazebo-grasping/gazebo_grasp_plugin/src/GazeboGraspFix.cpp:9:0: /home/r418/catkin_ws/src/ur5-gazebo-grasping/ur5-gazebo-grasping/gazebo_grasp_plugin/include/gazebo_grasp_plugin/GazeboGraspFix.h:156:38: error: ‘math’ was not declared in this scope bool checkGrip(const std::vector<math::Vector3>& forces, float minAngleDiff, float lengthRatio)
解决方法:
用melodic版本包替换,链接如下

1301

被折叠的 条评论
为什么被折叠?



