Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ResourceNotFound: gazebo_worlds

Hello,

I'm new to youBot and ROS and I run into a problem. When launching the following command for simulating in rviz:

roslaunch youbot_description youbot_arm_publisher.launch,

I get the following error: Traceback (most recent call last): [...] ResourceNotFound: gazebo_worlds

System: ROS Hydro and youbot Remastered Ubuntu 0.4.0 (Ubuntu 12.04)

Regards,

Timo

Full Output:

`roslaunch youbot_description youbot_arm_publisher.launch ... logging to /home/youbot/.ros/log/ad0e6c3e-c026-11e3-9e5b-9439e56c05d9/roslaunch-Aspire-8982.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/hydro/lib/python2.7/dist-packages/roslaunch/__init__.py", line 279, in main p.start() File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/parent.py", line 257, in start self._start_infrastructure() File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/parent.py", line 206, in _start_infrastructure self._load_config() File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/parent.py", line 121, in _load_config self.config = roslaunch.config.load_config_default(self.roslaunch_files, self.port, verbose=self.verbose) File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/config.py", line 428, in load_config_default loader.load(f, config, verbose=verbose) File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 698, in load self._load_launch(launch, ros_config, is_core=core, filename=filename, argv=argv, verbose=verbose) File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 670, in _load_launch self._recurse_load(ros_config, launch.childNodes, self.root_context, None, is_core, verbose) File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 605, in _recurse_load n = self._node_tag(tag, context.child(''), ros_config, default_machine, verbose=verbose) File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 95, in call return f(args, *kwds) File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 351, in _node_tag self.opt_attrs(tag, context, ('machine', 'args', 'output', 'respawn', 'cwd', 'launch-prefix', 'required')) File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 178, in opt_attrs return [self.resolve_args(tag_value(tag,a), context) for a in attrs] File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 159, in resolve_args return substitution_args.resolve_args(args, context=context.resolve_dict, resolve_anon=self.resolve_anon) File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 299, in resolve_args resolved = _resolve_args(resolved, context, resolve_anon, commands) File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 312, in _resolve_args resolved = commandscommand File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 137, in _find return _find_executable(resolve_without_path, a, [args[0], path], context) File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 173, in _find_executable full_path = _get_executable_path(rp.get_path(args[0]), path) File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 190, in get_path raise ResourceNotFound(name, ros_paths=self._ros_paths) ResourceNotFound: gazebo_worlds ROS path [0]=/opt/ros/hydro/share/ros ROS path [1]=/home/youbot/ros_stacks ROS path [2]=/home/youbot/catkin_ws/src ROS path [3]=/opt/ros/hydro/share ROS path [4]=/opt/ros/hydro/stacks `

ResourceNotFound: gazebo_worlds

Hello,

I'm new to youBot and ROS and I run into a problem. When launching the following command for simulating in rviz:

roslaunch youbot_description youbot_arm_publisher.launch,

I get the following error: error:

Traceback (most recent call last):
[...]
ResourceNotFound: gazebo_worlds

gazebo_worlds

System: ROS Hydro and youbot Remastered Ubuntu 0.4.0 (Ubuntu 12.04)

Regards,

Timo

Full Output:

`roslaunch

roslaunch youbot_description youbot_arm_publisher.launch
... logging to /home/youbot/.ros/log/ad0e6c3e-c026-11e3-9e5b-9439e56c05d9/roslaunch-Aspire-8982.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.

<1GB. Traceback (most recent call last): File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/__init__.py", line 279, in main p.start() File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/parent.py", line 257, in start self._start_infrastructure() File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/parent.py", line 206, in _start_infrastructure self._load_config() File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/parent.py", line 121, in _load_config self.config = roslaunch.config.load_config_default(self.roslaunch_files, self.port, verbose=self.verbose) File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/config.py", line 428, in load_config_default loader.load(f, config, verbose=verbose) File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 698, in load self._load_launch(launch, ros_config, is_core=core, filename=filename, argv=argv, verbose=verbose) File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 670, in _load_launch self._recurse_load(ros_config, launch.childNodes, self.root_context, None, is_core, verbose) File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 605, in _recurse_load n = self._node_tag(tag, context.child(''), ros_config, default_machine, verbose=verbose) File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 95, in call return f(args, *kwds) f(*args, **kwds) File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 351, in _node_tag self.opt_attrs(tag, context, ('machine', 'args', 'output', 'respawn', 'cwd', 'launch-prefix', 'required')) File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 178, in opt_attrs return [self.resolve_args(tag_value(tag,a), context) for a in attrs] File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 159, in resolve_args return substitution_args.resolve_args(args, context=context.resolve_dict, resolve_anon=self.resolve_anon) File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 299, in resolve_args resolved = _resolve_args(resolved, context, resolve_anon, commands) File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 312, in _resolve_args resolved = commandscommand commands[command](resolved, a, args, context) File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 137, in _find return _find_executable(resolve_without_path, a, [args[0], path], context) File "/opt/ros/hydro/lib/python2.7/dist-packages/roslaunch/substitution_args.py", line 173, in _find_executable full_path = _get_executable_path(rp.get_path(args[0]), path) File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 190, in get_path raise ResourceNotFound(name, ros_paths=self._ros_paths) ResourceNotFound: gazebo_worlds ROS path [0]=/opt/ros/hydro/share/ros ROS path [1]=/home/youbot/ros_stacks ROS path [2]=/home/youbot/catkin_ws/src ROS path [3]=/opt/ros/hydro/share ROS path [4]=/opt/ros/hydro/stacks `