文章目录
在搭建用gazebo防真APM环境是需要安装ardupilot_gazebo插件,按照官网指南上的方法:
Plugin installation
The following plugin is a pure Gazebo plugin, so ROS is not needed to use it. You can still use ROS with Gazebo with normal gazebo-ros packages. We have two version of the plugin : khancyr and SwiftGust one’s. The one from khancyr is the original one. It is stable and only has necessary file to work. The one from SwiftGust has more examples and a little bit more documentation. Both use the same plugin, they only differ in the documentation and examples they provide.
We will be using khancyr plugin for the following exaplation. First clone it somewhere in your home directory. (If you need help with git, please see installed git, forked and cloned.)
git clone https://github.com/khancyr/ardupilot_gazebo
cd ardupilot_gazebo
mkdir build
cd build
cmake ..
make -j4 //当我进行到这一步时,报错了
sudo make install