Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

catkin error 'gazebo-ros-controll not found' on indigo plus gazebo7 #22

Open
Shawnnn opened this issue May 28, 2017 · 1 comment
Open

Comments

@Shawnnn
Copy link

Shawnnn commented May 28, 2017

I want to use indigo + gazebo7

I install gazebo7 and then install gazebo7-ros-pkgs via debian as this instruction

I download code from github (tutorial code from book, mastering ros for robotics programming), and then catkin, it throws build error as follows:

CMake Warning at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76 (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):
  seven_dof_arm_gazebo/CMakeLists.txt:7 (find_package)


    -- Could not find the required component 'gazebo_ros_control'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found.
    CMake Error at /opt/ros/indigo/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):
  seven_dof_arm_gazebo/CMakeLists.txt:7 (find_package)

It seems like I have not installed gazebo-ros-control package, though I think it is supposed to have been installed already by
previous install procedure:

sudo apt-get install ros-indigo-gazebo7-ros-pkgs

I check the packages by:

rospack list | grep gazebo_

whose result is :

    gazebo_msgs /opt/ros/indigo/share/gazebo_msgs
    gazebo_plugins /opt/ros/indigo/share/gazebo_plugins
    gazebo_ros /opt/ros/indigo/share/gazebo_ros
    gazebo_tutorials /home/shawn/catkin_ws/src/gazebo_ros_demos/custom_plugin_tutorial

It turns out gazebo-ros-control package haven't been installed! Why?

According to instruction of gazebo official, it is said that except for ros-indigo-gazebo7-ros-pkgs, all other packages related to gazebo MUST be built from source.

Does it mean I have to build gazebo-ros-control from source?

Is it version-specific? Where can I find the right version on github?

Is this the right link?, if so, how can I git clone this package on this page?

@chezhiane
Copy link

Where you able to solve this. In the same boat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants