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

gazebo_ros missing(indigo 14.04)

asked 2015-12-24 07:20:49 -0600

edmond320 gravatar image

updated 2015-12-24 07:55:29 -0600

Hi everyone,I'm using indigo on Ubuntu 14.04 LTS. i have installed indigo full desktop version,deleted Gazebo Ver 2 and installed Gazebo Ver 6.1.0 from the gazebosim website. i am now trying to launch a xacro model in gazebo, and the following error occurs:

edmond@edmond:~$ roslaunch myrobot_gazebo gazebo.launch
... logging to /home/edmond/.ros/log/a1af2d0c-aa3e-11e5-9405-c81f662b396f/roslaunch-edmond-4794.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

Traceback (most recent call last):
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/__init__.py", line 307, in main
p.start()
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 268, in start
self._start_infrastructure()
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 217, in _start_infrastructure
self._load_config()
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 132, in _load_config
roslaunch_strs=self.roslaunch_strs, verbose=self.verbose)
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/config.py", line 451, in load_config_default
loader.load(f, config, verbose=verbose)
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 730, in load
self._load_launch(launch, ros_config, is_core=core, filename=filename, argv=argv, verbose=verbose)
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 702, in _load_launch
self._recurse_load(ros_config, launch.childNodes, self.root_context, None, is_core, verbose)
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 666, in _recurse_load
val = self._include_tag(tag, context, ros_config, default_machine, is_core, verbose)
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 95, in call
return f(*args, **kwds)
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 587, in _include_tag
inc_filename = self.resolve_args(tag.attributes['file'].value, context)
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 183, in resolve_args
return substitution_args.resolve_args(args, context=context.resolve_dict, resolve_anon=self.resolve_anon)
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 312, in resolve_args
resolved = _resolve_args(resolved, context, resolve_anon, commands)
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 325, in _resolve_args
resolved = commands[command](resolved, a, args, context)
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 141, in _find
source_path_to_packages=source_path_to_packages)
File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 184, in _find_executable
full_path = _get_executable_path(rp.get_path(args[0]), path)
File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 200, in get_path
raise ResourceNotFound(name, ros_paths=self._ros_paths)

**ResourceNotFound: gazebo_ros**

ROS path [0]=/opt/ros/indigo/share/ros
ROS path [1]=/home/edmond/rosws/src
ROS path [2]=/opt/ros/indigo/share
ROS path [3]=/opt/ros/indigo/stacks

so i tried installing ros-indigo-gazebo-ros, but then

edmond@edmond:~$ sudo apt-get install ros-indigo-gazebo-ros

   **The following packages have unmet dependencies!:**

    ros-indigo-gazebo-ros : Depends: gazebo2 but it is not going to be installed
    Depends: libsdformat1 but it is not going to be installed ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
4

answered 2015-12-24 09:12:04 -0600

ahendrix gravatar image

This page: http://gazebosim.org/tutorials/?tut=r... describes how to use a non-default version of gazebo with ROS.

In particular, once you've added the osrfoundation repo to your apt sources, you can install the gazebo ros packages using their version number:

sudo apt-get install ros-indigo-gazebo6-ros-pkgs
edit flag offensive delete link more

Comments

Thanks to ahendrix, problem solved.

edmond320 gravatar image edmond320  ( 2015-12-29 04:26:53 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-12-24 07:20:49 -0600

Seen: 7,832 times

Last updated: Dec 29 '15