Robotics StackExchange | Archived questions

Installing Gazebo 1.9 on ROS Groovy

Hello,

Today I wanted to update my installed gazebo (version 1.8.6) to 1.9. First I uninstalled the local installed version. Then I installed the Pre-compiled binaries on Ubuntu 12.04 following these steps: http://gazebosim.org/wiki/1.9/install

No I want to install the gazeborospkgs too (http://gazebosim.org/wiki/Tutorials/1.9/Installing_gazebo_ros_Packages) but there occurred some issues:

1) When I call after the Installation rosdep update the following output is printed:

reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit https://github.com/ros/rosdistro/raw/master/rosdep/osx-homebrew.yaml
Hit https://github.com/ros/rosdistro/raw/master/rosdep/gentoo.yaml
Hit https://github.com/ros/rosdistro/raw/master/rosdep/base.yaml
Hit https://github.com/ros/rosdistro/raw/master/rosdep/python.yaml
Hit https://github.com/ros/rosdistro/raw/master/rosdep/ruby.yaml
Hit https://github.com/ros/rosdistro/raw/master/releases/fuerte.yaml
Ignore legacy gbpdistro "groovy"
Ignore legacy gbpdistro "hydro"
Query rosdistro index https://raw.github.com/ros/rosdistro/master/index.yaml
Add distro "groovy"
Add distro "hydro"
updated cache in /home/alex/.ros/rosdep/sources.cache

...and rosdep check --from-paths . --ignore-src --rosdistro groovy:

All system dependencies have been satisified
ERROR[effort_controllers]: resource not found [control_msgs]

What does this error mean?!

2) When I call now catkin_make in may workspace, the following errors occurred:

CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (find_package):
  Could not find a configuration file for package control_msgs.

  Set control_msgs_DIR to the directory containing a CMake configuration file
  for control_msgs.  The file will have one of the following names:

    control_msgsConfig.cmake
    control_msgs-config.cmake

Call Stack (most recent call first):
  ros_controllers/effort_controllers/CMakeLists.txt:19 (find_package)

and

-- Configuring incomplete, errors occurred!
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

So what can I do to remake Gazebo working with ROS Groovy?! Do I have to update to ROS Hydro?!

Thanks for your help :)

Asked by Alex on 2013-08-11 12:59:07 UTC

Comments

Answers

It seems like the control-msgs package is not installed... If you are using ubuntu you can install it via apt

sudo apt get install ros-groovy-control-msgs

otherwise take a look here:

http://www.ros.org/wiki/control_msgs

hope this helps...

Asked by evilBiber on 2013-08-12 01:21:19 UTC

Comments

I've not been able to use the gazebo_ros_pkgs package from the debs due to this kind of messages. I finally remove the deb version to install the source one from GitHub. Some additional packages will be also required.

From your src folder in the catkin folder:

git clone https://github.com/ros-simulation/gazebo_ros_pkgs.git
git clone https://github.com/ros-controls/ros_control.git
git clone https://github.com/ros-controls/ros_controllers.git
git clone https://github.com/ros-controls/control_toolbox.git
git clone https://github.com/ros-controls/realtime_tools.git
cd ..
catkin_make

The install procedure is not fully stabilized yet.

Asked by Arn-O on 2013-08-12 11:23:25 UTC

Comments

Hi Alex,

It looks like this is an issue with ros_controllers being both a rosbuild and catkin package at the same time. I replicated your issue today by switching to Groovy and building your setup and have made the fix in this pull request: https://github.com/ros-controls/ros_controllers/pull/37

Update your source checkout of ros_controllers then retry rosdep install and you should have no further issues.


The install procedure is not fully stabilized yet.

gazebo_ros_pkgs is not intended to be installed with Groovy because simulator_gazebo already exists in Groovy and the new meta package is a replacement revamp/major update to the old stack. Still, we understand that some people don't want to upgrade to Hydro yet so we are doing our best to back-port all the changes to Groovy. Please note that gazebo_ros_pkgs hasn't even been officially released - it comes out with Hydro.

Asked by davetcoleman on 2013-08-12 21:47:01 UTC

Comments

Hi Alex, i had the same problem, but the workaround is to install all the missing packages, allthoug rosdep claims that everything is ok. I dont know exaclty how many packages were missing, but you can find them all like the control_msgs package on http://www.ros.org/wiki/control_msgs. Just use git clone to clone them into your workspace, and build them.

If you are still having trouble i can take a look tomorrow when I am back at work and give a more detailed guide.

regards

psei

Asked by psei on 2013-08-20 10:16:01 UTC

Comments