Only one turtle is showing in turtle_tf2_demo.launch [closed]

asked 2018-10-22 00:41:03 -0500

GLV gravatar image

updated 2018-10-22 00:42:34 -0500

Currently I am doing introduction to tf2 ( http://wiki.ros.org/tf2/Tutorials/Int... ). In this tutorial when I try to launch this file "roslaunch turtle_tf2 turtle_tf2_demo.launch" It showing following error:

glv@VaraPrasad:~$ roslaunch turtle_tf2 turtle_tf2_demo.launch... logging to /home/glv/.ros/log/ea9bebd6-d5ba-11e8-9a45-9829a64aa0d2/roslaunch-VaraPrasad-4955.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.

started roslaunch server http://VaraPrasad:35295/

SUMMARY

PARAMETERS * /rosdistro: kinetic * /rosversion: 1.12.14 * /scale_angular: 2.0 * /scale_linear: 2.0 * /turtle1_tf2_broadcaster/turtle: turtle1 * /turtle2_tf2_broadcaster/turtle: turtle2

NODES / sim (turtlesim/turtlesim_node) teleop (turtlesim/turtle_teleop_key) turtle1_tf2_broadcaster (turtle_tf2/turtle_tf2_broadcaster.py) turtle2_tf2_broadcaster (turtle_tf2/turtle_tf2_broadcaster.py) turtle_pointer (turtle_tf2/turtle_tf2_listener.py)

auto-starting new master process[master]: started with pid [4965] ROS_MASTER_URI=http://localhost:11311

setting /run_id to ea9bebd6-d5ba-11e8-9a45-9829a64aa0d2 process[rosout-1]: started with pid [4979] started core service [/rosout] process[sim-2]: started with pid [4986] process[teleop-3]: started with pid [4997] process[turtle1_tf2_broadcaster-4]: started with pid [4998]

Reading from keyboard

Use arrow keys to move the turtle. process[turtle2_tf2_broadcaster-5]: started with pid [5011] process[turtle_pointer-6]: started with pid [5015] Traceback (most recent call last): File "/opt/ros/kinetic/lib/turtle_tf2/turtle_tf2_broadcaster.py", line 38, in <module> import tf File "/opt/ros/kinetic/lib/python2.7/dist-packages/tf/__init__.py", line 28, in <module> from tf2_ros import TransformException as Exception, ConnectivityException, LookupException, ExtrapolationException File "/opt/ros/kinetic/lib/python2.7/dist-packages/tf2_ros/__init__.py", line 39, in <module> from .buffer_interface import * File "/opt/ros/kinetic/lib/python2.7/dist-packages/tf2_ros/buffer_interface.py", line 32, in <module> import roslib; roslib.load_manifest('tf2_ros') File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslib/launcher.py", line 62, in load_manifest sys.path = _generate_python_path(package_name, _rospack) + sys.path File "/opt/ros/kinetic/lib/python2.7/dist-packages/roslib/launcher.py", line 93, in _generate_python_path m = rospack.get_manifest(pkg) File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 167, in get_manifest return self._load_manifest(name) File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 211, in _load_manifest retval = self._manifests[name] = parse_manifest_file(self.get_path(name), self._manifest_name, rospack=self) File "/usr/lib/python2.7/dist-packages/rospkg/manifest.py", line 412, in parse_manifest_file _static_rosdep_view = init_rospack_interface() File "/usr/lib/python2.7/dist-packages/rosdep2/rospack.py", line 59, in init_rospack_interface lookup = _get_default_RosdepLookup(Options()) File "/usr/lib/python2.7/dist-packages/rosdep2/main.py", line 130, in _get_default_RosdepLookup verbose=options.verbose) File "/usr/lib/python2.7/dist-packages/rosdep2/sources_list.py", line 633, in create_default sources = load_cached_sources_list(sources_cache_dir=sources_cache_dir, verbose=verbose) File "/usr/lib/python2.7/dist-packages/rosdep2/sources_list.py", line 529, in load_cached_sources_list with open(cache_index, 'r') as f: IOError: [Errno 13] Permission denied: '/home/glv/.ros/rosdep/sources.cache/index' Traceback (most recent call last): File "/opt/ros/kinetic/lib/turtle_tf2/turtle_tf2_listener.py", line 37, in <module> import tf2_ros File "/opt/ros/kinetic/lib/python2.7/dist-packages/tf2_ros/__init__.py", line 39, in <module> from .buffer_interface import * File "/opt/ros/kinetic/lib/python2.7/dist-packages/tf2_ros/buffer_interface.py", line 32, in <module> import roslib; roslib.load_manifest('tf2_ros ... (more)

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by GLV
close date 2018-10-22 04:15:08.025465