Gazebo_Ros_Pkgs for hydro error with gazebo 1.9.0
I am following the directions at:
http://gazebosim.org/wiki/Tutorials/1.9/Installinggazeboros_Packages
I built the ros hydro package and integrated it with gazebo 1.9.0 however when i run the commands in separate terminal widows:
roscore &
rosrun gazebo_ros gazebo
I recieve the following error at the command line and no gazebo window:
Gazebo multi-robot simulator, version 1.9.0
Copyright (C) 2013 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org
Msg Waiting for master.Warning [parser.cc:353] No <sdf> element in file[/home/dev/ros_catkin_ws/install_isolated/lib/libgazebo_ros_paths_plugin.so]
Error [parser_urdf.cc:2617] Unable to load file[/home/dev/ros_catkin_ws/install_isolated/lib/libgazebo_ros_paths_plugin.so].
Warning [parser.cc:353] No <sdf> element in file[urdf file]
Error [parser.cc:270] parse as old deprecated model file failed.
Error [Server.cc:289] Unable to read sdf file[/home/dev/ros_catkin_ws/install_isolated/lib/libgazebo_ros_paths_plugin.so]
terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::lock_error> >'
what(): boost::lock_error
.............................
Error [ConnectionManager.cc:116] Failed to connect to master in 30 seconds.
/home/dev/code/catkin_workspace/src/gazebo_ros_pkgs/gazebo_ros/scripts/gazebo: 25: kill: invalid signal number or name: SIGINT
Any ideas on how to solve this issue? gazebo will run fine alone if just typing gazebo in the terminal. However as run in the above, it produces an error.
Asked by aqiruse on 2013-08-09 13:46:51 UTC
Comments
Which way did you follow? I had similar issues when installing from the debs (I'm only talking about the gazebo_ros_pkgs package).
Asked by Arn-O on 2013-08-09 16:25:56 UTC
I was tired when I installed this, but I think my mistake was following all the directions. First I installed Gazebo on Ubuntu 13.04. I already had ROS Groovy Installed. I checked to make sure Gazebo worked and it did. I think I may have forgotten to uninstall the groovy packages to switch to hydro. Then I believe I may have installed the debs, and then done a source code build of hydro and and gazebo_ros_pkgs. Then I tried to run the above and received an error. I will try to uninstall & retry.
Asked by aqiruse on 2013-08-09 23:21:52 UTC
I finally have it working. I installed from source, and had the same error as before. It turns out, something was wrong with the package paths. I installed the prerelease of gazebo. Then I deleted the source folders or hydro and gazebo*. I deleted the .gazebo and .ros folders from user directory. Then I installed ros-hydro-* which uninstalled gazebo-prerelease. Then I edited the .bashrc paths removing the unnecessary ones. Finally I reinstalled the ros-hydro-rosbash, rosbuild, etc. It works now.
Asked by aqiruse on 2013-08-11 23:34:59 UTC