报错如下:
CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by
"gazebo_ros_control" with any of the following names:
gazebo_ros_controlConfig.cmake
gazebo_ros_control-config.cmake
Add the installation prefix of "gazebo_ros_control" to CMAKE_PREFIX_PATH or
set "gazebo_ros_control_DIR" to a directory containing one of the above
files. If "gazebo_ros_control" provides a separate development package or
SDK, be sure it has been installed.
Call Stack (most recent call first):
mbot_gazebo/CMakeLists.txt:10 (find_package)
1.安装解决:
sudo apt-get install -y libgazebo7-dev
具体的gazebo安装教程如下链接:
GitHub - ros-simulation/gazebo_ros_pkgs: Wrappers, tools and additional API's for using ROS with Gazebo
Gazebo : Tutorial : Installing gazebo_ros_pkgs (ROS 1)