ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

hector quadrotor catkin_make error

asked 2015-06-03 22:21:53 -0500

Glen gravatar image

Hi

I was trying to build "hector_quadrotor_tutorial" by "catkin_make". Under worksapce directory, I enterned

catkin_make

it shows

CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:75 (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 abovefiles.  If "gazebo_ros_control" provides a separate development package orSDK, be sure it has been installed.
Call Stack (most recent call first):
hector_quadrotor/hector_quadrotor_controller_gazebo/CMakeLists.txt:7 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/xiaohao/hector_quadrotor_tutorial/build/CMakeFiles/CMakeOutput.log".
See also "/home/xiaohao/hector_quadrotor_tutorial/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

I already tried

source /devel/setup.bash

I'm not sure how it goes wrong. Any advice aprreciated!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2015-06-04 02:28:04 -0500

Glen gravatar image

its been solved in two steps, 1. reinstall libsdformat1.Because I removed "libsdformat" when I was trying to install sdformat.

$ sudo apt-get install libsdformat1

2. install unmet packages

$ sudo apt-get install ros-indigo-gazebo-ros-control
edit flag offensive delete link more

Comments

I have a similar problem but your solution didnt work for me. Any other tips ?

naveed gravatar image naveed  ( 2018-06-07 02:58:24 -0500 )edit
1

answered 2015-06-26 08:42:29 -0500

Well, for the hydro disto you need to install the following package:

sudo apt-get install ros-hydro-gazebo-ros-control
edit flag offensive delete link more

Question Tools

Stats

Asked: 2015-06-03 22:21:53 -0500

Seen: 1,749 times

Last updated: Jun 26 '15