这里写自定义目录标题
欢迎使用Markdown编辑器
在 Ubuntu 16.04, ROS Kinetics,上使用gazebo 出现以下错误
In file included from /usr/include/gazebo-7/gazebo/common/common.hh:8:0,
from /usr/include/gazebo-7/gazebo/gazebo_core.hh:19,
from /usr/include/gazebo-7/gazebo/gazebo.hh:20,
from /home/hajime/catkin_ws/src/RoboND-Kinematics-Project/gazebo_grasp_plugin/src/GazeboGraspFix.cpp:2:
/usr/include/gazebo-7/gazebo/common/Battery.hh:25:22: fatal error: sdf/sdf.hh: No such file or directory
compilation terminated.
解决方案:
sudo apt-get purge libgazebo7-dev
sudo apt-get install -y libgazebo7-dev
rosdep install --from-paths . --ignore-src --rosdistro kinetic -y
catkin_make